ui for posterboard

This commit is contained in:
leminlimez
2025-03-13 09:26:26 -04:00
parent 999ab0f366
commit 5f84ce79a4
3 changed files with 525 additions and 178 deletions

View File

@@ -243,7 +243,7 @@ QSlider::tick:horizontal {
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/phone.svg</normaloff>:/icon/phone.svg</iconset>
</property>
</widget>
@@ -308,7 +308,7 @@ QSlider::tick:horizontal {
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/arrow-clockwise.svg</normaloff>:/icon/arrow-clockwise.svg</iconset>
</property>
<property name="checkable">
@@ -415,7 +415,7 @@ QSlider::tick:horizontal {
<string> Home</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/house.svg</normaloff>:/icon/house.svg</iconset>
</property>
<property name="checkable">
@@ -462,7 +462,7 @@ QSlider::tick:horizontal {
<string> Mobile Gestalt</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/iphone-island.svg</normaloff>:/icon/iphone-island.svg</iconset>
</property>
<property name="iconSize">
@@ -506,7 +506,7 @@ QSlider::tick:horizontal {
<string> Feature Flags</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/flag.svg</normaloff>:/icon/flag.svg</iconset>
</property>
<property name="checkable">
@@ -535,7 +535,7 @@ QSlider::tick:horizontal {
<string> Eligibility</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/geo-alt.svg</normaloff>:/icon/geo-alt.svg</iconset>
</property>
<property name="checkable">
@@ -564,7 +564,7 @@ QSlider::tick:horizontal {
<string> Springboard Options</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/app-indicator.svg</normaloff>:/icon/app-indicator.svg</iconset>
</property>
<property name="checkable">
@@ -593,7 +593,7 @@ QSlider::tick:horizontal {
<string> Internal Options</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/hdd.svg</normaloff>:/icon/hdd.svg</iconset>
</property>
<property name="checkable">
@@ -625,7 +625,7 @@ QSlider::tick:horizontal {
<string> Daemons</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/toggles.svg</normaloff>:/icon/toggles.svg</iconset>
</property>
<property name="checkable">
@@ -642,6 +642,38 @@ QSlider::tick:horizontal {
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="posterboardPageBtn">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string> Posterboard</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icon/heart-fill.svg</normaloff>:/icon/heart-fill.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoExclusive">
<bool>true</bool>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="cls" stdset="0">
<string>sidebarBtn</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="advancedPageBtn">
<property name="sizePolicy">
@@ -654,7 +686,7 @@ QSlider::tick:horizontal {
<string> Risky Options</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/star.svg</normaloff>:/icon/star.svg</iconset>
</property>
<property name="checkable">
@@ -698,7 +730,7 @@ QSlider::tick:horizontal {
<string> Apply</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/check-circle.svg</normaloff>:/icon/check-circle.svg</iconset>
</property>
<property name="checkable">
@@ -727,7 +759,7 @@ QSlider::tick:horizontal {
<string> Settings</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/gear.svg</normaloff>:/icon/gear.svg</iconset>
</property>
<property name="checkable">
@@ -841,7 +873,7 @@ QSlider::tick:horizontal {
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/phone.svg</normaloff>:/icon/phone.svg</iconset>
</property>
</widget>
@@ -970,7 +1002,7 @@ QSlider::tick:horizontal {
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/credits/big_nugget.png</normaloff>:/credits/big_nugget.png</iconset>
</property>
<property name="iconSize">
@@ -1057,7 +1089,7 @@ QSlider::tick:horizontal {
<string> Join the Discord</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/discord.svg</normaloff>:/icon/discord.svg</iconset>
</property>
<property name="toolButtonStyle">
@@ -1071,7 +1103,7 @@ QSlider::tick:horizontal {
<string> Star on Github</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/star.svg</normaloff>:/icon/star.svg</iconset>
</property>
<property name="toolButtonStyle">
@@ -1175,7 +1207,7 @@ QSlider::tick:horizontal {
<string> LeminLimez</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/credits/LeminLimez.png</normaloff>:/credits/LeminLimez.png</iconset>
</property>
<property name="toolButtonStyle">
@@ -1202,7 +1234,7 @@ QToolButton:pressed {
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/twitter.svg</normaloff>:/icon/twitter.svg</iconset>
</property>
</widget>
@@ -1226,7 +1258,7 @@ QToolButton:pressed {
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/github.svg</normaloff>:/icon/github.svg</iconset>
</property>
</widget>
@@ -1251,7 +1283,7 @@ QToolButton:pressed {
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/currency-dollar.svg</normaloff>:/icon/currency-dollar.svg</iconset>
</property>
</widget>
@@ -1624,7 +1656,7 @@ QToolButton:pressed {
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/iphone-island.svg</normaloff>:/icon/iphone-island.svg</iconset>
</property>
<property name="iconSize">
@@ -2162,7 +2194,7 @@ Note: OTA updates will be broken until this is disabled.</string>
<string> Add Key</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/plus.svg</normaloff>:/icon/plus.svg</iconset>
</property>
<property name="checkable">
@@ -2279,7 +2311,7 @@ what you are doing.</string>
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/flag.svg</normaloff>:/icon/flag.svg</iconset>
</property>
</widget>
@@ -2511,7 +2543,7 @@ Only works on iOS 18.0 beta 1-2.</string>
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/geo-alt.svg</normaloff>:/icon/geo-alt.svg</iconset>
</property>
</widget>
@@ -3151,7 +3183,7 @@ QComboBox QAbstractItemView::item:hover {
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/app-indicator.svg</normaloff>:/icon/app-indicator.svg</iconset>
</property>
</widget>
@@ -3403,7 +3435,7 @@ QComboBox QAbstractItemView::item:hover {
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/hdd.svg</normaloff>:/icon/hdd.svg</iconset>
</property>
</widget>
@@ -3726,7 +3758,7 @@ QComboBox QAbstractItemView::item:hover {
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/toggles.svg</normaloff>:/icon/toggles.svg</iconset>
</property>
</widget>
@@ -4038,6 +4070,200 @@ To work properly, also disable the daemon using the toggle above.</string>
</item>
</layout>
</widget>
<widget class="QWidget" name="posterboardPage">
<layout class="QVBoxLayout" name="verticalLayout_14">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QWidget" name="horizontalWidget_5" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_20">
<property name="spacing">
<number>10</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item>
<widget class="QToolButton" name="toolButton_10">
<property name="enabled">
<bool>true</bool>
</property>
<property name="styleSheet">
<string notr="true">QToolButton {
icon-size: 24px;
background-color: transparent;
padding-left: 0px;
padding-right: 5px;
border-radius: 0px;
}</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icon/heart-fill.svg</normaloff>:/icon/heart-fill.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="verticalWidget_4" native="true">
<layout class="QVBoxLayout" name="verticalLayout_12">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="posterboardLbl">
<property name="font">
<font>
<pointsize>-1</pointsize>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Posterboard</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="modifyPosterboardsChk">
<property name="text">
<string>Modify</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="Line" name="line_12">
<property name="styleSheet">
<string notr="true">QFrame {
color: #414141;
}</string>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QWidget" name="posterboardPageContent" native="true">
<property name="enabled">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_13">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="regularDomainsLbl_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Current File:</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="currentPosterboardLbl">
<property name="text">
<string>None</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="selectPosterboardBtn">
<property name="text">
<string> Select File</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icon/file-earmark-zip.svg</normaloff>:/icon/file-earmark-zip.svg</iconset>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_22">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="advancedOptionsPage">
<layout class="QVBoxLayout" name="verticalLayout_14">
<property name="leftMargin">
@@ -4085,7 +4311,7 @@ To work properly, also disable the daemon using the toggle above.</string>
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/star.svg</normaloff>:/icon/star.svg</iconset>
</property>
</widget>
@@ -4468,7 +4694,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/check-circle.svg</normaloff>:/icon/check-circle.svg</iconset>
</property>
</widget>
@@ -4592,7 +4818,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
<string> Choose Gestalt File</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/folder.svg</normaloff>:/icon/folder.svg</iconset>
</property>
<property name="toolButtonStyle">
@@ -4623,7 +4849,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
<string> Apply Changes</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/check-circle.svg</normaloff>:/icon/check-circle.svg</iconset>
</property>
<property name="toolButtonStyle">
@@ -4805,7 +5031,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/gear.svg</normaloff>:/icon/gear.svg</iconset>
</property>
</widget>
@@ -5142,7 +5368,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/geo-alt.svg</normaloff>:/icon/geo-alt.svg</iconset>
</property>
</widget>
@@ -5427,7 +5653,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/pencil.svg</normaloff>:/icon/pencil.svg</iconset>
</property>
<property name="iconSize">
@@ -5558,7 +5784,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
<string> Import .cowperation</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/import.svg</normaloff>:/icon/import.svg</iconset>
</property>
<property name="iconSize">
@@ -5593,7 +5819,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
<string> New Operation</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/plus.svg</normaloff>:/icon/plus.svg</iconset>
</property>
<property name="iconSize">
@@ -5674,7 +5900,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/compass.svg</normaloff>:/icon/compass.svg</iconset>
</property>
</widget>
@@ -5810,7 +6036,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
}</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/iphone-island.svg</normaloff>:/icon/iphone-island.svg</iconset>
</property>
<property name="iconSize">
@@ -5904,7 +6130,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/folder.svg</normaloff>:/icon/folder.svg</iconset>
</property>
</widget>
@@ -5915,7 +6141,7 @@ Warning: Disabling will cause the battery to show &quot;Unknown Part&quot; or &q
<string>...</string>
</property>
<property name="icon">
<iconset>
<iconset resource="resources.qrc">
<normaloff>:/icon/file-earmark-zip.svg</normaloff>:/icon/file-earmark-zip.svg</iconset>
</property>
</widget>