Add some sort of basic application icon

Mon, 27 Jun 2022 21:25:31 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Mon, 27 Jun 2022 21:25:31 +0300
changeset 276
17b3212d3045
parent 275
dc1b8094c210
child 277
3406191af523

Add some sort of basic application icon

icons/appicon.png file | annotate | diff | comparison | revisions
icons_svg/appicon.svg file | annotate | diff | comparison | revisions
resources.qrc file | annotate | diff | comparison | revisions
src/mainwindow.ui file | annotate | diff | comparison | revisions
Binary file icons/appicon.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/icons_svg/appicon.svg	Mon Jun 27 21:25:31 2022 +0300
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="512"
+   height="512"
+   viewBox="0 0 512 512"
+   version="1.1"
+   id="svg10"
+   sodipodi:docname="appicon.svg"
+   inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:dc="http://purl.org/dc/elements/1.1/">
+  <defs
+     id="defs14" />
+  <sodipodi:namedview
+     id="namedview12"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="0.48751698"
+     inkscape:cx="-171.27609"
+     inkscape:cy="162.04564"
+     inkscape:window-width="1920"
+     inkscape:window-height="970"
+     inkscape:window-x="0"
+     inkscape:window-y="40"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg10" />
+  <title
+     id="title2">ionicons-v5-h</title>
+  <g
+     id="g10037"
+     transform="translate(-24.926826,-44.617352)">
+    <path
+       d="M 482.29404,314.47757 V 195.77186 c -0.0106,-8.52597 -4.54535,-16.40576 -11.91207,-20.69806 L 321.91668,92.813615 c -11.17645,-6.506741 -24.98705,-6.506741 -36.1635,0 L 64.123576,224.1749 c -7.366706,4.2923 -11.901661,12.17209 -11.912061,20.69806 v 118.70571 c 0.0052,8.53132 4.540735,16.41806 11.912061,20.71305 l 148.465294,82.26017 c 11.17898,6.49734 24.98451,6.49734 36.1635,0 l 221.6446,-131.36127 c 7.36556,-4.29878 11.8951,-12.1848 11.89707,-20.71305 z"
+       style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:23.989px;stroke-linecap:round;stroke-linejoin:round"
+       id="path4"
+       sodipodi:nodetypes="ccccccccccccc" />
+    <path
+       id="polyline6"
+       style="fill:none;stroke:#000000;stroke-width:23.989px;stroke-linecap:round;stroke-linejoin:round"
+       d="m 63.15127,232.96179 167.51184,97.85966 247.79092,-149.1119"
+       sodipodi:nodetypes="ccc" />
+    <path
+       id="line8"
+       style="fill:none;stroke:#000000;stroke-width:23.989px;stroke-linecap:round;stroke-linejoin:round"
+       d="M 230.66313,466.60612 V 330.82145"
+       sodipodi:nodetypes="cc" />
+    <g
+       id="g6490"
+       transform="matrix(0.82212807,0,0,0.82212807,174.23632,-41.88077)"
+       style="fill:#ff0000;fill-opacity:1;stroke-width:12;stroke-miterlimit:10;stroke-dasharray:none">
+      <path
+         d="m 110.10461,176.80153 v 36.08502 c 0,10.98356 21.5856,19.88888 48.19111,19.88888 26.60552,0 48.19112,-8.90532 48.19112,-19.88888 v -36.08502"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="path3592"
+         sodipodi:nodetypes="csssc" />
+      <ellipse
+         cx="158.29573"
+         cy="176.99229"
+         rx="48.191116"
+         ry="20.079632"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="ellipse3586" />
+    </g>
+    <g
+       id="g6490-45"
+       transform="matrix(0.82212807,0,0,0.82212807,100.10677,2.5035094)"
+       style="fill:#ff0000;fill-opacity:1;stroke-width:12;stroke-miterlimit:10;stroke-dasharray:none">
+      <path
+         d="m 110.10461,176.80153 v 36.08502 c 0,10.98356 21.5856,19.88888 48.19111,19.88888 26.60552,0 48.19112,-8.90532 48.19112,-19.88888 v -36.08502"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="path3592-0"
+         sodipodi:nodetypes="csssc" />
+      <ellipse
+         cx="158.29573"
+         cy="176.99229"
+         rx="48.191116"
+         ry="20.079632"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="ellipse3586-3" />
+    </g>
+    <g
+       id="g6490-45-6"
+       transform="matrix(0.82212807,0,0,0.82212807,25.208804,46.497734)"
+       style="fill:#ff0000;fill-opacity:1;stroke-width:12;stroke-miterlimit:10;stroke-dasharray:none">
+      <path
+         d="m 110.10461,176.80153 v 36.08502 c 0,10.98356 21.5856,19.88888 48.19111,19.88888 26.60552,0 48.19112,-8.90532 48.19112,-19.88888 v -36.08502"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="path3592-0-3"
+         sodipodi:nodetypes="csssc" />
+      <ellipse
+         cx="158.29573"
+         cy="176.99229"
+         rx="48.191116"
+         ry="20.079632"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="ellipse3586-3-2" />
+    </g>
+    <g
+       id="g6490-5"
+       transform="matrix(0.82212807,0,0,0.82212807,250.83161,9.9229771)"
+       style="fill:#ff0000;fill-opacity:1;stroke-width:12;stroke-miterlimit:10;stroke-dasharray:none">
+      <path
+         d="m 110.10461,176.80153 v 36.08502 c 0,10.98356 21.5856,19.88888 48.19111,19.88888 26.60552,0 48.19112,-8.90532 48.19112,-19.88888 v -36.08502"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="path3592-5"
+         sodipodi:nodetypes="csssc" />
+      <ellipse
+         cx="158.29573"
+         cy="176.99229"
+         rx="48.191116"
+         ry="20.079632"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="ellipse3586-4" />
+    </g>
+    <g
+       id="g6490-45-7"
+       transform="matrix(0.82212807,0,0,0.82212807,176.70206,54.307256)"
+       style="fill:#ff0000;fill-opacity:1;stroke-width:12;stroke-miterlimit:10;stroke-dasharray:none">
+      <path
+         d="m 110.10461,176.80153 v 36.08502 c 0,10.98356 21.5856,19.88888 48.19111,19.88888 26.60552,0 48.19112,-8.90532 48.19112,-19.88888 v -36.08502"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="path3592-0-6"
+         sodipodi:nodetypes="csssc" />
+      <ellipse
+         cx="158.29573"
+         cy="176.99229"
+         rx="48.191116"
+         ry="20.079632"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="ellipse3586-3-5" />
+    </g>
+    <g
+       id="g6490-45-6-6"
+       transform="matrix(0.82212807,0,0,0.82212807,101.8041,98.301481)"
+       style="fill:#ff0000;fill-opacity:1;stroke-width:12;stroke-miterlimit:10;stroke-dasharray:none">
+      <path
+         d="m 110.10461,176.80153 v 36.08502 c 0,10.98356 21.5856,19.88888 48.19111,19.88888 26.60552,0 48.19112,-8.90532 48.19112,-19.88888 v -36.08502"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="path3592-0-3-9"
+         sodipodi:nodetypes="csssc" />
+      <ellipse
+         cx="158.29573"
+         cy="176.99229"
+         rx="48.191116"
+         ry="20.079632"
+         style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-miterlimit:10;stroke-dasharray:none"
+         id="ellipse3586-3-2-3" />
+    </g>
+  </g>
+  <path
+     d="m 357.41987,390.94576 49.67852,-49.66939 c 4.28104,-4.29593 11.23779,-4.29593 15.51883,0 l 89.18671,84.14264 c 0,46.50647 -2.59639,66.54834 -9.94013,73.89208 -5.05493,5.05493 -8.35647,8.57704 -48.56225,8.57704 L 357.43813,406.45546 c -4.29488,-4.27494 -4.30308,-11.22463 -0.0183,-15.5097 z"
+     id="path8368"
+     style="stroke:#ffff00;stroke-width:21.8261;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+     sodipodi:nodetypes="ccccsccsc" />
+  <path
+     d="m 170.23538,338.39169 40.06597,-39.78298 a 19.590242,19.590242 0 0 1 13.94869,-5.71458 19.982777,19.982777 0 0 1 11.67564,3.77929 c 0,-0.39253 -0.0548,-0.77594 -0.0822,-1.1137 -0.41079,-5.93367 -1.0498,-14.89808 4.74694,-23.02264 a 235.52108,235.52108 0 0 1 22.63923,-26.23596 0.54772345,0.54772345 0 0 1 0.073,-0.073 c 12.15947,-11.97688 38.62364,-34.53395 79.1643,-51.06607 a 127.39134,127.39134 0 0 1 48.47353,-9.52126 c 28.81025,0 50.71919,12.9993 59.10848,20.70394 a 48.747387,48.747387 0 0 1 15.34539,28.74635 l -14.60596,8.97354 c 0,0 -7.35775,-1.82575 -12.65241,-3.09464 a 57.264486,57.264486 0 0 0 -16.8425,-1.0498 c -12.04078,0.99503 -26.28159,6.97434 -32.58041,11.9495 -10.68061,8.59013 -15.82008,20.16535 -16.66905,37.50992 -0.18258,3.86145 8.69054,19.48983 22.05499,36.36884 a 7.3029793,7.3029793 0 0 1 -0.55685,9.69471 l -41.41702,41.41702 a 7.3029793,7.3029793 0 0 1 -10.0416,0.22821 c -11.01837,-10.04159 -27.83348,-25.56042 -31.64928,-27.92476 -7.01999,-4.31789 -12.04079,-5.1486 -13.41923,-5.29466 a 17.508893,17.508893 0 0 0 -10.30633,2.17263 1.1319618,1.1319618 0 0 0 0.28299,0.86723 l 1.66143,1.57927 0.27386,0.25561 a 19.645014,19.645014 0 0 1 -0.0456,27.87912 l -40.12074,39.87427 a 7.3029793,7.3029793 0 0 1 -10.2972,0 l -68.17332,-67.73514 a 7.3029793,7.3029793 0 0 1 -0.0548,-10.37023 z"
+     id="path8370"
+     style="stroke:#ffff00;stroke-width:21.8261;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+  <metadata
+     id="metadata9859">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:title>ionicons-v5-h</dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+</svg>
--- a/resources.qrc	Mon Jun 27 21:25:22 2022 +0300
+++ b/resources.qrc	Mon Jun 27 21:25:31 2022 +0300
@@ -32,5 +32,6 @@
         <file>icons/invert.png</file>
         <file>icons/polyline.png</file>
         <file>icons/linetype-circularprimitive.png</file>
+        <file>icons/appicon.png</file>
     </qresource>
 </RCC>
--- a/src/mainwindow.ui	Mon Jun 27 21:25:22 2022 +0300
+++ b/src/mainwindow.ui	Mon Jun 27 21:25:31 2022 +0300
@@ -10,6 +10,10 @@
     <height>600</height>
    </rect>
   </property>
+  <property name="windowIcon">
+   <iconset resource="../resources.qrc">
+    <normaloff>:/icons/appicon.png</normaloff>:/icons/appicon.png</iconset>
+  </property>
   <property name="dockNestingEnabled">
    <bool>false</bool>
   </property>
@@ -476,6 +480,10 @@
    </property>
   </action>
   <action name="actionAbout">
+   <property name="icon">
+    <iconset resource="../resources.qrc">
+     <normaloff>:/icons/appicon.png</normaloff>:/icons/appicon.png</iconset>
+   </property>
    <property name="text">
     <string>About %1</string>
    </property>

mercurial