Utils: HighDPI-able, themable filenew and open icons
Change-Id: I1b9dc3393c6ec7965fbca42a561303ddc01201eb Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Before Width: | Height: | Size: 977 B After Width: | Height: | Size: 134 B |
BIN
src/libs/utils/images/filenew@2x.png
Normal file
After Width: | Height: | Size: 158 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 134 B |
BIN
src/libs/utils/images/fileopen@2x.png
Normal file
After Width: | Height: | Size: 209 B |
@@ -45,7 +45,9 @@
|
||||
<file>images/editpaste@2x.png</file>
|
||||
<file>images/empty14.png</file>
|
||||
<file>images/filenew.png</file>
|
||||
<file>images/filenew@2x.png</file>
|
||||
<file>images/fileopen.png</file>
|
||||
<file>images/fileopen@2x.png</file>
|
||||
<file>images/filesave.png</file>
|
||||
<file>images/filesave@2x.png</file>
|
||||
<file>images/inputfield.png</file>
|
||||
|
@@ -64,10 +64,10 @@ const Icon BOOKMARK_TOOLBAR({
|
||||
const Icon BOOKMARK_TEXTEDITOR({
|
||||
{QLatin1String(":/utils/images/bookmark.png"), Theme::Bookmarks_TextMarkColor}}, Icon::Tint);
|
||||
|
||||
const Icon NEWFILE(
|
||||
QLatin1String(":/utils/images/filenew.png"));
|
||||
const Icon OPENFILE(
|
||||
QLatin1String(":/utils/images/fileopen.png"));
|
||||
const Icon NEWFILE({
|
||||
{QLatin1String(":/utils/images/filenew.png"), Theme::PanelTextColorMid}}, Icon::Tint);
|
||||
const Icon OPENFILE({
|
||||
{QLatin1String(":/utils/images/fileopen.png"), Theme::PanelTextColorMid}}, Icon::Tint);
|
||||
const Icon SAVEFILE({
|
||||
{QLatin1String(":/utils/images/filesave.png"), Theme::PanelTextColorMid}}, Icon::Tint);
|
||||
const Icon SAVEFILE_TOOLBAR({
|
||||
|
@@ -3585,6 +3585,54 @@
|
||||
width="100%"
|
||||
height="100%" />
|
||||
</g>
|
||||
<g
|
||||
transform="translate(80,0)"
|
||||
style="display:inline"
|
||||
id="src/libs/utils/images/filenew">
|
||||
<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" />
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#000000"
|
||||
d="m 1231.5,569.5 6,0 3,3 0,10 -9,0 z"
|
||||
id="path5168-9"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000"
|
||||
d="m 1237.5,569.5 0,3 3,0"
|
||||
id="path5172-7"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
<g
|
||||
transform="translate(96,0)"
|
||||
style="display:inline"
|
||||
id="src/libs/utils/images/fileopen">
|
||||
<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" />
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#000000"
|
||||
d="m 1241.5,575.5 0,-3 -6,0 -1,-1 -4,0 0,10 11,0 1.7031,-6 -10.5,0 -2.035,5.70381"
|
||||
id="polygon4927-6-0"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#ffffff"
|
||||
d="m 1231.5,576 0,4.5 2.5,0"
|
||||
id="path6121"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
|
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 219 KiB |