risky tweaks page (not functional yet)

This commit is contained in:
leminlimez
2024-11-15 16:57:43 -05:00
parent 261ee69a5d
commit 07e9807a5f
6 changed files with 1080 additions and 279 deletions

View File

@@ -467,35 +467,6 @@ QSlider::tick:horizontal {
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="locSimPageBtn">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string> Location Simulation</string>
</property>
<property name="icon">
<iconset>
<normaloff>:/icon/geo-alt.svg</normaloff>:/icon/geo-alt.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="Line" name="sidebarDiv1">
<property name="styleSheet">
@@ -671,6 +642,35 @@ QSlider::tick:horizontal {
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="advancedPageBtn">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string> Risky Options</string>
</property>
<property name="icon">
<iconset>
<normaloff>:/icon/star.svg</normaloff>:/icon/star.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="Line" name="sidebarDiv2">
<property name="styleSheet">
@@ -1571,7 +1571,7 @@ QToolButton:pressed {
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Nugget GUI - Version 4.1 (beta 2)</string>
<string>Nugget GUI - Version 4.1 (beta 3)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -3550,6 +3550,272 @@ QComboBox QAbstractItemView::item:hover {
</item>
</layout>
</widget>
<widget class="QWidget" name="advancedOptionsPage">
<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>false</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>
<normaloff>:/icon/star.svg</normaloff>:/icon/star.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="advancedOptionsLbl">
<property name="font">
<font>
<pointsize>-1</pointsize>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>Risky Options</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_18">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</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="advancedOptionsPageContent" 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="label_17">
<property name="text">
<string>Disclaimer:
The options on this page may be unsafe for your device. Use these options at your own risk. Changing
your device resolution has the potential to brick your device when used improperly.
Nugget is not responsible if you mess up your device, especially with resolution changer.</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_19">
<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="QCheckBox" name="disableOTAChk">
<property name="text">
<string>Disable OTA Updates</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_18">
<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="QCheckBox" name="enableResolutionChk">
<property name="text">
<string>Set a Custom Device Resolution</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="resolutionContent">
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="resHeightLbl">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Height:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="resHeightTxt">
<property name="enabled">
<bool>false</bool>
</property>
<property name="placeholderText">
<string>Resolution Height</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="resWidthLbl">
<property name="text">
<string>Width:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="resWidthTxt">
<property name="placeholderText">
<string>Resolution Width</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="verticalSpacer_6">
<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="applyPage">
<layout class="QVBoxLayout" name="verticalLayout_6">
<property name="leftMargin">
@@ -4048,9 +4314,9 @@ QComboBox QAbstractItemView::item:hover {
</widget>
</item>
<item>
<widget class="QCheckBox" name="skipSetupChk">
<widget class="QCheckBox" name="autoRebootChk">
<property name="text">
<string>Skip Setup * (non-exploit files only)</string>
<string>Auto Reboot After Applying</string>
</property>
<property name="checked">
<bool>true</bool>
@@ -4058,9 +4324,31 @@ QComboBox QAbstractItemView::item:hover {
</widget>
</item>
<item>
<widget class="QCheckBox" name="autoRebootChk">
<widget class="QCheckBox" name="showRiskyChk">
<property name="text">
<string>Auto Reboot After Applying</string>
<string>Show Risky Tweak Options</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_24">
<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="QCheckBox" name="skipSetupChk">
<property name="text">
<string>Skip Setup * (non-exploit files only)</string>
</property>
<property name="checked">
<bool>true</bool>