Utils: New "Fit to view" icon

Change-Id: I2592cb79a8dd7bad100c466cb45cf30039bace18
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Alessandro Portale
2016-10-26 00:05:40 +02:00
parent dc25b692fa
commit d466dc916a
6 changed files with 22 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

View File

@@ -31,7 +31,6 @@
<file>images/notloaded@2x.png</file>
<file>images/ok.png</file>
<file>images/ok@2x.png</file>
<file>images/clean_pane_small.png</file>
<file>images/clean_pane_small@2x.png</file>
<file>images/compile_error_taskbar.png</file>
@@ -165,5 +164,7 @@
<file>images/zoomin_overlay@2x.png</file>
<file>images/zoomout_overlay.png</file>
<file>images/zoomout_overlay@2x.png</file>
<file>images/fittoview.png</file>
<file>images/fittoview@2x.png</file>
</qresource>
</RCC>

View File

@@ -54,6 +54,8 @@ const Icon ZOOMIN_TOOLBAR({
const Icon ZOOMOUT_TOOLBAR({
{QLatin1String(":/utils/images/zoom.png"), Theme::IconsBaseColor},
{QLatin1String(":/utils/images/zoomout_overlay.png"), Theme::IconsBaseColor}});
const Icon FITTOVIEW_TOOLBAR({
{QLatin1String(":/utils/images/fittoview.png"), Theme::IconsBaseColor}});
const Icon OK({
{QLatin1String(":/utils/images/ok.png"), Theme::IconsRunToolBarColor}}, Icon::Tint);
const Icon NOTLOADED({

View File

@@ -43,6 +43,7 @@ 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 FITTOVIEW_TOOLBAR;
QTCREATOR_UTILS_EXPORT extern const Icon OK;
QTCREATOR_UTILS_EXPORT extern const Icon NOTLOADED;
QTCREATOR_UTILS_EXPORT extern const Icon BROKEN;

View File

@@ -3990,6 +3990,23 @@
transform="matrix(0,1,1,0,964,-948)"
width="100%"
height="100%" />
<g
transform="translate(320,0)"
id="src/libs/utils/images/fittoview"
style="display:inline;fill:#ffffff">
<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-6-3-0-3" />
<path
id="use6687"
style="stroke:#000000"
d="m 1234,579.5 -2.5,0 0,-2.5 m 9,0 0,2.5 -2.5,0 m 0,-7 2.5,0 0,2.5 m -9,0 0,-2.5 2.5,0 m -4.5,-2 13,0 0,11 -13,0 z"
inkscape:connector-curvature="0" />
</g>
</g>
<g
inkscape:groupmode="layer"

Before

Width:  |  Height:  |  Size: 232 KiB

After

Width:  |  Height:  |  Size: 233 KiB