diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2017-10-10 00:12:57 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2017-10-10 18:07:28 +0000 |
commit | 1748195e5081454fff503a295b6c5d37ce94a8ba (patch) | |
tree | 2e29d16cc6a95181ccfc7f1ed241c60158355248 | |
parent | c3688b901f320283f026d777aee04dcbc2560892 (diff) |
Utils: Add an icon for "Project"
Whether it is should be the wrench or the screw-nut is currently
unclear. Let's make it a wrench for now.
Change-Id: I8688e808dab0f522d7fee59885ae443ea0b67db1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r-- | src/libs/utils/images/project.png | bin | 0 -> 242 bytes | |||
-rw-r--r-- | src/libs/utils/images/project@2x.png | bin | 0 -> 384 bytes | |||
-rw-r--r-- | src/libs/utils/utils.qrc | 2 | ||||
-rw-r--r-- | src/libs/utils/utilsicons.cpp | 2 | ||||
-rw-r--r-- | src/libs/utils/utilsicons.h | 1 | ||||
-rw-r--r-- | src/tools/icons/qtcreatoricons.svg | 19 |
6 files changed, 24 insertions, 0 deletions
diff --git a/src/libs/utils/images/project.png b/src/libs/utils/images/project.png Binary files differnew file mode 100644 index 0000000000..f43b78dee0 --- /dev/null +++ b/src/libs/utils/images/project.png diff --git a/src/libs/utils/images/project@2x.png b/src/libs/utils/images/project@2x.png Binary files differnew file mode 100644 index 0000000000..432016e10f --- /dev/null +++ b/src/libs/utils/images/project@2x.png diff --git a/src/libs/utils/utils.qrc b/src/libs/utils/utils.qrc index 63ca09e10f..9086ea94a7 100644 --- a/src/libs/utils/utils.qrc +++ b/src/libs/utils/utils.qrc @@ -176,5 +176,7 @@ <file>images/pan@2x.png</file> <file>images/wizardicon-file.png</file> <file>images/wizardicon-file@2x.png</file> + <file>images/project.png</file> + <file>images/project@2x.png</file> </qresource> </RCC> diff --git a/src/libs/utils/utilsicons.cpp b/src/libs/utils/utilsicons.cpp index 271d3122f6..cc08c3920c 100644 --- a/src/libs/utils/utilsicons.cpp +++ b/src/libs/utils/utilsicons.cpp @@ -46,6 +46,8 @@ const Icon PREV({ {QLatin1String(":/utils/images/prev.png"), Theme::IconsWarningColor}}, Icon::MenuTintedStyle); const Icon PREV_TOOLBAR({ {QLatin1String(":/utils/images/prev.png"), Theme::IconsNavigationArrowsColor}}); +const Icon PROJECT({ + {QLatin1String(":/utils/images/project.png"), Theme::PanelTextColorDark}}, Icon::Tint); const Icon ZOOM({ {QLatin1String(":/utils/images/zoom.png"), Theme::PanelTextColorMid}}, Icon::Tint); const Icon ZOOM_TOOLBAR({ diff --git a/src/libs/utils/utilsicons.h b/src/libs/utils/utilsicons.h index 5725e9a538..af618ee454 100644 --- a/src/libs/utils/utilsicons.h +++ b/src/libs/utils/utilsicons.h @@ -40,6 +40,7 @@ QTCREATOR_UTILS_EXPORT extern const Icon NEXT; QTCREATOR_UTILS_EXPORT extern const Icon NEXT_TOOLBAR; QTCREATOR_UTILS_EXPORT extern const Icon PREV; QTCREATOR_UTILS_EXPORT extern const Icon PREV_TOOLBAR; +QTCREATOR_UTILS_EXPORT extern const Icon PROJECT; QTCREATOR_UTILS_EXPORT extern const Icon ZOOM; QTCREATOR_UTILS_EXPORT extern const Icon ZOOM_TOOLBAR; QTCREATOR_UTILS_EXPORT extern const Icon ZOOMIN_TOOLBAR; diff --git a/src/tools/icons/qtcreatoricons.svg b/src/tools/icons/qtcreatoricons.svg index 86c713da25..442a265749 100644 --- a/src/tools/icons/qtcreatoricons.svg +++ b/src/tools/icons/qtcreatoricons.svg @@ -8865,4 +8865,23 @@ height="100%" transform="rotate(180,1732.0027,576.00257)" /> </g> + <g + id="src/libs/utils/images/project" + transform="translate(64)"> + <use + x="0" + y="0" + xlink:href="#backgroundRect" + id="use5933" + width="100%" + height="100%" + transform="translate(1740,132)" + style="opacity:0.9300001" /> + <path + style="display:inline" + id="path5439-0-4" + d="m 1738,573 -2,2 c -1,0.5 -2.5,-1 -2,-2 l 2,-2 c -2.5,-1 -5,1.5 -4,4 l -4.5,4.5 c -1.5,1.5 0.5,3.5 2,2 l 4.5,-4.5 c 2.5,1 5,-1.5 4,-4 z" + inkscape:connector-curvature="0" + sodipodi:nodetypes="ccccccccc" /> + </g> </svg> |