aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/modeleditor/modeleditor.h
Commit message (Collapse)AuthorAgeFilesLines
* ModelEditor: Remove code duplication in action handlerEike Ziller2018-02-011-1/+4
| | | | | Change-Id: I7d4beff0c0408c0ef8655953434c9d324fb452cc Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ModelEditor: Implement shared clipboard between all open model-editorsJochen Becher2018-01-101-0/+3
| | | | | Change-Id: Id2eb6f78f8aa1a698a49d35db6cfceab14a38e0b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ModelEditor: Improve export of diagramsJochen Becher2018-01-091-1/+1
| | | | | | | | | | | | | Implemented new menu item "Export Selected Elements" exporting only selected elements from diagram to image file. The existing menu item "Export Diagram" exports the whole diagram always. In both cases any selection will be removed from the diagram before export and restored afterwards. Task.number: QTCREATORBUG-16689 Change-Id: If9ad5d38a690fe8dc4b18624d0ddc81618b117d1 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ModelEditor: Replace 0 with nullptr in pluginJochen Becher2017-08-071-1/+1
| | | | | Change-Id: I38b34213790dd165637d0d5096a4640eb43e8e0c Reviewed-by: André Hartmann <aha_1980@gmx.de>
* ModelEditor: Synchronize browser and diagram selectionJochen Becher2016-06-271-2/+6
| | | | | Change-Id: Idfbf2db98123e00bc3cef13869a0535a35e41f42 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ModelEditor: Zoom with Ctrl + mouse wheelJochen Becher2016-06-271-0/+1
| | | | | Change-Id: I2e703345a882f0dbd80a0957d5f28bd203f4f26b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* ModelEditor: Implement zoom of diagrams.Jochen Becher2016-06-241-0/+3
| | | | | | | | | | All elements of a zoomed diagram must be dran anti-aliased. This change removes the extra handling of drawing vertical or horizontal lines without anti-alias. The complete graphics view is drawn anti-aliased instead. Change-Id: I6fc041b6d70da5a7a7bcb8e97d07990517380b90 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Wholesale conversion to #pragma oncehjk2016-03-301-4/+1
| | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Export diagram as image, pdf or svgJochen Becher2016-02-241-0/+2
| | | | | Change-Id: I19be1de5f0c8414b4d76dbbbb68e71183b7ce08e Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-18/+13
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Add action for inplace editingJochen Becher2016-01-061-0/+1
| | | | | | | | Pressing "Return" activates inplace editing, Shift+Return activates properties. Change-Id: I67601a439d27f9d322a3a88f7706d26f75faaab8 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Store last used toolbar in diagramJochen Becher2015-12-081-0/+2
| | | | | | | | Opening a diagram will automatically show the toolbar which was lastly used for that diagram. Change-Id: Ia78225ca0bd3d9fbebfcfd22691bcc702e69e5ea Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Add new button to open parent diagramJochen Becher2015-09-301-0/+1
| | | | | | | | | | | If the currently open diagram has a parent diagram (that is: a diagram in the package one hierarchy step up) it can now be opened by pressing a button in the toolbar. Default short cut is Ctrl+Shift+P. This change completes the navigation features. Change-Id: Ie073676644a6283842b2bbb0d14aca1dfe2706e7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Support editor's navigation historyJochen Becher2015-09-301-1/+7
| | | | | | | | For now only the id of the currently opened diagram is stored in the navigation state. The position of scrollers is not saved. Change-Id: Ic9b2237a0223596d1111c635f04f11e3951fd397 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Show current diagram's name in editor's tool barJochen Becher2015-09-301-3/+9
| | | | | | | | | It's not just a label but a ComboBox which shows the last recently opened diagrams and its full package path to distinguish diagrams with identical names. Change-Id: I32db76dfb0f4b751493ffc0f4952258019140d2b Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* ModelEditor: Remove diagram's specific document and editorJochen Becher2015-09-301-4/+87
| | | | | | | | | Only one document is created per .qmodel file and only one editor is opened (splitting is not yet supported). The editor shows one diagram, another diagram can be shown from the model tree. Change-Id: Icd8211c14cb09203c52769a8ea1c90edb741ae51 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
* Add new ModelEditor plugin.Jochen Becher2015-09-161-0/+62
The plugin is based on the 'modelinglib' library. For features and screenshots see https://wiki.qt.io/ModelEditor Change-Id: I857be0652a852cc69a9729f64e67134fe630af00 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>