Commit Graph

5 Commits

Author SHA1 Message Date
hjk
2b76504bd2 DesignMode: Apply 'static pattern'
Also:
 - and replace some occurrences of DesignMode::instance()->id() by
   Core::Constants::MODE_DESIGN for less dependence on the lifetime
   of the DesignMode object (and less indirection)
 - remove storage if DesignMode::instance() values when direct
   use of the static functions suffice
 - remove some unused items from the interface
 - use member-initialization in DesignMode::Private.

Change-Id: Ie66c06da0fc0a3ccc588b8079e51db6b39284152
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-23 09:18:55 +00:00
Alessandro Portale
1ff8b46d0a Utils: Create _TOOLBAR variants of some standard icons
And use these in scxmleditor. qmldesigner will also use them.

Change-Id: Ifd057531873a8cb8da3d6e033fbf606f17638c3e
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-12-12 14:19:29 +00:00
Alessandro Portale
d19f25c14a ScxmlEditor: toolbar variants of undo/redo/cut/copy/paste icons
In fact these icons should not be in the toolbar at all. But integrating
Cut/Copy/Paste into Qt Creator's ActionManager is too much for 4.2.

Change-Id: If9ec2f946dd1c500bb7d537d412a342aec929200
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-10-17 15:50:17 +00:00
Alessandro Portale
ef208bf8a4 ScxmlEditor: Remove duplicated icons
Some of the icons that came with the scxml editor were already present
elsewhere in Qt Creator in a themable/HighDPI-able form.

Remove the own .png files, use the existing icons.

Change-Id: I891305faee45eeb39dac4135d2ff96fc06727731
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-09-27 12:34:10 +00:00
Alessandro Portale
4ea332b062 ScxmlEditor: Initial import
Change-Id: I4701b77ebd4e2520f2616c42206ac17be3a12b60
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-09-16 12:39:49 +00:00