1 /****************************************************************************
2 **
3 ** Copyright (C) 2016 The Qt Company Ltd.
4 ** Contact: https://www.qt.io/licensing/
5 **
6 ** This file is part of Qt Creator.
7 **
8 ** Commercial License Usage
9 ** Licensees holding valid commercial Qt licenses may use this file in
10 ** accordance with the commercial license agreement provided with the
11 ** Software or, alternatively, in accordance with the terms contained in
12 ** a written agreement between you and The Qt Company. For licensing terms
13 ** and conditions see https://www.qt.io/terms-conditions. For further
14 ** information use the contact form at https://www.qt.io/contact-us.
15 **
16 ** GNU General Public License Usage
17 ** Alternatively, this file may be used under the terms of the GNU
18 ** General Public License version 3 as published by the Free Software
19 ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
20 ** included in the packaging of this file. Please review the following
21 ** information to ensure the GNU General Public License requirements will
22 ** be met: https://www.gnu.org/licenses/gpl-3.0.html.
23 **
24 ****************************************************************************/
25 
26 #include "projectexplorericons.h"
27 
28 using namespace Utils;
29 
30 namespace ProjectExplorer {
31 namespace Icons {
32 
33 const Icon BUILD(":/projectexplorer/images/build.png");
34 const Icon BUILD_FLAT({
35         {":/projectexplorer/images/build_hammerhandle_mask.png", Theme::IconsBuildHammerHandleColor},
36         {":/projectexplorer/images/build_hammerhead_mask.png", Theme::IconsBuildHammerHeadColor}});
37 const Icon BUILD_SMALL({
38         {":/projectexplorer/images/buildhammerhandle.png", Theme::IconsBuildHammerHandleColor},
39         {":/projectexplorer/images/buildhammerhead.png", Theme::IconsBuildHammerHeadColor}}, Icon::Tint);
40 const Icon CANCELBUILD_FLAT({
41         {":/projectexplorer/images/build_hammerhandle_mask.png", Theme::IconsDisabledColor},
42         {":/projectexplorer/images/build_hammerhead_mask.png", Theme::IconsDisabledColor},
43         {":/projectexplorer/images/cancelbuild_overlay.png", Theme::IconsStopToolBarColor}},
44         Icon::Tint | Icon::PunchEdges);
45 const Icon REBUILD({
46         {":/projectexplorer/images/rebuildhammerhandles.png", Theme::IconsBuildHammerHandleColor},
47         {":/projectexplorer/images/buildhammerhandle.png", Theme::IconsBuildHammerHandleColor},
48         {":/projectexplorer/images/rebuildhammerheads.png", Theme::IconsBuildHammerHeadColor},
49         {":/projectexplorer/images/buildhammerhead.png", Theme::IconsBuildHammerHeadColor}}, Icon::Tint);
50 const Icon RUN(":/projectexplorer/images/run.png");
51 const Icon RUN_FLAT({
52         {":/projectexplorer/images/run_mask.png", Theme::IconsRunToolBarColor}});
53 const Icon WINDOW(":/projectexplorer/images/window.png");
54 const Icon DEBUG_START(":/projectexplorer/images/debugger_start.png");
55 const Icon DEVICE_READY_INDICATOR({
56         {":/utils/images/filledcircle.png", Theme::IconsRunColor}}, Icon::Tint);
57 const Icon DEVICE_READY_INDICATOR_OVERLAY({
58         {":/projectexplorer/images/devicestatusindicator.png", Theme::IconsRunToolBarColor}});
59 const Icon DEVICE_CONNECTED_INDICATOR({
60         {":/utils/images/filledcircle.png", Theme::IconsWarningColor}}, Icon::Tint);
61 const Icon DEVICE_CONNECTED_INDICATOR_OVERLAY({
62         {":/projectexplorer/images/devicestatusindicator.png", Theme::IconsWarningToolBarColor}});
63 const Icon DEVICE_DISCONNECTED_INDICATOR({
64         {":/utils/images/filledcircle.png", Theme::IconsStopColor}}, Icon::Tint);
65 const Icon DEVICE_DISCONNECTED_INDICATOR_OVERLAY({
66         {":/projectexplorer/images/devicestatusindicator.png", Theme::IconsStopToolBarColor}});
67 const Icon WIZARD_IMPORT_AS_PROJECT(
68         ":/projectexplorer/images/importasproject.png");
69 
70 const Icon DEBUG_START_FLAT({
71         {":/projectexplorer/images/run_mask.png", Theme::IconsRunToolBarColor},
72         {":/projectexplorer/images/debugger_beetle_mask.png", Theme::IconsDebugColor}});
73 const Icon DEBUG_START_SMALL({
74         {":/utils/images/run_small.png", Theme::IconsRunColor},
75         {":/projectexplorer/images/debugger_overlay_small.png", Theme::PanelTextColorMid}}, Icon::MenuTintedStyle);
76 const Icon DEBUG_START_SMALL_TOOLBAR({
77         {":/utils/images/run_small.png", Theme::IconsRunToolBarColor},
78         {":/projectexplorer/images/debugger_overlay_small.png", Theme::IconsDebugColor}});
79 const Icon ANALYZER_START_SMALL({
80         {":/utils/images/run_small.png", Theme::IconsRunColor},
81         {":/projectexplorer/images/analyzer_overlay_small.png", Theme::PanelTextColorMid}}, Icon::MenuTintedStyle);
82 const Icon ANALYZER_START_SMALL_TOOLBAR({
83         {":/utils/images/run_small.png", Theme::IconsRunToolBarColor},
84         {":/projectexplorer/images/analyzer_overlay_small.png", Theme::IconsBaseColor}});
85 
86 const Icon BUILDSTEP_MOVEUP({
87         {":/projectexplorer/images/buildstepmoveup.png", Theme::PanelTextColorDark}}, Icon::Tint);
88 const Icon BUILDSTEP_MOVEDOWN({
89         {":/projectexplorer/images/buildstepmovedown.png", Theme::PanelTextColorDark}}, Icon::Tint);
90 const Icon BUILDSTEP_DISABLE({
91         {":/projectexplorer/images/buildstepdisable.png", Theme::PanelTextColorDark}}, Icon::Tint);
92 const Icon BUILDSTEP_REMOVE({
93         {":/projectexplorer/images/buildstepremove.png", Theme::PanelTextColorDark}}, Icon::Tint);
94 
95 const Icon DESKTOP_DEVICE({
96         {":/projectexplorer/images/desktopdevice.png", Theme::IconsBaseColor}});
97 const Icon DESKTOP_DEVICE_SMALL({
98         {":/utils/images/desktopdevicesmall.png", Theme::PanelTextColorDark}}, Icon::Tint);
99 
100 const Icon MODE_PROJECT_CLASSIC(":/projectexplorer/images/mode_project.png");
101 const Icon MODE_PROJECT_FLAT({
102         {":/projectexplorer/images/mode_project_mask.png", Theme::IconsBaseColor}});
103 const Icon MODE_PROJECT_FLAT_ACTIVE({
104         {":/projectexplorer/images/mode_project_mask.png", Theme::IconsModeProjectActiveColor}});
105 
106 } // namespace Icons
107 } // namespace ProjectExplorer
108