forked from qt-creator/qt-creator
Themed Icons: Introduce Utils::Icon
Instead of describing icons via file name or in the themed icons case via a string that is a list of mask/color pairs, we have now a class for it. Icons are now listed in per-plugin *icons.h headers. RunControl::m_icon was The only place left where an icon property was in fact a string. This patch changes that member to be a Utils::Icon. Change-Id: Ibcfa8bb25e6d2e330c567ee7ccc0b97ead603177 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -184,50 +184,6 @@ const char G_HELP_SUPPORT[] = "QtCreator.Group.Help.Supprt";
|
||||
const char G_HELP_ABOUT[] = "QtCreator.Group.Help.About";
|
||||
const char G_HELP_UPDATES[] = "QtCreator.Group.Help.Updates";
|
||||
|
||||
const char ICON_MINUS[] = ":/core/images/minus.png";
|
||||
const char ICON_PLUS[] = ":/core/images/plus.png";
|
||||
const char ICON_NEWFILE[] = ":/core/images/filenew.png";
|
||||
const char ICON_OPENFILE[] = ":/core/images/fileopen.png";
|
||||
const char ICON_SAVEFILE[] = ":/core/images/filesave.png";
|
||||
const char ICON_UNDO[] = ":/core/images/undo.png";
|
||||
const char ICON_REDO[] = ":/core/images/redo.png";
|
||||
const char ICON_COPY[] = ":/core/images/editcopy.png";
|
||||
const char ICON_PASTE[] = ":/core/images/editpaste.png";
|
||||
const char ICON_CUT[] = ":/core/images/editcut.png";
|
||||
const char ICON_NEXT[] = ":/core/images/next.png|IconsNavigationArrowsColor";
|
||||
const char ICON_PREV[] = ":/core/images/prev.png|IconsNavigationArrowsColor";
|
||||
const char ICON_DIR[] = ":/core/images/dir.png";
|
||||
const char ICON_CLEAN_PANE[] = ":/core/images/clean_pane_small.png";
|
||||
const char ICON_CLEAR[] = ":/core/images/clear.png";
|
||||
const char ICON_RESET[] = ":/core/images/reset.png";
|
||||
const char ICON_RELOAD_GRAY[] = ":/core/images/reload_gray.png";
|
||||
const char ICON_MAGNIFIER[] = ":/core/images/magnifier.png";
|
||||
const char ICON_TOGGLE_SIDEBAR[] = ":/core/images/sidebaricon.png";
|
||||
const char ICON_BUTTON_CLOSE[] = ":/core/images/button_close.png";
|
||||
const char ICON_CLOSE_BUTTON[] = ":/core/images/closebutton.png";
|
||||
const char ICON_DARK_CLOSE_BUTTON[] = ":/core/images/darkclosebutton.png";
|
||||
const char ICON_DARK_CLOSE[] = ":/core/images/darkclose.png";
|
||||
const char ICON_SPLIT_HORIZONTAL[] = ":/core/images/splitbutton_horizontal.png";
|
||||
const char ICON_SPLIT_VERTICAL[] = ":/core/images/splitbutton_vertical.png";
|
||||
const char ICON_CLOSE_SPLIT_TOP[] = ":/core/images/splitbutton_closetop.png";
|
||||
const char ICON_CLOSE_SPLIT_BOTTOM[] = ":/core/images/splitbutton_closebottom.png";
|
||||
const char ICON_CLOSE_SPLIT_LEFT[] = ":/core/images/splitbutton_closeleft.png";
|
||||
const char ICON_CLOSE_SPLIT_RIGHT[] = ":/core/images/splitbutton_closeright.png";
|
||||
const char ICON_FILTER[] = ":/core/images/filtericon.png";
|
||||
const char ICON_LINK[] = ":/core/images/linkicon.png";
|
||||
const char ICON_PAUSE[] = ":/core/images/pause.png";
|
||||
const char ICON_QTLOGO_32[] = ":/core/images/logo/32/QtProject-qtcreator.png";
|
||||
const char ICON_QTLOGO_64[] = ":/core/images/logo/64/QtProject-qtcreator.png";
|
||||
const char ICON_QTLOGO_128[] = ":/core/images/logo/128/QtProject-qtcreator.png";
|
||||
const char ICON_WARNING[] = ":/core/images/warning.png|IconsWarningColor";
|
||||
const char ICON_ERROR[] = ":/core/images/error.png|IconsErrorColor";
|
||||
const char ICON_INFO[] = ":/core/images/info.png|IconsInfoColor";
|
||||
const char ICON_DEBUG_START_SMALL[] = ":/core/images/debugger_overlay_small.png|IconsDebugColor,:/core/images/run_overlay_small.png|IconsRunColor";
|
||||
const char ICON_DEBUG_EXIT_SMALL[] = ":/core/images/debugger_overlay_small.png|IconsDebugColor,:/core/images/stop_overlay_small.png|IconsStopColor";
|
||||
const char ICON_DEBUG_INTERRUPT_SMALL[] = ":/core/images/debugger_overlay_small.png|IconsDebugColor,:/core/images/interrupt_overlay_small.png|IconsInterruptColor";
|
||||
const char ICON_DEBUG_CONTINUE_SMALL[] = ":/core/images/debugger_overlay_small.png|IconsDebugColor,:/core/images/continue_overlay_small.png|IconsRunColor";
|
||||
const char ICON_ZOOM[] = ":/core/images/zoom.png";
|
||||
|
||||
const char WIZARD_CATEGORY_QT[] = "R.Qt";
|
||||
const char WIZARD_TR_CATEGORY_QT[] = QT_TRANSLATE_NOOP("Core", "Qt");
|
||||
const char WIZARD_KIND_UNKNOWN[] = "unknown";
|
||||
|
||||
Reference in New Issue
Block a user