Utils: "Zoom in" and "Zoom out" icons

Change-Id: I596cde174d63e23cf29c4d528c6b3b9b70e17aaa
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Alessandro Portale
2016-10-24 17:12:12 +02:00
parent 5c756cb260
commit ee8cb08e2c
8 changed files with 47 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

View File

@@ -161,5 +161,9 @@
<file>images/bookmark@2x.png</file>
<file>images/snapshot.png</file>
<file>images/snapshot@2x.png</file>
<file>images/zoomin_overlay.png</file>
<file>images/zoomin_overlay@2x.png</file>
<file>images/zoomout_overlay.png</file>
<file>images/zoomout_overlay@2x.png</file>
</qresource>
</RCC>

View File

@@ -48,6 +48,12 @@ const Icon ZOOM({
{QLatin1String(":/utils/images/zoom.png"), Theme::PanelTextColorMid}}, Icon::Tint);
const Icon ZOOM_TOOLBAR({
{QLatin1String(":/utils/images/zoom.png"), Theme::IconsBaseColor}});
const Icon ZOOMIN_TOOLBAR({
{QLatin1String(":/utils/images/zoom.png"), Theme::IconsBaseColor},
{QLatin1String(":/utils/images/zoomin_overlay.png"), Theme::IconsBaseColor}});
const Icon ZOOMOUT_TOOLBAR({
{QLatin1String(":/utils/images/zoom.png"), Theme::IconsBaseColor},
{QLatin1String(":/utils/images/zoomout_overlay.png"), Theme::IconsBaseColor}});
const Icon OK({
{QLatin1String(":/utils/images/ok.png"), Theme::IconsRunToolBarColor}}, Icon::Tint);
const Icon NOTLOADED({

View File

@@ -41,6 +41,8 @@ QTCREATOR_UTILS_EXPORT extern const Icon PREV;
QTCREATOR_UTILS_EXPORT extern const Icon PREV_TOOLBAR;
QTCREATOR_UTILS_EXPORT extern const Icon ZOOM;
QTCREATOR_UTILS_EXPORT extern const Icon ZOOM_TOOLBAR;
QTCREATOR_UTILS_EXPORT extern const Icon ZOOMIN_TOOLBAR;
QTCREATOR_UTILS_EXPORT extern const Icon ZOOMOUT_TOOLBAR;
QTCREATOR_UTILS_EXPORT extern const Icon OK;
QTCREATOR_UTILS_EXPORT extern const Icon NOTLOADED;
QTCREATOR_UTILS_EXPORT extern const Icon BROKEN;

View File

@@ -3734,6 +3734,41 @@
d="m 1236,579.75 1.75,0 0,-1.75"
style="fill:none;stroke:#808080;stroke-width:0.5" />
</g>
<g
transform="translate(144,0)"
style="display:inline"
id="src/libs/utils/images/zoomin_overlay">
<rect
style="fill:#ffffff;fill-opacity:1"
x="1228"
y="568"
width="16"
height="16"
id="rect6782-96-0-0-7-8-1-0-4-0-1-7-9-1-9" />
<path
inkscape:connector-curvature="0"
id="path5247"
style="stroke:#000000"
d="m 1237.5,572 0,5 m 2.5,-2.5 -5,0" />
</g>
<g
transform="translate(160,0)"
style="display:inline"
id="src/libs/utils/images/zoomout_overlay">
<rect
style="fill:#ffffff;fill-opacity:1"
x="1228"
y="568"
width="16"
height="16"
id="rect6782-96-0-0-7-8-1-0-4-0-1-7-9-1-9-5" />
<path
inkscape:connector-curvature="0"
id="path5247-8"
style="stroke:#000000"
d="m 1240,574.5 -5,0"
sodipodi:nodetypes="cc" />
</g>
</g>
<g
inkscape:groupmode="layer"

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 226 KiB