update posterboard icon

This commit is contained in:
leminlimez
2025-03-13 12:58:45 -04:00
parent f760a54d04
commit 278c474762
7 changed files with 152 additions and 12 deletions

14
icon/photo-stack.svg Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Generator: Apple Native CoreSVG 326-->
<!DOCTYPE svg
PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 235.75 250.625">
<g>
<rect height="250.625" opacity="0" width="235.75" x="0" y="0"/>
<path d="M179.597 29L56.1528 29C56.4256 19.9631 61.8854 14.875 71.25 14.875L164.5 14.875C173.865 14.875 179.324 19.9631 179.597 29Z" fill="white" fill-opacity="0.85"/>
<path d="M200.083 58.4578C196.553 57.8144 192.764 57.5 188.75 57.5L47.125 57.5C43.0623 57.5 39.2305 57.8194 35.6653 58.4746C36.7346 47.6228 43.8122 41.625 55.625 41.625L180.125 41.625C191.932 41.625 199.008 47.6165 200.083 58.4578Z" fill="white" fill-opacity="0.85"/>
<path d="M48.5 232.75L187.625 232.75C206.875 232.75 217 223 217 203.875L217 197.625L167.625 150.75C163.75 147 158.625 145.25 153.75 145.25C148.625 145.25 144 146.875 139.75 150.625L97.125 188.5L80 173.25C76 169.625 71.625 167.875 67.25 167.875C63.125 167.875 59.125 169.75 55.125 173.125L19.125 204C19.125 223 29.25 232.75 48.5 232.75ZM47.125 235.375L188.75 235.375C210 235.375 220.625 225 220.625 204L220.625 104C220.625 83.125 210 72.625 188.75 72.625L47.125 72.625C25.75 72.625 15.25 83 15.25 104L15.25 204C15.25 225 25.75 235.375 47.125 235.375ZM47.375 217.375C38.375 217.375 33.25 212.5 33.25 203L33.25 105C33.25 95.5 38.375 90.625 47.375 90.625L188.5 90.625C197.5 90.625 202.625 95.5 202.625 105L202.625 203C202.625 212.5 197.5 217.375 188.5 217.375Z" fill="white" fill-opacity="0.85"/>
<path d="M89 153.375C101.375 153.375 111.375 143.125 111.375 130.75C111.375 118.625 101.375 108.5 89 108.5C76.625 108.5 66.625 118.625 66.625 130.75C66.625 143.125 76.625 153.375 89 153.375Z" fill="white" fill-opacity="0.85"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -407,7 +407,7 @@ class Ui_Nugget(object):
sizePolicy2.setHeightForWidth(self.posterboardPageBtn.sizePolicy().hasHeightForWidth())
self.posterboardPageBtn.setSizePolicy(sizePolicy2)
icon9 = QIcon()
icon9.addFile(u":/icon/heart-fill.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
icon9.addFile(u":/icon/photo-stack.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
self.posterboardPageBtn.setIcon(icon9)
self.posterboardPageBtn.setCheckable(True)
self.posterboardPageBtn.setAutoExclusive(True)

View File

@@ -658,7 +658,7 @@ QSlider::tick:horizontal {
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icon/heart-fill.svg</normaloff>:/icon/heart-fill.svg</iconset>
<normaloff>:/icon/photo-stack.svg</normaloff>:/icon/photo-stack.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
@@ -4118,7 +4118,7 @@ To work properly, also disable the daemon using the toggle above.</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icon/heart-fill.svg</normaloff>:/icon/heart-fill.svg</iconset>
<normaloff>:/icon/photo-stack.svg</normaloff>:/icon/photo-stack.svg</iconset>
</property>
</widget>
</item>

View File

@@ -407,7 +407,7 @@ class Ui_Nugget(object):
sizePolicy2.setHeightForWidth(self.posterboardPageBtn.sizePolicy().hasHeightForWidth())
self.posterboardPageBtn.setSizePolicy(sizePolicy2)
icon9 = QIcon()
icon9.addFile(u":/icon/heart-fill.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
icon9.addFile(u":/icon/photo-stack.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
self.posterboardPageBtn.setIcon(icon9)
self.posterboardPageBtn.setCheckable(True)
self.posterboardPageBtn.setAutoExclusive(True)

View File

@@ -30,5 +30,6 @@
<file>icon/iphone-island.svg</file>
<file>icon/flag.svg</file>
<file>credits/big_nugget.png</file>
<file>icon/photo-stack.svg</file>
</qresource>
</RCC>

View File

@@ -407,7 +407,7 @@ class Ui_Nugget(object):
sizePolicy2.setHeightForWidth(self.posterboardPageBtn.sizePolicy().hasHeightForWidth())
self.posterboardPageBtn.setSizePolicy(sizePolicy2)
icon9 = QIcon()
icon9.addFile(u":/icon/heart-fill.svg", QSize(), QIcon.Normal, QIcon.Off)
icon9.addFile(u":/icon/photo-stack.svg", QSize(), QIcon.Normal, QIcon.Off)
self.posterboardPageBtn.setIcon(icon9)
self.posterboardPageBtn.setCheckable(True)
self.posterboardPageBtn.setAutoExclusive(True)

View File

@@ -1,6 +1,6 @@
# Resource object code (Python 3)
# Created by: object code
# Created by: The Resource Compiler for Qt version 6.8.2
# Created by: The Resource Compiler for Qt version 6.6.3
# WARNING! All changes made in this file will be lost!
from PySide6 import QtCore
@@ -1206,6 +1206,125 @@ iewBox=\x220 0 16 1\
a1 1 0 1 0 0-2 1\
1 0 0 0 0 2z\x22/>\
\x0a</svg>\
\x00\x00\x07G\
<\
?xml version=\x221.\
0\x22 encoding=\x22UTF\
-8\x22?>\x0a<!--Genera\
tor: Apple Nativ\
e CoreSVG 326-->\
\x0a<!DOCTYPE svg\x0aP\
UBLIC \x22-//W3C//D\
TD SVG 1.1//EN\x22\x0a\
\x22http://w\
ww.w3.org/Graphi\
cs/SVG/1.1/DTD/s\
vg11.dtd\x22>\x0a<svg \
version=\x221.1\x22 xm\
lns=\x22http://www.\
w3.org/2000/svg\x22\
xmlns:xlink=\x22ht\
tp://www.w3.org/\
1999/xlink\x22 view\
Box=\x220 0 235.75 \
250.625\x22>\x0a <g>\x0a \
<rect height=\x222\
50.625\x22 opacity=\
\x220\x22 width=\x22235.7\
5\x22 x=\x220\x22 y=\x220\x22/>\
\x0a <path d=\x22M179\
.597 29L56.1528 \
29C56.4256 19.96\
31 61.8854 14.87\
5 71.25 14.875L1\
64.5 14.875C173.\
865 14.875 179.3\
24 19.9631 179.5\
97 29Z\x22 fill=\x22wh\
ite\x22 fill-opacit\
y=\x220.85\x22/>\x0a <pa\
th d=\x22M200.083 5\
8.4578C196.553 5\
7.8144 192.764 5\
7.5 188.75 57.5L\
47.125 57.5C43.0\
623 57.5 39.2305\
57.8194 35.6653\
58.4746C36.7346\
47.6228 43.8122\
41.625 55.625 4\
1.625L180.125 41\
.625C191.932 41.\
625 199.008 47.6\
165 200.083 58.4\
578Z\x22 fill=\x22whit\
e\x22 fill-opacity=\
\x220.85\x22/>\x0a <path\
d=\x22M48.5 232.75\
L187.625 232.75C\
206.875 232.75 2\
17 223 217 203.8\
75L217 197.625L1\
67.625 150.75C16\
3.75 147 158.625\
145.25 153.75 1\
45.25C148.625 14\
5.25 144 146.875\
139.75 150.625L\
97.125 188.5L80 \
173.25C76 169.62\
5 71.625 167.875\
67.25 167.875C6\
3.125 167.875 59\
.125 169.75 55.1\
25 173.125L19.12\
5 204C19.125 223\
29.25 232.75 48\
.5 232.75ZM47.12\
5 235.375L188.75\
235.375C210 235\
.375 220.625 225\
220.625 204L220\
.625 104C220.625\
83.125 210 72.6\
25 188.75 72.625\
L47.125 72.625C2\
5.75 72.625 15.2\
5 83 15.25 104L1\
5.25 204C15.25 2\
25 25.75 235.375\
47.125 235.375Z\
M47.375 217.375C\
38.375 217.375 3\
3.25 212.5 33.25\
203L33.25 105C3\
3.25 95.5 38.375\
90.625 47.375 9\
0.625L188.5 90.6\
25C197.5 90.625 \
202.625 95.5 202\
.625 105L202.625\
203C202.625 212\
.5 197.5 217.375\
188.5 217.375Z\x22\
fill=\x22white\x22 fi\
ll-opacity=\x220.85\
\x22/>\x0a <path d=\x22M\
89 153.375C101.3\
75 153.375 111.3\
75 143.125 111.3\
75 130.75C111.37\
5 118.625 101.37\
5 108.5 89 108.5\
C76.625 108.5 66\
.625 118.625 66.\
625 130.75C66.62\
5 143.125 76.625\
153.375 89 153.\
375Z\x22 fill=\x22whit\
e\x22 fill-opacity=\
\x220.85\x22/>\x0a </g>\x0a<\
/svg>\x0a\
\x00\x00\x05\x87\
<\
?xml version=\x221.\
@@ -9730,6 +9849,10 @@ qt_resource_name = b"\
\x06H\xb7'\
\x00p\
\x00h\x00o\x00n\x00e\x00.\x00s\x00v\x00g\
\x00\x0f\
\x0a\xfb\x14G\
\x00p\
\x00h\x00o\x00t\x00o\x00-\x00s\x00t\x00a\x00c\x00k\x00.\x00s\x00v\x00g\
\x00\x0a\
\x06\x99R'\
\x00i\
@@ -9755,13 +9878,13 @@ qt_resource_name = b"\
qt_resource_struct = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x14\x00\x02\x00\x00\x00\x1c\x00\x00\x00\x05\
\x00\x00\x00\x14\x00\x02\x00\x00\x00\x1d\x00\x00\x00\x05\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x03\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x03X\x00\x00\x00\x00\x00\x01\x00\x00Q\x9c\
\x00\x00\x03|\x00\x00\x00\x00\x00\x01\x00\x00X\xe7\
\x00\x00\x01\x95\x82z\xa7C\
\x00\x00\x03z\x00\x00\x00\x00\x00\x01\x00\x02GY\
\x00\x00\x03\x9e\x00\x00\x00\x00\x00\x01\x00\x02N\xa4\
\x00\x00\x01\x95\x82z\xa7C\
\x00\x00\x02\xc8\x00\x00\x00\x00\x00\x01\x00\x00E\x1f\
\x00\x00\x01\x95\x82z\xa7D\
@@ -9771,7 +9894,7 @@ qt_resource_struct = b"\
\x00\x00\x01\x95\x82z\xa7F\
\x00\x00\x00v\x00\x00\x00\x00\x00\x01\x00\x00\x0b\xde\
\x00\x00\x01\x95\x82z\xa7E\
\x00\x00\x03B\x00\x00\x00\x00\x00\x01\x00\x00N`\
\x00\x00\x03f\x00\x00\x00\x00\x00\x01\x00\x00U\xab\
\x00\x00\x01\x95\x82z\xa7F\
\x00\x00\x01`\x00\x00\x00\x00\x00\x01\x00\x00$\x9d\
\x00\x00\x01\x95\x82z\xa7E\
@@ -9781,11 +9904,11 @@ qt_resource_struct = b"\
\x00\x00\x01\x95\x82z\xa7F\
\x00\x00\x008\x00\x00\x00\x00\x00\x01\x00\x00\x05\xf7\
\x00\x00\x01\x95\x82z\xa7E\
\x00\x00\x03\x0c\x00\x00\x00\x00\x00\x01\x00\x00Gr\
\x00\x00\x030\x00\x00\x00\x00\x00\x01\x00\x00N\xbd\
\x00\x00\x01\x95\x82z\xa7E\
\x00\x00\x01\xe8\x00\x00\x00\x00\x00\x01\x00\x00+\xa8\
\x00\x00\x01\x95\x82z\xa7D\
\x00\x00\x03&\x00\x00\x00\x00\x00\x01\x00\x00L\xfd\
\x00\x00\x03J\x00\x00\x00\x00\x00\x01\x00\x00TH\
\x00\x00\x01\x95\x82z\xa7E\
\x00\x00\x01\x1c\x00\x00\x00\x00\x00\x01\x00\x00\x1f\xe8\
\x00\x00\x01\x95\x82z\xa7F\
@@ -9801,6 +9924,8 @@ qt_resource_struct = b"\
\x00\x00\x01\x95\x82z\xa7F\
\x00\x00\x00\xba\x00\x00\x00\x00\x00\x01\x00\x00\x16Q\
\x00\x00\x01\x95\x82z\xa7E\
\x00\x00\x03\x0c\x00\x00\x00\x00\x00\x01\x00\x00Gr\
\x00\x00\x01\x95\x90n~e\
\x00\x00\x00T\x00\x00\x00\x00\x00\x01\x00\x00\x0a\xef\
\x00\x00\x01\x95\x82z\xa7E\
\x00\x00\x00\x22\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\