161 Commits

Author SHA1 Message Date
dfochi
fa4714b95d 1) Use arrow keys to navigate through the diagram editor. 2) Use PgUp, PgDn, Home and End keys to navigate through open folios. 3)Use Delete Key inside elements panel widget to delete diagrams. 4) Added a scroll area in auto numbering page.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-13 13:10:32 +00:00
blacksun
168467abb0 Improve the way how an element is updated in the new element panel.
Now Qet only use the new embbeded collection (XmlElementCollection).
No need to reload the old element panel for add a new element created by the new element panel
Elements are always imported to the embbeded collection of a project


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-05-05 13:31:04 +00:00
blacksun
10fcaa09d1 Remove Two methods of ElementsLocation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-03-20 15:54:28 +00:00
blacksun
27843d1097 Improve the gesture event with a trackpad (better zoom behavior, and add the scroll with two fingers)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-18 09:51:53 +00:00
blacksun
ce75710f6c Replace DVEventAddImage by DiagramEventAddImage.
Use is unchanged.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4257 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-11-12 17:01:08 +00:00
blacksun
d0d79ecf2d revamp and improve some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4214 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-19 13:27:06 +00:00
blacksun
95a745ece5 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4208 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-16 15:30:25 +00:00
blacksun
1a7e3ac8e1 Fix warning about QSettings: now QSettings use native format for windows osx and other unix. See Qt documentation for more information.
http://doc.qt.io/qt-5/qsettings.html#details


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-09-16 15:11:13 +00:00
blacksun
d1fbcda34b Diagram view : remove old code about drop element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4094 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-10 08:02:40 +00:00
blacksun
ed75c57c1d Use QPropertyUndoCommand instead of ChangeSeveralConductorsPropertiesCommand and ChangeConductorsPropertiesCommand.
Remove class ChangeSeveralConductorsPropertiesCommand and ChangeConductorsPropertiesCommand.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-08-09 12:06:31 +00:00
blacksun
c2b97439a9 Revamp the action white/grey background
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-25 18:23:47 +00:00
scorpio810
33b637e6bf Minor: delete gray check box in borderpropertieswidget.ui
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-21 15:29:09 +00:00
nuri
ab1d558f61 Add a new button in the display tool bar to switch the background color in white or grey on the fly.
The check box for this functionality in the DiagramProporties window was deleted.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-06-21 11:00:08 +00:00
blacksun
e731b48f86 -Replace option : draw grid outside of border by zoom out beyond of folio.
When option is to true, zoom out is infinite and grid is draw outside of border.
-Zoom out with mouse wheel is now more slowly


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-29 12:15:25 +00:00
blacksun
bc36c6adf3 Diagram view :
-Set maximum Visualized scene to diagram scene rect*2.
-At first activation, view call zoom fit to see all of the diagram


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-27 09:45:19 +00:00
blacksun
2f9fd79371 Minor change about how drag view work (diagram editor and element editor)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3849 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-24 22:21:58 +00:00
nuri
a287de4b40 Made a more distinctive use of french words "projet", "schéma" and "folio" in the GUI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3837 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-21 10:43:39 +00:00
blacksun
72c68c0d8d Clean up some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-18 18:07:18 +00:00
blacksun
04687effda Title block can be displayed at right edge of diagram (work in progress)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-16 13:29:27 +00:00
blacksun
bb54483e23 Change the way to add new element in a diagram.
Drag & drop an element in a diagram and click left to add it, click right to finish


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-04 21:13:13 +00:00
scorpio810
81c684ca49 Merge Qt5 branch sources folder to trunk
-Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    sources/aboutqet.cpp
M    sources/bordertitleblock.cpp
M    sources/conductorproperties.h
M    sources/configdialog.cpp
M    sources/configpages.cpp
M    sources/configpages.h
M    sources/createdxf.h
M    sources/diagram.cpp
M    sources/diagram.h
M    sources/diagramcommands.cpp
M    sources/diagramcommands.h
M    sources/diagramprintdialog.cpp
M    sources/diagramprintdialog.h
M    sources/diagramschooser.cpp
M    sources/diagramschooser.h
M    sources/diagramview.cpp
M    sources/diagramview.h
M    sources/dvevent/dveventaddimage.cpp
M    sources/dvevent/dveventaddshape.cpp
M    sources/editor/arceditor.cpp
M    sources/editor/arceditor.h
M    sources/editor/editorcommands.cpp
M    sources/editor/editorcommands.h
M    sources/editor/elementitemeditor.h
M    sources/editor/elementprimitivedecorator.cpp
M    sources/editor/elementscene.cpp
M    sources/editor/elementscene.h
M    sources/editor/elementview.cpp
M    sources/editor/ellipseeditor.cpp
M    sources/editor/ellipseeditor.h
M    sources/editor/esevent/eseventaddtext.cpp
M    sources/editor/esevent/eseventaddtextfield.cpp
M    sources/editor/esevent/eseventinterface.cpp
M    sources/editor/graphicspart/customelementpart.h
M    sources/editor/graphicspart/parttext.cpp
M    sources/editor/graphicspart/parttext.h
M    sources/editor/graphicspart/parttextfield.cpp
M    sources/editor/graphicspart/parttextfield.h
M    sources/editor/lineeditor.cpp
M    sources/editor/lineeditor.h
M    sources/editor/polygoneditor.cpp
M    sources/editor/qetelementeditor.cpp
M    sources/editor/qetelementeditor.h
M    sources/editor/rectangleeditor.cpp
M    sources/editor/rectangleeditor.h
M    sources/editor/styleeditor.cpp
M    sources/editor/styleeditor.h
M    sources/editor/terminaleditor.cpp
M    sources/editor/terminaleditor.h
M    sources/editor/texteditor.cpp
M    sources/editor/texteditor.h
M    sources/editor/textfieldeditor.cpp
M    sources/editor/textfieldeditor.h
M    sources/editor/ui/elementpropertieseditorwidget.cpp
M    sources/elementdefinition.cpp
M    sources/elementdeleter.cpp
M    sources/elementdeleter.h
M    sources/elementdialog.cpp
M    sources/elementscategorieslist.h
M    sources/elementscategorieswidget.cpp
M    sources/elementscategorieswidget.h
M    sources/elementscategory.cpp
M    sources/elementscategorydeleter.cpp
M    sources/elementscategorydeleter.h
M    sources/elementscategoryeditor.cpp
M    sources/elementscategoryeditor.h
M    sources/elementscollection.cpp
M    sources/elementscollectioncache.cpp
M    sources/elementspanel.cpp
M    sources/elementspanel.h
M    sources/elementspanelwidget.cpp
M    sources/elementspanelwidget.h
M    sources/elementtextsmover.h
M    sources/exportdialog.cpp
M    sources/exportdialog.h
M    sources/exportproperties.cpp
M    sources/exportpropertieswidget.cpp
M    sources/exportpropertieswidget.h
M    sources/genericpanel.cpp
M    sources/integrationmoveelementshandler.cpp
M    sources/integrationmoveelementshandler.h
M    sources/interactivemoveelementshandler.cpp
M    sources/nameslistwidget.cpp
M    sources/nameslistwidget.h
M    sources/newelementwizard.cpp
M    sources/newelementwizard.h
M    sources/nomenclature.cpp
M    sources/nomenclature.h
M    sources/projectconfigpages.cpp
M    sources/projectview.cpp
M    sources/projectview.h
M    sources/qet.cpp
M    sources/qetapp.cpp
M    sources/qetapp.h
M    sources/qetdiagrameditor.cpp
M    sources/qetdiagrameditor.h
M    sources/qetgraphicsitem/conductor.cpp
M    sources/qetgraphicsitem/conductortextitem.cpp
M    sources/qetgraphicsitem/customelement.cpp
M    sources/qetgraphicsitem/diagramimageitem.cpp
M    sources/qetgraphicsitem/diagramtextitem.cpp
M    sources/qetgraphicsitem/diagramtextitem.h
M    sources/qetgraphicsitem/element.cpp
M    sources/qetgraphicsitem/ghostelement.cpp
M    sources/qetgraphicsitem/qetshapeitem.cpp
M    sources/qetgraphicsitem/terminal.cpp
M    sources/qetgraphicsitem/terminal.h
M    sources/qeticons.cpp
M    sources/qeticons.h
M    sources/qetmainwindow.cpp
M    sources/qetmessagebox.cpp
M    sources/qetmessagebox.h
M    sources/qetprintpreviewdialog.cpp
M    sources/qetprintpreviewdialog.h
M    sources/qetproject.cpp
M    sources/qetsingleapplication.cpp
M    sources/qettabbar.h
M    sources/qfilenameedit.cpp
M    sources/qtextorientationspinboxwidget.cpp
M    sources/qtextorientationspinboxwidget.h
M    sources/qtextorientationwidget.cpp
M    sources/qtextorientationwidget.h
M    sources/richtext/richtexteditor.cpp
M    sources/richtext/richtexteditor_p.h
M    sources/richtext/ui_addlinkdialog.h
M    sources/titleblock/dimensionwidget.h
M    sources/titleblock/gridlayoutanimation.h
M    sources/titleblock/helpercell.h
M    sources/titleblock/integrationmovetemplateshandler.cpp
M    sources/titleblock/integrationmovetemplateshandler.h
M    sources/titleblock/qettemplateeditor.cpp
M    sources/titleblock/qettemplateeditor.h
M    sources/titleblock/templatecellsset.h
M    sources/titleblock/templatecellwidget.cpp
M    sources/titleblock/templatecellwidget.h
M    sources/titleblock/templatecommands.cpp
M    sources/titleblock/templatedeleter.cpp
M    sources/titleblock/templatedeleter.h
M    sources/titleblock/templatelocationchooser.cpp
M    sources/titleblock/templatelocationchooser.h
M    sources/titleblock/templatelocationsaver.cpp
M    sources/titleblock/templatelocationsaver.h
M    sources/titleblock/templatelogomanager.cpp
M    sources/titleblock/templatelogomanager.h
M    sources/titleblock/templateview.cpp
M    sources/titleblock/templatevisualcell.h
M    sources/titleblockcell.cpp
M    sources/titleblocktemplate.cpp
M    sources/treecoloranimation.h
M    sources/ui/conductorpropertieswidget.cpp
M    sources/ui/diagrampropertiesdialog.cpp
M    sources/ui/diagramselection.cpp
M    sources/ui/dialogautonum.cpp
M    sources/ui/dialogwaiting.cpp
M    sources/ui/elementpropertieswidget.cpp
M    sources/ui/elementselectorwidget.cpp
M    sources/ui/linksingleelementwidget.cpp
M    sources/ui/masterpropertieswidget.cpp
M    sources/ui/potentialtextsdialog.cpp
M    sources/ui/projectpropertiesdialog.cpp
M    sources/ui/selectautonumw.cpp
M    sources/ui/titleblockpropertieswidget.cpp
M    sources/ui/xrefpropertieswidget.cpp
M    sources/undocommand/changeelementinformationcommand.cpp


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-03-02 20:14:56 +00:00
blacksun
6eabfb60d4 Remove double entry for edit element, and remove the entry : selection property
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-20 18:44:44 +00:00
scorpio810
eaff56b669 Update copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2015-02-20 14:56:22 +00:00
blacksun
dfacacfdce Read only is no more managed for each diagram but for the whole project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3565 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-21 13:17:35 +00:00
blacksun
8477d4d928 Diagram view : diagram isn't anymore optional in constructor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-21 12:15:45 +00:00
blacksun
5e935a976e Minor change according to the evolution of Qt class (remove QGraphicsScene from constructor of QGraphicsItem).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-12-14 13:06:21 +00:00
scorpio810
d544fd3d85 Revert r3492
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:32:55 +00:00
runsys
02df8a5073 Download patch
Init branch

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-11-16 20:27:11 +00:00
blacksun
6b40932bb4 Diagram view: reactive drag&drop html text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-30 13:29:58 +00:00
blacksun
1a842dc263 DVEvent: press key escape, abort the curent action
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3369 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-10 18:16:02 +00:00
blacksun
743b6768eb Diagram command add QGraphicsItem and derived :
Remove each comand for each type and replace it by generic class by using template class (addItemComand).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3368 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-10-10 08:58:44 +00:00
blacksun
016f24dcda Diagrameditor / view, revamp the way to edit selection.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-25 09:44:41 +00:00
blacksun
69f239d197 Diagram view: All add action (text/shape/image) is now managed outside of diagram view by subclass of DVEventInterface
DVEventInterface :this abstract class is used by diagram view to manage is event action (mouse event).
For add new action to diagram view, we must to create subclass of DVEventInterface and give it to diagram view,
when diagram view get the new dvevent, they manage it, and delete it when action is finish. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3329 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-24 09:38:16 +00:00
blacksun
818a7601d9 Conductor properties dialog: dialog is now build in is own class.
The conductor himself call the dialog when he have mouse double click.
The dialog isn't managed by the diagram view anymore. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-02 18:41:25 +00:00
scorpio810
209a6277b8 bug fix: gestures set false by default
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-09-01 14:56:11 +00:00
blacksun
120696d822 Diagram view, improve behavior with track pad
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-31 09:45:01 +00:00
scorpio810
2e6af1b2e9 Add switch button to enable trackpad gesture
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3291 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-29 02:33:38 +00:00
scorpio810
e2debaefa3 Refrefresh diagramview
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-24 03:36:38 +00:00
scorpio810
8b352982e9 Refresh diagramview
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-19 16:06:28 +00:00
scorpio810
5f495bff24 Fix Mac os X FTBFS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3287 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-19 11:29:47 +00:00
scorpio810
2f287080d7 DiagramView::wheelEvent limit scale for zoom out
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 23:33:31 +00:00
scorpio810
d4e64d72ff Mac os X add QAbstractScrollArea::wheelEvent(e) only, and gestureEvent, thank Yoann
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-08-18 18:26:38 +00:00
blacksun
6fce7010f8 Conductor autonumerotation: Remove one autonum per diagram and add global autonums for the project.
several diagram can share the same autonumerotation.
This is first step, need to be improved and readd some feature (disabled for first step).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3239 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-31 10:02:33 +00:00
blacksun
01eb4e6455 Diagram properties dialog: the dialog is not built in DiagramView anymore, but a class itself
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3222 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-19 11:42:16 +00:00
blacksun
b0622570e3 conductor properties widget: replace widget made by c++ by widget build by ui file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-17 09:20:21 +00:00
blacksun
83583dd94e title block properties widget: minor improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3210 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-13 13:37:43 +00:00
blacksun
bb378b4efb TitleBlockPropertiesWidget: replace widget made with c++ by widget made with ui file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-12 13:14:47 +00:00
blacksun
e7600cb3d4 BorderPropertiesWridget: replace widget made with C++ by widget build by ui file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3203 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-07-11 16:45:18 +00:00
blacksun
25acb29992 QetShapeItem: user can add polyline shape
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3144 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-17 09:08:41 +00:00
blacksun
f5ca3114d1 QetShapeItem: improve code.
Other improvement related to the refactoring of QetShapeItem


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3134 bfdf4180-ca20-0410-9c96-a3a8aa849046
2014-06-14 16:04:34 +00:00