Commit Graph

18 Commits

Author SHA1 Message Date
Ulf Hermann
15fbfaf2e9 Move icons to Utils
This way we can use them from libraries, not only from plugins.

Change-Id: Ic35cfd5f04d638d87606bf272b2c00ded1267c1b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-08-05 10:52:53 +00:00
Alessandro Portale
40c5213fdd Core: Move expand and collapse icons from autotest to core
...and replaced the duplicates of them in the debugger console.

Change-Id: If545800c47f3560e1f91d87bdd117abaf04dbd89
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-07-07 14:06:25 +00:00
Alessandro Portale
4cb94be1b5 Core: New "Replace" icon
HighDPI capable and themable.

Change-Id: I12b598a081f2ed30dd31b138fd605e71b6f28c20
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2016-06-15 13:35:22 +00:00
Alessandro Portale
a6683575c4 Icons: Move "next/prev", "[un]locked" and "zoom" from Core to Utils
They are needed in the timeline view.
The change in qtcreator-project.qdocconf makes sure
that qdoc still finds the referenced icons.

Change-Id: I812fba8e57d06d93efc00c295467c83c08cd1784
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-31 08:51:12 +00:00
Alessandro Portale
addc397073 Core: HighDPI-aware Qt Creator logo
This change makes sure that the usage of Qt Creator logo is HigDPI
aware. We use qrc file name aliases to be able to use the "@2x"
mechanism.

Change-Id: I8dbb77b6cd9a3b6ab4530b84c18e0f83a662d710
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-05-30 14:48:48 +00:00
Alessandro Portale
e42dd1eb70 Move "Clear/Clean" icon from ProjectExplorer to Core
And use it in the menu entry for
"Window->Output Panes->Clear"

Change-Id: Iff8c011fde8a21fd10bf52b35163eb3f63659153
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-27 16:45:41 +00:00
Alessandro Portale
cb08a44e7e Unify "Reset" icons
Change-Id: Ice6029b01f202ab6ed6ffc2fbc54a103c43c9d5d
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-04-27 08:36:40 +00:00
Alessandro Portale
5e32183c9b Theme: Separate run/stop/interrupt icons in menus
And for that, we also need separate theme color roles.

Change-Id: I27bf4499acb516f7f824f5e57632797653b150ec
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-04-21 15:57:56 +00:00
Alessandro Portale
fafc12be47 Core: Fresh filesave icon
Change-Id: Ide9d92fb6cb7b6e6af457eb8680960e2ddc5ef77
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-14 13:27:37 +00:00
Alessandro Portale
a84fe0b762 Icons: Removing several duplicates and variations of the eye_open icon
Change-Id: I598005ac81bd847d3d5e88c3d78a0e945c8026c5
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-04-12 13:57:08 +00:00
Alessandro Portale
9bc60e0b9d Bounding Rect Icon: Move from qmldesigner to core
..and re-use it in the imageviewer plugin

Change-Id: I230bdf6917203c9f4e5ed08a0fdd13dfca8b9749
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-11 07:53:16 +00:00
Alessandro Portale
9373f76b2a Icons: Move Run/Stop/Interrupt from projectexplorer to core
Change-Id: Iba65c2ede538049c9b203fd4c2f99ef552019862
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-10 20:08:43 +00:00
Alessandro Portale
63cbcbc729 Locator: Remove old "Locator" menu icon. Re-use the "search" icon.
This patch removes the locator.png icon and replaces it with a
menu-friendly variation of the zoom icon.

The current ZOOM icon becomes ZOOM_TOOLBAR.

Change-Id: I8817c5c420801351db659caa4c4190a9074be720
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-04-08 15:59:10 +00:00
Alessandro Portale
14af79932a Core: Dedicated lock/unlock icons for toolbar and documents view
This change enables us to have a variation of the lock icon for toolbars
and for non-toolbars. This gives removes the need for an outlined locked
icon which would work on dark and light backgrounds.

Change-Id: I5b825b11e892928515112f6f49b1b0639862bc42
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-01 23:47:34 +00:00
Alessandro Portale
051ac9dd0e Core: New and themable locked/unlocked icon
This change replaces the existing locked/unlocked icons with Diana's
icons and makes them themable. Now, they fit much better into the UI.
Especially in the dark theme.

Change-Id: I51beb3be202af8f2f467e81701cd5f27a6837d1c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-01 18:27:42 +00:00
Alessandro Portale
ea1f5d2b6c Icons: Move debug run/interrupt/continue/exit from core to elsewhere
Core contains the small variants of debug run/interrupt/continue/exit
while the bigger icon variants are in projectexplorer or debugger. That
does not seem to have aany reason, at least in today's state of Qt
Creator architecture.

But above all, it stands in the way when changing debugger icons as
planned due to user feedback.

This change moves:

   Core::Icons::DEBUG_START_SMALL
to ProjectExplorer::Icons::DEBUG_START_SMALL

   Core::Icons::DEBUG_EXIT_SMALL
to Debugger::Icons::DEBUG_EXIT_SMALL

   Core::Icons::DEBUG_INTERRUPT_SMALL
to Debugger::Icons::DEBUG_INTERRUPT_SMALL

   Core::Icons::DEBUG_CONTINUE_SMALL
to Debugger::Icons::DEBUG_CONTINUE_SMALL

This change just moves icons across modules but does not change anything
in the UI.

Change-Id: I859b901c312d4d16b6c2f687395a7b48c90aab84
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-04-01 14:26:03 +00:00
Alessandro Portale
49525a11f4 Flat themes: enable recoloring of the status bar & progress
The flat OutputPaneToggleButton now has the same hover and selected
colors as the sidebar items and toolbar items. This changes the
appearance in the dark theme a bit, and I hope in a good way.

Change-Id: I52826c6d1c4539f799c74580f195a95609ea0416
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-03-16 14:49:13 +00:00
hjk
261c54c4a2 Core: Move icon construction out-of-line
Saves 80k object data per file, for more than 100 files
(-O2 -g on Linux x86)

Change-Id: Idf30edb4ca0c26054a9aab731c4810dc218dce3e
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-01-20 07:17:19 +00:00