Commit d466dc91 authored by Alessandro Portale's avatar Alessandro Portale

Utils: New "Fit to view" icon

Change-Id: I2592cb79a8dd7bad100c466cb45cf30039bace18
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent dc25b692
......@@ -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>
......@@ -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({
......
......@@ -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;
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment