mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
disable daemons page
This commit is contained in:
@@ -82,6 +82,7 @@ If you would like to read more about the inner workings of the exploit and iOS r
|
||||
## Credits
|
||||
- [JJTech](https://github.com/JJTech0130) for Sparserestore/[TrollRestore](https://github.com/JJTech0130/TrollRestore)
|
||||
- [disfordottie](https://x.com/disfordottie) for some global flag features
|
||||
- [Mikasa-san](https://github.com/Mikasa-san) for [Quiet Daemon](https://github.com/Mikasa-san/QuietDaemon)
|
||||
- [sneakyf1shy](https://github.com/f1shy-dev) for [AI Eligibility](https://gist.github.com/f1shy-dev/23b4a78dc283edd30ae2b2e6429129b5) (iOS 18.1 beta 4 and below)
|
||||
- [lrdsnow](https://github.com/Lrdsnow) for [EU Enabler](https://github.com/Lrdsnow/EUEnabler)
|
||||
- [pymobiledevice3](https://github.com/doronz88/pymobiledevice3) for restoring and device algorithms.
|
||||
|
||||
@@ -22,9 +22,10 @@ class Page(Enum):
|
||||
EUEnabler = 3
|
||||
Springboard = 4
|
||||
InternalOptions = 5
|
||||
RiskyTweaks = 6
|
||||
Apply = 7
|
||||
Settings = 8
|
||||
Daemons = 6
|
||||
RiskyTweaks = 7
|
||||
Apply = 8
|
||||
Settings = 9
|
||||
|
||||
class MainWindow(QtWidgets.QMainWindow):
|
||||
def __init__(self, device_manager: DeviceManager):
|
||||
@@ -48,6 +49,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.ui.euEnablerPageBtn.clicked.connect(self.on_euEnablerPageBtn_clicked)
|
||||
self.ui.springboardOptionsPageBtn.clicked.connect(self.on_springboardOptionsPageBtn_clicked)
|
||||
self.ui.internalOptionsPageBtn.clicked.connect(self.on_internalOptionsPageBtn_clicked)
|
||||
self.ui.daemonsPageBtn.clicked.connect(self.on_daemonsPageBtn_clicked)
|
||||
self.ui.advancedPageBtn.clicked.connect(self.on_advancedPageBtn_clicked)
|
||||
self.ui.applyPageBtn.clicked.connect(self.on_applyPageBtn_clicked)
|
||||
self.ui.settingsPageBtn.clicked.connect(self.on_settingsPageBtn_clicked)
|
||||
@@ -65,7 +67,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
|
||||
self.ui.jjtechBtn.clicked.connect(self.on_jjtechBtn_clicked)
|
||||
self.ui.disfordottieBtn.clicked.connect(self.on_disfordottieBtn_clicked)
|
||||
self.ui.lrdsnowBtn.clicked.connect(self.on_lrdsnowBtn_clicked)
|
||||
self.ui.mikasaBtn.clicked.connect(self.on_mikasaBtn_clicked)
|
||||
|
||||
self.ui.libiBtn.clicked.connect(self.on_libiBtn_clicked)
|
||||
self.ui.qtBtn.clicked.connect(self.on_qtBtn_clicked)
|
||||
@@ -114,6 +116,15 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.ui.pasteSoundChk.toggled.connect(self.on_pasteSoundChk_clicked)
|
||||
self.ui.notifyPastesChk.toggled.connect(self.on_notifyPastesChk_clicked)
|
||||
|
||||
## DAEMONS PAGE ACTIONS
|
||||
self.ui.thermalmonitordChk.toggled.connect(self.on_thermalmonitordChk_clicked)
|
||||
self.ui.otadChk.toggled.connect(self.on_otadChk_clicked)
|
||||
self.ui.usageTrackingAgentChk.toggled.connect(self.on_usageTrackingAgentChk_clicked)
|
||||
self.ui.gameCenterChk.toggled.connect(self.on_gameCenterChk_clicked)
|
||||
self.ui.screenTimeChk.toggled.connect(self.on_screenTimeChk_clicked)
|
||||
self.ui.crashReportsChk.toggled.connect(self.on_crashReportsChk_clicked)
|
||||
self.ui.tipsChk.toggled.connect(self.on_tipsChk_clicked)
|
||||
|
||||
## RISKY OPTIONS PAGE ACTIONS
|
||||
self.ui.disableOTAChk.toggled.connect(self.on_disableOTAChk_clicked)
|
||||
self.ui.enableResolutionChk.toggled.connect(self.on_enableResolutionChk_clicked)
|
||||
@@ -188,7 +199,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.ui.homePageBtn.setChecked(True)
|
||||
|
||||
# hide all pages
|
||||
self.ui.explorePageBtn.hide()
|
||||
self.ui.sidebarDiv1.hide()
|
||||
|
||||
self.ui.gestaltPageBtn.hide()
|
||||
@@ -196,6 +206,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.ui.euEnablerPageBtn.hide()
|
||||
self.ui.springboardOptionsPageBtn.hide()
|
||||
self.ui.internalOptionsPageBtn.hide()
|
||||
self.ui.daemonsPageBtn.hide()
|
||||
self.ui.advancedPageBtn.hide()
|
||||
|
||||
self.ui.sidebarDiv2.hide()
|
||||
@@ -209,10 +220,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.ui.devicePicker.addItem(device.name)
|
||||
|
||||
# show all pages
|
||||
self.ui.explorePageBtn.hide()
|
||||
self.ui.sidebarDiv1.show()
|
||||
self.ui.springboardOptionsPageBtn.show()
|
||||
self.ui.internalOptionsPageBtn.show()
|
||||
self.ui.daemonsPageBtn.show()
|
||||
|
||||
if self.device_manager.allow_risky_tweaks:
|
||||
self.ui.advancedPageBtn.show()
|
||||
@@ -374,6 +385,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
def on_internalOptionsPageBtn_clicked(self):
|
||||
self.ui.pages.setCurrentIndex(Page.InternalOptions.value)
|
||||
|
||||
def on_daemonsPageBtn_clicked(self):
|
||||
self.ui.pages.setCurrentIndex(Page.Daemons.value)
|
||||
|
||||
def on_advancedPageBtn_clicked(self):
|
||||
self.ui.pages.setCurrentIndex(Page.RiskyTweaks.value)
|
||||
|
||||
@@ -440,8 +454,8 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
webbrowser.open_new_tab("https://github.com/JJTech0130/TrollRestore")
|
||||
def on_disfordottieBtn_clicked(self):
|
||||
webbrowser.open_new_tab("https://twitter.com/disfordottie")
|
||||
def on_lrdsnowBtn_clicked(self):
|
||||
webbrowser.open_new_tab("https://github.com/Lrdsnow/EUEnabler")
|
||||
def on_mikasaBtn_clicked(self):
|
||||
webbrowser.open_new_tab("https://github.com/Mikasa-san/QuietDaemon")
|
||||
|
||||
def on_libiBtn_clicked(self):
|
||||
webbrowser.open_new_tab("https://github.com/doronz88/pymobiledevice3")
|
||||
@@ -688,9 +702,25 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
def on_notifyPastesChk_clicked(self, checked: bool):
|
||||
tweaks["AnnounceAllPastes"].set_enabled(checked)
|
||||
|
||||
## DAEMONS PAGE
|
||||
def on_thermalmonitordChk_clicked(self, checked: bool):
|
||||
tweaks["DisableThermalmonitord"].set_enabled(checked)
|
||||
def on_otadChk_clicked(self, checked: bool):
|
||||
tweaks["DisableOTADaemon"].set_enabled(checked)
|
||||
def on_usageTrackingAgentChk_clicked(self, checked: bool):
|
||||
tweaks["DisableUsageTracking"].set_enabled(checked)
|
||||
def on_gameCenterChk_clicked(self, checked: bool):
|
||||
tweaks["DisableGameCenter"].set_enabled(checked)
|
||||
def on_screenTimeChk_clicked(self, checked: bool):
|
||||
tweaks["DisableScreenTime"].set_enabled(checked)
|
||||
def on_crashReportsChk_clicked(self, checked: bool):
|
||||
tweaks["DisableCrashReports"].set_enabled(checked)
|
||||
def on_tipsChk_clicked(self, checked: bool):
|
||||
tweaks["DisableTips"].set_enabled(checked)
|
||||
|
||||
## Risky Options Page
|
||||
def on_disableOTAChk_clicked(self, checked: bool):
|
||||
tweaks["DisableOTA"].set_enabled(checked)
|
||||
tweaks["DisableOTAFile"].set_enabled(checked)
|
||||
|
||||
def on_enableResolutionChk_clicked(self, checked: bool):
|
||||
tweaks["CustomResolution"].set_enabled(checked)
|
||||
|
||||
356
mainwindow_ui.py
356
mainwindow_ui.py
@@ -306,20 +306,6 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout.addWidget(self.homePageBtn)
|
||||
|
||||
self.explorePageBtn = QToolButton(self.sidebar)
|
||||
self.explorePageBtn.setObjectName(u"explorePageBtn")
|
||||
self.explorePageBtn.setEnabled(True)
|
||||
sizePolicy2.setHeightForWidth(self.explorePageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.explorePageBtn.setSizePolicy(sizePolicy2)
|
||||
icon3 = QIcon()
|
||||
icon3.addFile(u":/icon/compass.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.explorePageBtn.setIcon(icon3)
|
||||
self.explorePageBtn.setCheckable(True)
|
||||
self.explorePageBtn.setAutoExclusive(True)
|
||||
self.explorePageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.explorePageBtn)
|
||||
|
||||
self.sidebarDiv1 = QFrame(self.sidebar)
|
||||
self.sidebarDiv1.setObjectName(u"sidebarDiv1")
|
||||
self.sidebarDiv1.setStyleSheet(u"QFrame {\n"
|
||||
@@ -334,9 +320,9 @@ class Ui_Nugget(object):
|
||||
self.gestaltPageBtn.setObjectName(u"gestaltPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.gestaltPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.gestaltPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon4 = QIcon()
|
||||
icon4.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.gestaltPageBtn.setIcon(icon4)
|
||||
icon3 = QIcon()
|
||||
icon3.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.gestaltPageBtn.setIcon(icon3)
|
||||
self.gestaltPageBtn.setIconSize(QSize(24, 28))
|
||||
self.gestaltPageBtn.setCheckable(True)
|
||||
self.gestaltPageBtn.setAutoExclusive(True)
|
||||
@@ -352,9 +338,9 @@ class Ui_Nugget(object):
|
||||
font = QFont()
|
||||
font.setFamilies([u".AppleSystemUIFont"])
|
||||
self.featureFlagsPageBtn.setFont(font)
|
||||
icon5 = QIcon()
|
||||
icon5.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.featureFlagsPageBtn.setIcon(icon5)
|
||||
icon4 = QIcon()
|
||||
icon4.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.featureFlagsPageBtn.setIcon(icon4)
|
||||
self.featureFlagsPageBtn.setCheckable(True)
|
||||
self.featureFlagsPageBtn.setAutoExclusive(True)
|
||||
self.featureFlagsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -365,9 +351,9 @@ class Ui_Nugget(object):
|
||||
self.euEnablerPageBtn.setObjectName(u"euEnablerPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.euEnablerPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.euEnablerPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon6 = QIcon()
|
||||
icon6.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.euEnablerPageBtn.setIcon(icon6)
|
||||
icon5 = QIcon()
|
||||
icon5.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.euEnablerPageBtn.setIcon(icon5)
|
||||
self.euEnablerPageBtn.setCheckable(True)
|
||||
self.euEnablerPageBtn.setAutoExclusive(True)
|
||||
self.euEnablerPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -378,9 +364,9 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsPageBtn.setObjectName(u"springboardOptionsPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.springboardOptionsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.springboardOptionsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon7 = QIcon()
|
||||
icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.springboardOptionsPageBtn.setIcon(icon7)
|
||||
icon6 = QIcon()
|
||||
icon6.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.springboardOptionsPageBtn.setIcon(icon6)
|
||||
self.springboardOptionsPageBtn.setCheckable(True)
|
||||
self.springboardOptionsPageBtn.setAutoExclusive(True)
|
||||
self.springboardOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -391,15 +377,29 @@ class Ui_Nugget(object):
|
||||
self.internalOptionsPageBtn.setObjectName(u"internalOptionsPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.internalOptionsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.internalOptionsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon8 = QIcon()
|
||||
icon8.addFile(u":/icon/hdd.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.internalOptionsPageBtn.setIcon(icon8)
|
||||
icon7 = QIcon()
|
||||
icon7.addFile(u":/icon/hdd.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.internalOptionsPageBtn.setIcon(icon7)
|
||||
self.internalOptionsPageBtn.setCheckable(True)
|
||||
self.internalOptionsPageBtn.setAutoExclusive(True)
|
||||
self.internalOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.internalOptionsPageBtn)
|
||||
|
||||
self.daemonsPageBtn = QToolButton(self.sidebar)
|
||||
self.daemonsPageBtn.setObjectName(u"daemonsPageBtn")
|
||||
self.daemonsPageBtn.setEnabled(True)
|
||||
sizePolicy2.setHeightForWidth(self.daemonsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.daemonsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon8 = QIcon()
|
||||
icon8.addFile(u":/icon/toggles.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.daemonsPageBtn.setIcon(icon8)
|
||||
self.daemonsPageBtn.setCheckable(True)
|
||||
self.daemonsPageBtn.setAutoExclusive(True)
|
||||
self.daemonsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.daemonsPageBtn)
|
||||
|
||||
self.advancedPageBtn = QToolButton(self.sidebar)
|
||||
self.advancedPageBtn.setObjectName(u"advancedPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.advancedPageBtn.sizePolicy().hasHeightForWidth())
|
||||
@@ -787,12 +787,12 @@ class Ui_Nugget(object):
|
||||
|
||||
self.horizontalLayout_2.addWidget(self.disfordottieBtn)
|
||||
|
||||
self.lrdsnowBtn = QToolButton(self.horizontalWidget_21)
|
||||
self.lrdsnowBtn.setObjectName(u"lrdsnowBtn")
|
||||
sizePolicy2.setHeightForWidth(self.lrdsnowBtn.sizePolicy().hasHeightForWidth())
|
||||
self.lrdsnowBtn.setSizePolicy(sizePolicy2)
|
||||
self.lrdsnowBtn.setMinimumSize(QSize(0, 37))
|
||||
self.lrdsnowBtn.setStyleSheet(u"QToolButton {\n"
|
||||
self.mikasaBtn = QToolButton(self.horizontalWidget_21)
|
||||
self.mikasaBtn.setObjectName(u"mikasaBtn")
|
||||
sizePolicy2.setHeightForWidth(self.mikasaBtn.sizePolicy().hasHeightForWidth())
|
||||
self.mikasaBtn.setSizePolicy(sizePolicy2)
|
||||
self.mikasaBtn.setMinimumSize(QSize(0, 37))
|
||||
self.mikasaBtn.setStyleSheet(u"QToolButton {\n"
|
||||
" border-top-left-radius: 0px;\n"
|
||||
" border-bottom-left-radius: 0px;\n"
|
||||
" background: none;\n"
|
||||
@@ -805,7 +805,7 @@ class Ui_Nugget(object):
|
||||
" color: #FFFFFF;\n"
|
||||
"}")
|
||||
|
||||
self.horizontalLayout_2.addWidget(self.lrdsnowBtn)
|
||||
self.horizontalLayout_2.addWidget(self.mikasaBtn)
|
||||
|
||||
|
||||
self.verticalLayout_25.addWidget(self.horizontalWidget_21)
|
||||
@@ -897,7 +897,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_8.setIcon(icon4)
|
||||
self.toolButton_8.setIcon(icon3)
|
||||
self.toolButton_8.setIconSize(QSize(30, 30))
|
||||
|
||||
self.horizontalLayout_5.addWidget(self.toolButton_8)
|
||||
@@ -1235,7 +1235,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_10.setIcon(icon5)
|
||||
self.toolButton_10.setIcon(icon4)
|
||||
|
||||
self.horizontalLayout_20.addWidget(self.toolButton_10)
|
||||
|
||||
@@ -1341,7 +1341,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_11.setIcon(icon6)
|
||||
self.toolButton_11.setIcon(icon5)
|
||||
|
||||
self.horizontalLayout_21.addWidget(self.toolButton_11)
|
||||
|
||||
@@ -1619,7 +1619,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_7.setIcon(icon7)
|
||||
self.toolButton_7.setIcon(icon6)
|
||||
|
||||
self.horizontalLayout_13.addWidget(self.toolButton_7)
|
||||
|
||||
@@ -1745,7 +1745,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_101.setIcon(icon8)
|
||||
self.toolButton_101.setIcon(icon7)
|
||||
|
||||
self.horizontalLayout_201.addWidget(self.toolButton_101)
|
||||
|
||||
@@ -1905,12 +1905,12 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_141.addWidget(self.internalOptionsPageContent)
|
||||
|
||||
self.pages.addWidget(self.internalOptionsPage)
|
||||
self.advancedOptionsPage = QWidget()
|
||||
self.advancedOptionsPage.setObjectName(u"advancedOptionsPage")
|
||||
self.verticalLayout_142 = QVBoxLayout(self.advancedOptionsPage)
|
||||
self.daemonsPage = QWidget()
|
||||
self.daemonsPage.setObjectName(u"daemonsPage")
|
||||
self.verticalLayout_142 = QVBoxLayout(self.daemonsPage)
|
||||
self.verticalLayout_142.setObjectName(u"verticalLayout_142")
|
||||
self.verticalLayout_142.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalWidget_52 = QWidget(self.advancedOptionsPage)
|
||||
self.horizontalWidget_52 = QWidget(self.daemonsPage)
|
||||
self.horizontalWidget_52.setObjectName(u"horizontalWidget_52")
|
||||
self.horizontalLayout_202 = QHBoxLayout(self.horizontalWidget_52)
|
||||
self.horizontalLayout_202.setSpacing(10)
|
||||
@@ -1918,7 +1918,7 @@ class Ui_Nugget(object):
|
||||
self.horizontalLayout_202.setContentsMargins(0, 9, 0, 9)
|
||||
self.toolButton_102 = QToolButton(self.horizontalWidget_52)
|
||||
self.toolButton_102.setObjectName(u"toolButton_102")
|
||||
self.toolButton_102.setEnabled(False)
|
||||
self.toolButton_102.setEnabled(True)
|
||||
self.toolButton_102.setStyleSheet(u"QToolButton {\n"
|
||||
" icon-size: 24px;\n"
|
||||
" background-color: transparent;\n"
|
||||
@@ -1926,7 +1926,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_102.setIcon(icon9)
|
||||
self.toolButton_102.setIcon(icon8)
|
||||
|
||||
self.horizontalLayout_202.addWidget(self.toolButton_102)
|
||||
|
||||
@@ -1936,11 +1936,11 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_122.setSpacing(6)
|
||||
self.verticalLayout_122.setObjectName(u"verticalLayout_122")
|
||||
self.verticalLayout_122.setContentsMargins(0, 0, 0, 0)
|
||||
self.advancedOptionsLbl = QLabel(self.verticalWidget_42)
|
||||
self.advancedOptionsLbl.setObjectName(u"advancedOptionsLbl")
|
||||
self.advancedOptionsLbl.setFont(font1)
|
||||
self.daemonsLbl = QLabel(self.verticalWidget_42)
|
||||
self.daemonsLbl.setObjectName(u"daemonsLbl")
|
||||
self.daemonsLbl.setFont(font1)
|
||||
|
||||
self.verticalLayout_122.addWidget(self.advancedOptionsLbl)
|
||||
self.verticalLayout_122.addWidget(self.daemonsLbl)
|
||||
|
||||
self.verticalSpacer_181 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
|
||||
|
||||
@@ -1956,7 +1956,7 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_142.addWidget(self.horizontalWidget_52)
|
||||
|
||||
self.line_122 = QFrame(self.advancedOptionsPage)
|
||||
self.line_122 = QFrame(self.daemonsPage)
|
||||
self.line_122.setObjectName(u"line_122")
|
||||
self.line_122.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
@@ -1966,16 +1966,126 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_142.addWidget(self.line_122)
|
||||
|
||||
self.advancedOptionsPageContent = QWidget(self.advancedOptionsPage)
|
||||
self.advancedOptionsPageContent.setObjectName(u"advancedOptionsPageContent")
|
||||
self.advancedOptionsPageContent.setEnabled(False)
|
||||
self.verticalLayout_132 = QVBoxLayout(self.advancedOptionsPageContent)
|
||||
self.daemonsPageContent = QWidget(self.daemonsPage)
|
||||
self.daemonsPageContent.setObjectName(u"daemonsPageContent")
|
||||
self.daemonsPageContent.setEnabled(True)
|
||||
self.verticalLayout_132 = QVBoxLayout(self.daemonsPageContent)
|
||||
self.verticalLayout_132.setObjectName(u"verticalLayout_132")
|
||||
self.verticalLayout_132.setContentsMargins(0, 0, 0, 0)
|
||||
self.thermalmonitordChk = QCheckBox(self.daemonsPageContent)
|
||||
self.thermalmonitordChk.setObjectName(u"thermalmonitordChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.thermalmonitordChk)
|
||||
|
||||
self.otadChk = QCheckBox(self.daemonsPageContent)
|
||||
self.otadChk.setObjectName(u"otadChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.otadChk)
|
||||
|
||||
self.usageTrackingAgentChk = QCheckBox(self.daemonsPageContent)
|
||||
self.usageTrackingAgentChk.setObjectName(u"usageTrackingAgentChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.usageTrackingAgentChk)
|
||||
|
||||
self.gameCenterChk = QCheckBox(self.daemonsPageContent)
|
||||
self.gameCenterChk.setObjectName(u"gameCenterChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.gameCenterChk)
|
||||
|
||||
self.screenTimeChk = QCheckBox(self.daemonsPageContent)
|
||||
self.screenTimeChk.setObjectName(u"screenTimeChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.screenTimeChk)
|
||||
|
||||
self.crashReportsChk = QCheckBox(self.daemonsPageContent)
|
||||
self.crashReportsChk.setObjectName(u"crashReportsChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.crashReportsChk)
|
||||
|
||||
self.tipsChk = QCheckBox(self.daemonsPageContent)
|
||||
self.tipsChk.setObjectName(u"tipsChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.tipsChk)
|
||||
|
||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||
|
||||
|
||||
self.verticalLayout_142.addWidget(self.daemonsPageContent)
|
||||
|
||||
self.pages.addWidget(self.daemonsPage)
|
||||
self.advancedOptionsPage = QWidget()
|
||||
self.advancedOptionsPage.setObjectName(u"advancedOptionsPage")
|
||||
self.verticalLayout_143 = QVBoxLayout(self.advancedOptionsPage)
|
||||
self.verticalLayout_143.setObjectName(u"verticalLayout_143")
|
||||
self.verticalLayout_143.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalWidget_53 = QWidget(self.advancedOptionsPage)
|
||||
self.horizontalWidget_53.setObjectName(u"horizontalWidget_53")
|
||||
self.horizontalLayout_203 = QHBoxLayout(self.horizontalWidget_53)
|
||||
self.horizontalLayout_203.setSpacing(10)
|
||||
self.horizontalLayout_203.setObjectName(u"horizontalLayout_203")
|
||||
self.horizontalLayout_203.setContentsMargins(0, 9, 0, 9)
|
||||
self.toolButton_103 = QToolButton(self.horizontalWidget_53)
|
||||
self.toolButton_103.setObjectName(u"toolButton_103")
|
||||
self.toolButton_103.setEnabled(False)
|
||||
self.toolButton_103.setStyleSheet(u"QToolButton {\n"
|
||||
" icon-size: 24px;\n"
|
||||
" background-color: transparent;\n"
|
||||
" padding-left: 0px;\n"
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_103.setIcon(icon9)
|
||||
|
||||
self.horizontalLayout_203.addWidget(self.toolButton_103)
|
||||
|
||||
self.verticalWidget_43 = QWidget(self.horizontalWidget_53)
|
||||
self.verticalWidget_43.setObjectName(u"verticalWidget_43")
|
||||
self.verticalLayout_123 = QVBoxLayout(self.verticalWidget_43)
|
||||
self.verticalLayout_123.setSpacing(6)
|
||||
self.verticalLayout_123.setObjectName(u"verticalLayout_123")
|
||||
self.verticalLayout_123.setContentsMargins(0, 0, 0, 0)
|
||||
self.advancedOptionsLbl = QLabel(self.verticalWidget_43)
|
||||
self.advancedOptionsLbl.setObjectName(u"advancedOptionsLbl")
|
||||
self.advancedOptionsLbl.setFont(font1)
|
||||
|
||||
self.verticalLayout_123.addWidget(self.advancedOptionsLbl)
|
||||
|
||||
self.verticalSpacer_182 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
|
||||
|
||||
self.verticalLayout_123.addItem(self.verticalSpacer_182)
|
||||
|
||||
|
||||
self.horizontalLayout_203.addWidget(self.verticalWidget_43)
|
||||
|
||||
self.horizontalSpacer_73 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.horizontalLayout_203.addItem(self.horizontalSpacer_73)
|
||||
|
||||
|
||||
self.verticalLayout_143.addWidget(self.horizontalWidget_53)
|
||||
|
||||
self.line_123 = QFrame(self.advancedOptionsPage)
|
||||
self.line_123.setObjectName(u"line_123")
|
||||
self.line_123.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
"}")
|
||||
self.line_123.setFrameShadow(QFrame.Plain)
|
||||
self.line_123.setFrameShape(QFrame.HLine)
|
||||
|
||||
self.verticalLayout_143.addWidget(self.line_123)
|
||||
|
||||
self.advancedOptionsPageContent = QWidget(self.advancedOptionsPage)
|
||||
self.advancedOptionsPageContent.setObjectName(u"advancedOptionsPageContent")
|
||||
self.advancedOptionsPageContent.setEnabled(True)
|
||||
self.verticalLayout_133 = QVBoxLayout(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_133.setObjectName(u"verticalLayout_133")
|
||||
self.verticalLayout_133.setContentsMargins(0, 0, 0, 0)
|
||||
self.label_17 = QLabel(self.advancedOptionsPageContent)
|
||||
self.label_17.setObjectName(u"label_17")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.label_17)
|
||||
self.verticalLayout_133.addWidget(self.label_17)
|
||||
|
||||
self.line_191 = QFrame(self.advancedOptionsPageContent)
|
||||
self.line_191.setObjectName(u"line_191")
|
||||
@@ -1985,12 +2095,12 @@ class Ui_Nugget(object):
|
||||
self.line_191.setFrameShadow(QFrame.Plain)
|
||||
self.line_191.setFrameShape(QFrame.HLine)
|
||||
|
||||
self.verticalLayout_132.addWidget(self.line_191)
|
||||
self.verticalLayout_133.addWidget(self.line_191)
|
||||
|
||||
self.disableOTAChk = QCheckBox(self.advancedOptionsPageContent)
|
||||
self.disableOTAChk.setObjectName(u"disableOTAChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.disableOTAChk)
|
||||
self.verticalLayout_133.addWidget(self.disableOTAChk)
|
||||
|
||||
self.line_181 = QFrame(self.advancedOptionsPageContent)
|
||||
self.line_181.setObjectName(u"line_181")
|
||||
@@ -2000,47 +2110,95 @@ class Ui_Nugget(object):
|
||||
self.line_181.setFrameShadow(QFrame.Plain)
|
||||
self.line_181.setFrameShape(QFrame.HLine)
|
||||
|
||||
self.verticalLayout_132.addWidget(self.line_181)
|
||||
self.verticalLayout_133.addWidget(self.line_181)
|
||||
|
||||
self.enableResolutionChk = QCheckBox(self.advancedOptionsPageContent)
|
||||
self.enableResolutionChk.setObjectName(u"enableResolutionChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.enableResolutionChk)
|
||||
self.verticalLayout_133.addWidget(self.enableResolutionChk)
|
||||
|
||||
self.resolutionContent = QVBoxLayout()
|
||||
self.resolutionContent.setObjectName(u"resolutionContent")
|
||||
self.resolutionContent.setContentsMargins(-1, -1, -1, 10)
|
||||
self.resHeightLbl = QLabel(self.advancedOptionsPageContent)
|
||||
self.resChangerContent = QWidget(self.advancedOptionsPageContent)
|
||||
self.resChangerContent.setObjectName(u"resChangerContent")
|
||||
self.resChangerContent.setEnabled(True)
|
||||
self.verticalLayout_35 = QVBoxLayout(self.resChangerContent)
|
||||
self.verticalLayout_35.setObjectName(u"verticalLayout_35")
|
||||
self.verticalLayout_35.setContentsMargins(0, 0, 0, 0)
|
||||
self.resHeightLbl = QLabel(self.resChangerContent)
|
||||
self.resHeightLbl.setObjectName(u"resHeightLbl")
|
||||
self.resHeightLbl.setEnabled(False)
|
||||
|
||||
self.resolutionContent.addWidget(self.resHeightLbl)
|
||||
self.verticalLayout_35.addWidget(self.resHeightLbl)
|
||||
|
||||
self.resHeightTxt = QLineEdit(self.advancedOptionsPageContent)
|
||||
self.horizontalLayout_9 = QHBoxLayout()
|
||||
self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
|
||||
self.horizontalLayout_9.setContentsMargins(-1, -1, -1, 5)
|
||||
self.resHeightTxt = QLineEdit(self.resChangerContent)
|
||||
self.resHeightTxt.setObjectName(u"resHeightTxt")
|
||||
self.resHeightTxt.setEnabled(False)
|
||||
self.resHeightTxt.setEnabled(True)
|
||||
|
||||
self.resolutionContent.addWidget(self.resHeightTxt)
|
||||
self.horizontalLayout_9.addWidget(self.resHeightTxt)
|
||||
|
||||
self.resWidthLbl = QLabel(self.advancedOptionsPageContent)
|
||||
self.resHeightWarningLbl = QLabel(self.resChangerContent)
|
||||
self.resHeightWarningLbl.setObjectName(u"resHeightWarningLbl")
|
||||
self.resHeightWarningLbl.setMinimumSize(QSize(22, 0))
|
||||
self.resHeightWarningLbl.setStyleSheet(u"QLabel {\n"
|
||||
" border: 2px solid red;\n"
|
||||
" border-radius: 25px;\n"
|
||||
" color: red;\n"
|
||||
"}")
|
||||
self.resHeightWarningLbl.setFrameShape(QFrame.NoFrame)
|
||||
self.resHeightWarningLbl.setFrameShadow(QFrame.Plain)
|
||||
self.resHeightWarningLbl.setScaledContents(False)
|
||||
self.resHeightWarningLbl.setAlignment(Qt.AlignCenter)
|
||||
|
||||
self.horizontalLayout_9.addWidget(self.resHeightWarningLbl)
|
||||
|
||||
|
||||
self.verticalLayout_35.addLayout(self.horizontalLayout_9)
|
||||
|
||||
self.resWidthLbl = QLabel(self.resChangerContent)
|
||||
self.resWidthLbl.setObjectName(u"resWidthLbl")
|
||||
|
||||
self.resolutionContent.addWidget(self.resWidthLbl)
|
||||
self.verticalLayout_35.addWidget(self.resWidthLbl)
|
||||
|
||||
self.resWidthTxt = QLineEdit(self.advancedOptionsPageContent)
|
||||
self.resolutionContent = QVBoxLayout()
|
||||
self.resolutionContent.setObjectName(u"resolutionContent")
|
||||
self.resolutionContent.setContentsMargins(-1, -1, -1, 0)
|
||||
self.horizontalLayout_10 = QHBoxLayout()
|
||||
self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
|
||||
self.horizontalLayout_10.setContentsMargins(-1, -1, -1, 5)
|
||||
self.resWidthTxt = QLineEdit(self.resChangerContent)
|
||||
self.resWidthTxt.setObjectName(u"resWidthTxt")
|
||||
|
||||
self.resolutionContent.addWidget(self.resWidthTxt)
|
||||
self.horizontalLayout_10.addWidget(self.resWidthTxt)
|
||||
|
||||
self.resWidthWarningLbl = QLabel(self.resChangerContent)
|
||||
self.resWidthWarningLbl.setObjectName(u"resWidthWarningLbl")
|
||||
self.resWidthWarningLbl.setMinimumSize(QSize(22, 0))
|
||||
self.resWidthWarningLbl.setStyleSheet(u"QLabel {\n"
|
||||
" border: 2px solid red;\n"
|
||||
" border-radius: 25px;\n"
|
||||
" color: red;\n"
|
||||
"}")
|
||||
self.resWidthWarningLbl.setAlignment(Qt.AlignCenter)
|
||||
|
||||
self.horizontalLayout_10.addWidget(self.resWidthWarningLbl)
|
||||
|
||||
|
||||
self.verticalLayout_132.addLayout(self.resolutionContent)
|
||||
|
||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||
self.resolutionContent.addLayout(self.horizontalLayout_10)
|
||||
|
||||
|
||||
self.verticalLayout_142.addWidget(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_35.addLayout(self.resolutionContent)
|
||||
|
||||
|
||||
self.verticalLayout_133.addWidget(self.resChangerContent)
|
||||
|
||||
self.verticalSpacer_63 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_133.addItem(self.verticalSpacer_63)
|
||||
|
||||
|
||||
self.verticalLayout_143.addWidget(self.advancedOptionsPageContent)
|
||||
|
||||
self.pages.addWidget(self.advancedOptionsPage)
|
||||
self.applyPage = QWidget()
|
||||
@@ -2378,7 +2536,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_13.setIcon(icon6)
|
||||
self.toolButton_13.setIcon(icon5)
|
||||
|
||||
self.horizontalLayout_28.addWidget(self.toolButton_13)
|
||||
|
||||
@@ -2644,7 +2802,9 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_16.setIcon(icon3)
|
||||
icon22 = QIcon()
|
||||
icon22.addFile(u":/icon/compass.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.toolButton_16.setIcon(icon22)
|
||||
|
||||
self.horizontalLayout_31.addWidget(self.toolButton_16)
|
||||
|
||||
@@ -2714,7 +2874,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.themesBtn.setIcon(icon4)
|
||||
self.themesBtn.setIcon(icon3)
|
||||
self.themesBtn.setIconSize(QSize(30, 30))
|
||||
|
||||
self.horizontalLayout_23.addWidget(self.themesBtn)
|
||||
@@ -2760,9 +2920,9 @@ class Ui_Nugget(object):
|
||||
|
||||
self.importThemeZipBtn = QToolButton(self.horizontalWidget7)
|
||||
self.importThemeZipBtn.setObjectName(u"importThemeZipBtn")
|
||||
icon22 = QIcon()
|
||||
icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.importThemeZipBtn.setIcon(icon22)
|
||||
icon23 = QIcon()
|
||||
icon23.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.importThemeZipBtn.setIcon(icon23)
|
||||
|
||||
self.horizontalLayout_26.addWidget(self.importThemeZipBtn)
|
||||
|
||||
@@ -2864,7 +3024,7 @@ class Ui_Nugget(object):
|
||||
self.retranslateUi(Nugget)
|
||||
|
||||
self.devicePicker.setCurrentIndex(-1)
|
||||
self.pages.setCurrentIndex(8)
|
||||
self.pages.setCurrentIndex(0)
|
||||
self.dynamicIslandDrp.setCurrentIndex(0)
|
||||
self.spoofedModelDrp.setCurrentIndex(0)
|
||||
|
||||
@@ -2880,8 +3040,6 @@ class Ui_Nugget(object):
|
||||
self.titleBar.setText(QCoreApplication.translate("Nugget", u"Nugget", None))
|
||||
self.homePageBtn.setText(QCoreApplication.translate("Nugget", u" Home", None))
|
||||
self.homePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.explorePageBtn.setText(QCoreApplication.translate("Nugget", u" Explore", None))
|
||||
self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None))
|
||||
self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None))
|
||||
@@ -2892,7 +3050,9 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None))
|
||||
self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.advancedPageBtn.setText(QCoreApplication.translate("Nugget", u" Advanced Options", None))
|
||||
self.daemonsPageBtn.setText(QCoreApplication.translate("Nugget", u" Daemons", None))
|
||||
self.daemonsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.advancedPageBtn.setText(QCoreApplication.translate("Nugget", u" Risky Options", None))
|
||||
self.advancedPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None))
|
||||
self.applyPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
@@ -2914,12 +3074,12 @@ class Ui_Nugget(object):
|
||||
"Sparserestore", None))
|
||||
self.disfordottieBtn.setText(QCoreApplication.translate("Nugget", u"disfordottie\n"
|
||||
"Clock Anim, Photos UI", None))
|
||||
self.lrdsnowBtn.setText(QCoreApplication.translate("Nugget", u"lrdsnow\n"
|
||||
"EU Enabler", None))
|
||||
self.mikasaBtn.setText(QCoreApplication.translate("Nugget", u"Mikasa\n"
|
||||
"Quiet Daemon", None))
|
||||
self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None))
|
||||
self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None))
|
||||
self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.1 (beta 2)", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.2 (beta 1)", None))
|
||||
self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None))
|
||||
self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None))
|
||||
self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None))
|
||||
@@ -3035,7 +3195,15 @@ class Ui_Nugget(object):
|
||||
self.enableWakeVibrateChk.setText(QCoreApplication.translate("Nugget", u"Vibrate on Raise-to-Wake", None))
|
||||
self.pasteSoundChk.setText(QCoreApplication.translate("Nugget", u"Play Sound on Paste", None))
|
||||
self.notifyPastesChk.setText(QCoreApplication.translate("Nugget", u"Show Notifications for System Pastes", None))
|
||||
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Advanced Options", None))
|
||||
self.daemonsLbl.setText(QCoreApplication.translate("Nugget", u"Daemons", None))
|
||||
self.thermalmonitordChk.setText(QCoreApplication.translate("Nugget", u"Disable thermalmonitord", None))
|
||||
self.otadChk.setText(QCoreApplication.translate("Nugget", u"Disable OTA", None))
|
||||
self.usageTrackingAgentChk.setText(QCoreApplication.translate("Nugget", u"Disable UsageTrackingAgent", None))
|
||||
self.gameCenterChk.setText(QCoreApplication.translate("Nugget", u"Disable Game Center", None))
|
||||
self.screenTimeChk.setText(QCoreApplication.translate("Nugget", u"Disable Screen Time Agent", None))
|
||||
self.crashReportsChk.setText(QCoreApplication.translate("Nugget", u"Disable Logs, Dumps, and Crash Reports", None))
|
||||
self.tipsChk.setText(QCoreApplication.translate("Nugget", u"Disable Tips Services", None))
|
||||
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
|
||||
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
|
||||
"\n"
|
||||
"The options on this page may be unsafe for your device. Use these options at your own risk. Changing\n"
|
||||
@@ -3046,8 +3214,10 @@ class Ui_Nugget(object):
|
||||
self.enableResolutionChk.setText(QCoreApplication.translate("Nugget", u"Set a Custom Device Resolution", None))
|
||||
self.resHeightLbl.setText(QCoreApplication.translate("Nugget", u"Height:", None))
|
||||
self.resHeightTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Resolution Height", None))
|
||||
self.resHeightWarningLbl.setText(QCoreApplication.translate("Nugget", u"!", None))
|
||||
self.resWidthLbl.setText(QCoreApplication.translate("Nugget", u"Width:", None))
|
||||
self.resWidthTxt.setPlaceholderText(QCoreApplication.translate("Nugget", u"Resolution Width", None))
|
||||
self.resWidthWarningLbl.setText(QCoreApplication.translate("Nugget", u"!", None))
|
||||
self.statusBarLbl_5.setText(QCoreApplication.translate("Nugget", u"Apply", None))
|
||||
self.label_16.setText("")
|
||||
self.modifiedTweaksLbl.setText(QCoreApplication.translate("Nugget", u"Current gestalt file location:", None))
|
||||
|
||||
290
qt/mainwindow.ui
290
qt/mainwindow.ui
@@ -435,38 +435,6 @@ QSlider::tick:horizontal {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="explorePageBtn">
|
||||
<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> Explore</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/icon/compass.svg</normaloff>:/icon/compass.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">
|
||||
@@ -642,6 +610,38 @@ QSlider::tick:horizontal {
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="daemonsPageBtn">
|
||||
<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> Daemons</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/icon/toggles.svg</normaloff>:/icon/toggles.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">
|
||||
@@ -1434,7 +1434,7 @@ Clock Anim, Photos UI</string>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="lrdsnowBtn">
|
||||
<widget class="QToolButton" name="mikasaBtn">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
@@ -1462,8 +1462,8 @@ QToolButton:pressed {
|
||||
}</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>lrdsnow
|
||||
EU Enabler</string>
|
||||
<string>Mikasa
|
||||
Quiet Daemon</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -1571,7 +1571,7 @@ QToolButton:pressed {
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Nugget GUI - Version 4.1</string>
|
||||
<string>Nugget GUI - Version 4.2 (beta 1)</string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
@@ -3550,6 +3550,224 @@ QComboBox QAbstractItemView::item:hover {
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QWidget" name="daemonsPage">
|
||||
<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>
|
||||
<normaloff>:/icon/toggles.svg</normaloff>:/icon/toggles.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="daemonsLbl">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>-1</pointsize>
|
||||
<bold>false</bold>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Daemons</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="daemonsPageContent" native="true">
|
||||
<property name="enabled">
|
||||
<bool>true</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="QCheckBox" name="thermalmonitordChk">
|
||||
<property name="text">
|
||||
<string>Disable thermalmonitord</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="otadChk">
|
||||
<property name="text">
|
||||
<string>Disable OTA</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="usageTrackingAgentChk">
|
||||
<property name="text">
|
||||
<string>Disable UsageTrackingAgent</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="gameCenterChk">
|
||||
<property name="text">
|
||||
<string>Disable Game Center</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="screenTimeChk">
|
||||
<property name="text">
|
||||
<string>Disable Screen Time Agent</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="crashReportsChk">
|
||||
<property name="text">
|
||||
<string>Disable Logs, Dumps, and Crash Reports</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="tipsChk">
|
||||
<property name="text">
|
||||
<string>Disable Tips Services</string>
|
||||
</property>
|
||||
</widget>
|
||||
</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="advancedOptionsPage">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_14">
|
||||
<property name="leftMargin">
|
||||
|
||||
@@ -306,20 +306,6 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout.addWidget(self.homePageBtn)
|
||||
|
||||
self.explorePageBtn = QToolButton(self.sidebar)
|
||||
self.explorePageBtn.setObjectName(u"explorePageBtn")
|
||||
self.explorePageBtn.setEnabled(True)
|
||||
sizePolicy2.setHeightForWidth(self.explorePageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.explorePageBtn.setSizePolicy(sizePolicy2)
|
||||
icon3 = QIcon()
|
||||
icon3.addFile(u":/icon/compass.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.explorePageBtn.setIcon(icon3)
|
||||
self.explorePageBtn.setCheckable(True)
|
||||
self.explorePageBtn.setAutoExclusive(True)
|
||||
self.explorePageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.explorePageBtn)
|
||||
|
||||
self.sidebarDiv1 = QFrame(self.sidebar)
|
||||
self.sidebarDiv1.setObjectName(u"sidebarDiv1")
|
||||
self.sidebarDiv1.setStyleSheet(u"QFrame {\n"
|
||||
@@ -334,9 +320,9 @@ class Ui_Nugget(object):
|
||||
self.gestaltPageBtn.setObjectName(u"gestaltPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.gestaltPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.gestaltPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon4 = QIcon()
|
||||
icon4.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.gestaltPageBtn.setIcon(icon4)
|
||||
icon3 = QIcon()
|
||||
icon3.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.gestaltPageBtn.setIcon(icon3)
|
||||
self.gestaltPageBtn.setIconSize(QSize(24, 28))
|
||||
self.gestaltPageBtn.setCheckable(True)
|
||||
self.gestaltPageBtn.setAutoExclusive(True)
|
||||
@@ -352,9 +338,9 @@ class Ui_Nugget(object):
|
||||
font = QFont()
|
||||
font.setFamilies([u".AppleSystemUIFont"])
|
||||
self.featureFlagsPageBtn.setFont(font)
|
||||
icon5 = QIcon()
|
||||
icon5.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.featureFlagsPageBtn.setIcon(icon5)
|
||||
icon4 = QIcon()
|
||||
icon4.addFile(u":/icon/flag.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.featureFlagsPageBtn.setIcon(icon4)
|
||||
self.featureFlagsPageBtn.setCheckable(True)
|
||||
self.featureFlagsPageBtn.setAutoExclusive(True)
|
||||
self.featureFlagsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -365,9 +351,9 @@ class Ui_Nugget(object):
|
||||
self.euEnablerPageBtn.setObjectName(u"euEnablerPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.euEnablerPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.euEnablerPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon6 = QIcon()
|
||||
icon6.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.euEnablerPageBtn.setIcon(icon6)
|
||||
icon5 = QIcon()
|
||||
icon5.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.euEnablerPageBtn.setIcon(icon5)
|
||||
self.euEnablerPageBtn.setCheckable(True)
|
||||
self.euEnablerPageBtn.setAutoExclusive(True)
|
||||
self.euEnablerPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -378,9 +364,9 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsPageBtn.setObjectName(u"springboardOptionsPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.springboardOptionsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.springboardOptionsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon7 = QIcon()
|
||||
icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.springboardOptionsPageBtn.setIcon(icon7)
|
||||
icon6 = QIcon()
|
||||
icon6.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.springboardOptionsPageBtn.setIcon(icon6)
|
||||
self.springboardOptionsPageBtn.setCheckable(True)
|
||||
self.springboardOptionsPageBtn.setAutoExclusive(True)
|
||||
self.springboardOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -391,15 +377,29 @@ class Ui_Nugget(object):
|
||||
self.internalOptionsPageBtn.setObjectName(u"internalOptionsPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.internalOptionsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.internalOptionsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon8 = QIcon()
|
||||
icon8.addFile(u":/icon/hdd.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.internalOptionsPageBtn.setIcon(icon8)
|
||||
icon7 = QIcon()
|
||||
icon7.addFile(u":/icon/hdd.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.internalOptionsPageBtn.setIcon(icon7)
|
||||
self.internalOptionsPageBtn.setCheckable(True)
|
||||
self.internalOptionsPageBtn.setAutoExclusive(True)
|
||||
self.internalOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.internalOptionsPageBtn)
|
||||
|
||||
self.daemonsPageBtn = QToolButton(self.sidebar)
|
||||
self.daemonsPageBtn.setObjectName(u"daemonsPageBtn")
|
||||
self.daemonsPageBtn.setEnabled(True)
|
||||
sizePolicy2.setHeightForWidth(self.daemonsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.daemonsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon8 = QIcon()
|
||||
icon8.addFile(u":/icon/toggles.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.daemonsPageBtn.setIcon(icon8)
|
||||
self.daemonsPageBtn.setCheckable(True)
|
||||
self.daemonsPageBtn.setAutoExclusive(True)
|
||||
self.daemonsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.daemonsPageBtn)
|
||||
|
||||
self.advancedPageBtn = QToolButton(self.sidebar)
|
||||
self.advancedPageBtn.setObjectName(u"advancedPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.advancedPageBtn.sizePolicy().hasHeightForWidth())
|
||||
@@ -787,12 +787,12 @@ class Ui_Nugget(object):
|
||||
|
||||
self.horizontalLayout_2.addWidget(self.disfordottieBtn)
|
||||
|
||||
self.lrdsnowBtn = QToolButton(self.horizontalWidget_21)
|
||||
self.lrdsnowBtn.setObjectName(u"lrdsnowBtn")
|
||||
sizePolicy2.setHeightForWidth(self.lrdsnowBtn.sizePolicy().hasHeightForWidth())
|
||||
self.lrdsnowBtn.setSizePolicy(sizePolicy2)
|
||||
self.lrdsnowBtn.setMinimumSize(QSize(0, 37))
|
||||
self.lrdsnowBtn.setStyleSheet(u"QToolButton {\n"
|
||||
self.mikasaBtn = QToolButton(self.horizontalWidget_21)
|
||||
self.mikasaBtn.setObjectName(u"mikasaBtn")
|
||||
sizePolicy2.setHeightForWidth(self.mikasaBtn.sizePolicy().hasHeightForWidth())
|
||||
self.mikasaBtn.setSizePolicy(sizePolicy2)
|
||||
self.mikasaBtn.setMinimumSize(QSize(0, 37))
|
||||
self.mikasaBtn.setStyleSheet(u"QToolButton {\n"
|
||||
" border-top-left-radius: 0px;\n"
|
||||
" border-bottom-left-radius: 0px;\n"
|
||||
" background: none;\n"
|
||||
@@ -805,7 +805,7 @@ class Ui_Nugget(object):
|
||||
" color: #FFFFFF;\n"
|
||||
"}")
|
||||
|
||||
self.horizontalLayout_2.addWidget(self.lrdsnowBtn)
|
||||
self.horizontalLayout_2.addWidget(self.mikasaBtn)
|
||||
|
||||
|
||||
self.verticalLayout_25.addWidget(self.horizontalWidget_21)
|
||||
@@ -897,7 +897,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_8.setIcon(icon4)
|
||||
self.toolButton_8.setIcon(icon3)
|
||||
self.toolButton_8.setIconSize(QSize(30, 30))
|
||||
|
||||
self.horizontalLayout_5.addWidget(self.toolButton_8)
|
||||
@@ -1235,7 +1235,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_10.setIcon(icon5)
|
||||
self.toolButton_10.setIcon(icon4)
|
||||
|
||||
self.horizontalLayout_20.addWidget(self.toolButton_10)
|
||||
|
||||
@@ -1341,7 +1341,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_11.setIcon(icon6)
|
||||
self.toolButton_11.setIcon(icon5)
|
||||
|
||||
self.horizontalLayout_21.addWidget(self.toolButton_11)
|
||||
|
||||
@@ -1619,7 +1619,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_7.setIcon(icon7)
|
||||
self.toolButton_7.setIcon(icon6)
|
||||
|
||||
self.horizontalLayout_13.addWidget(self.toolButton_7)
|
||||
|
||||
@@ -1745,7 +1745,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_101.setIcon(icon8)
|
||||
self.toolButton_101.setIcon(icon7)
|
||||
|
||||
self.horizontalLayout_201.addWidget(self.toolButton_101)
|
||||
|
||||
@@ -1905,12 +1905,12 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_141.addWidget(self.internalOptionsPageContent)
|
||||
|
||||
self.pages.addWidget(self.internalOptionsPage)
|
||||
self.advancedOptionsPage = QWidget()
|
||||
self.advancedOptionsPage.setObjectName(u"advancedOptionsPage")
|
||||
self.verticalLayout_142 = QVBoxLayout(self.advancedOptionsPage)
|
||||
self.daemonsPage = QWidget()
|
||||
self.daemonsPage.setObjectName(u"daemonsPage")
|
||||
self.verticalLayout_142 = QVBoxLayout(self.daemonsPage)
|
||||
self.verticalLayout_142.setObjectName(u"verticalLayout_142")
|
||||
self.verticalLayout_142.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalWidget_52 = QWidget(self.advancedOptionsPage)
|
||||
self.horizontalWidget_52 = QWidget(self.daemonsPage)
|
||||
self.horizontalWidget_52.setObjectName(u"horizontalWidget_52")
|
||||
self.horizontalLayout_202 = QHBoxLayout(self.horizontalWidget_52)
|
||||
self.horizontalLayout_202.setSpacing(10)
|
||||
@@ -1918,7 +1918,7 @@ class Ui_Nugget(object):
|
||||
self.horizontalLayout_202.setContentsMargins(0, 9, 0, 9)
|
||||
self.toolButton_102 = QToolButton(self.horizontalWidget_52)
|
||||
self.toolButton_102.setObjectName(u"toolButton_102")
|
||||
self.toolButton_102.setEnabled(False)
|
||||
self.toolButton_102.setEnabled(True)
|
||||
self.toolButton_102.setStyleSheet(u"QToolButton {\n"
|
||||
" icon-size: 24px;\n"
|
||||
" background-color: transparent;\n"
|
||||
@@ -1926,7 +1926,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_102.setIcon(icon9)
|
||||
self.toolButton_102.setIcon(icon8)
|
||||
|
||||
self.horizontalLayout_202.addWidget(self.toolButton_102)
|
||||
|
||||
@@ -1936,11 +1936,11 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_122.setSpacing(6)
|
||||
self.verticalLayout_122.setObjectName(u"verticalLayout_122")
|
||||
self.verticalLayout_122.setContentsMargins(0, 0, 0, 0)
|
||||
self.advancedOptionsLbl = QLabel(self.verticalWidget_42)
|
||||
self.advancedOptionsLbl.setObjectName(u"advancedOptionsLbl")
|
||||
self.advancedOptionsLbl.setFont(font1)
|
||||
self.daemonsLbl = QLabel(self.verticalWidget_42)
|
||||
self.daemonsLbl.setObjectName(u"daemonsLbl")
|
||||
self.daemonsLbl.setFont(font1)
|
||||
|
||||
self.verticalLayout_122.addWidget(self.advancedOptionsLbl)
|
||||
self.verticalLayout_122.addWidget(self.daemonsLbl)
|
||||
|
||||
self.verticalSpacer_181 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
|
||||
|
||||
@@ -1956,7 +1956,7 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_142.addWidget(self.horizontalWidget_52)
|
||||
|
||||
self.line_122 = QFrame(self.advancedOptionsPage)
|
||||
self.line_122 = QFrame(self.daemonsPage)
|
||||
self.line_122.setObjectName(u"line_122")
|
||||
self.line_122.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
@@ -1966,16 +1966,126 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_142.addWidget(self.line_122)
|
||||
|
||||
self.daemonsPageContent = QWidget(self.daemonsPage)
|
||||
self.daemonsPageContent.setObjectName(u"daemonsPageContent")
|
||||
self.daemonsPageContent.setEnabled(True)
|
||||
self.verticalLayout_132 = QVBoxLayout(self.daemonsPageContent)
|
||||
self.verticalLayout_132.setObjectName(u"verticalLayout_132")
|
||||
self.verticalLayout_132.setContentsMargins(0, 0, 0, 0)
|
||||
self.thermalmonitordChk = QCheckBox(self.daemonsPageContent)
|
||||
self.thermalmonitordChk.setObjectName(u"thermalmonitordChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.thermalmonitordChk)
|
||||
|
||||
self.otadChk = QCheckBox(self.daemonsPageContent)
|
||||
self.otadChk.setObjectName(u"otadChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.otadChk)
|
||||
|
||||
self.usageTrackingAgentChk = QCheckBox(self.daemonsPageContent)
|
||||
self.usageTrackingAgentChk.setObjectName(u"usageTrackingAgentChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.usageTrackingAgentChk)
|
||||
|
||||
self.gameCenterChk = QCheckBox(self.daemonsPageContent)
|
||||
self.gameCenterChk.setObjectName(u"gameCenterChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.gameCenterChk)
|
||||
|
||||
self.screenTimeChk = QCheckBox(self.daemonsPageContent)
|
||||
self.screenTimeChk.setObjectName(u"screenTimeChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.screenTimeChk)
|
||||
|
||||
self.crashReportsChk = QCheckBox(self.daemonsPageContent)
|
||||
self.crashReportsChk.setObjectName(u"crashReportsChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.crashReportsChk)
|
||||
|
||||
self.tipsChk = QCheckBox(self.daemonsPageContent)
|
||||
self.tipsChk.setObjectName(u"tipsChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.tipsChk)
|
||||
|
||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||
|
||||
|
||||
self.verticalLayout_142.addWidget(self.daemonsPageContent)
|
||||
|
||||
self.pages.addWidget(self.daemonsPage)
|
||||
self.advancedOptionsPage = QWidget()
|
||||
self.advancedOptionsPage.setObjectName(u"advancedOptionsPage")
|
||||
self.verticalLayout_143 = QVBoxLayout(self.advancedOptionsPage)
|
||||
self.verticalLayout_143.setObjectName(u"verticalLayout_143")
|
||||
self.verticalLayout_143.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalWidget_53 = QWidget(self.advancedOptionsPage)
|
||||
self.horizontalWidget_53.setObjectName(u"horizontalWidget_53")
|
||||
self.horizontalLayout_203 = QHBoxLayout(self.horizontalWidget_53)
|
||||
self.horizontalLayout_203.setSpacing(10)
|
||||
self.horizontalLayout_203.setObjectName(u"horizontalLayout_203")
|
||||
self.horizontalLayout_203.setContentsMargins(0, 9, 0, 9)
|
||||
self.toolButton_103 = QToolButton(self.horizontalWidget_53)
|
||||
self.toolButton_103.setObjectName(u"toolButton_103")
|
||||
self.toolButton_103.setEnabled(False)
|
||||
self.toolButton_103.setStyleSheet(u"QToolButton {\n"
|
||||
" icon-size: 24px;\n"
|
||||
" background-color: transparent;\n"
|
||||
" padding-left: 0px;\n"
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_103.setIcon(icon9)
|
||||
|
||||
self.horizontalLayout_203.addWidget(self.toolButton_103)
|
||||
|
||||
self.verticalWidget_43 = QWidget(self.horizontalWidget_53)
|
||||
self.verticalWidget_43.setObjectName(u"verticalWidget_43")
|
||||
self.verticalLayout_123 = QVBoxLayout(self.verticalWidget_43)
|
||||
self.verticalLayout_123.setSpacing(6)
|
||||
self.verticalLayout_123.setObjectName(u"verticalLayout_123")
|
||||
self.verticalLayout_123.setContentsMargins(0, 0, 0, 0)
|
||||
self.advancedOptionsLbl = QLabel(self.verticalWidget_43)
|
||||
self.advancedOptionsLbl.setObjectName(u"advancedOptionsLbl")
|
||||
self.advancedOptionsLbl.setFont(font1)
|
||||
|
||||
self.verticalLayout_123.addWidget(self.advancedOptionsLbl)
|
||||
|
||||
self.verticalSpacer_182 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
|
||||
|
||||
self.verticalLayout_123.addItem(self.verticalSpacer_182)
|
||||
|
||||
|
||||
self.horizontalLayout_203.addWidget(self.verticalWidget_43)
|
||||
|
||||
self.horizontalSpacer_73 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.horizontalLayout_203.addItem(self.horizontalSpacer_73)
|
||||
|
||||
|
||||
self.verticalLayout_143.addWidget(self.horizontalWidget_53)
|
||||
|
||||
self.line_123 = QFrame(self.advancedOptionsPage)
|
||||
self.line_123.setObjectName(u"line_123")
|
||||
self.line_123.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
"}")
|
||||
self.line_123.setFrameShadow(QFrame.Plain)
|
||||
self.line_123.setFrameShape(QFrame.HLine)
|
||||
|
||||
self.verticalLayout_143.addWidget(self.line_123)
|
||||
|
||||
self.advancedOptionsPageContent = QWidget(self.advancedOptionsPage)
|
||||
self.advancedOptionsPageContent.setObjectName(u"advancedOptionsPageContent")
|
||||
self.advancedOptionsPageContent.setEnabled(True)
|
||||
self.verticalLayout_132 = QVBoxLayout(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_132.setObjectName(u"verticalLayout_132")
|
||||
self.verticalLayout_132.setContentsMargins(0, 0, 0, 0)
|
||||
self.verticalLayout_133 = QVBoxLayout(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_133.setObjectName(u"verticalLayout_133")
|
||||
self.verticalLayout_133.setContentsMargins(0, 0, 0, 0)
|
||||
self.label_17 = QLabel(self.advancedOptionsPageContent)
|
||||
self.label_17.setObjectName(u"label_17")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.label_17)
|
||||
self.verticalLayout_133.addWidget(self.label_17)
|
||||
|
||||
self.line_191 = QFrame(self.advancedOptionsPageContent)
|
||||
self.line_191.setObjectName(u"line_191")
|
||||
@@ -1985,12 +2095,12 @@ class Ui_Nugget(object):
|
||||
self.line_191.setFrameShadow(QFrame.Plain)
|
||||
self.line_191.setFrameShape(QFrame.HLine)
|
||||
|
||||
self.verticalLayout_132.addWidget(self.line_191)
|
||||
self.verticalLayout_133.addWidget(self.line_191)
|
||||
|
||||
self.disableOTAChk = QCheckBox(self.advancedOptionsPageContent)
|
||||
self.disableOTAChk.setObjectName(u"disableOTAChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.disableOTAChk)
|
||||
self.verticalLayout_133.addWidget(self.disableOTAChk)
|
||||
|
||||
self.line_181 = QFrame(self.advancedOptionsPageContent)
|
||||
self.line_181.setObjectName(u"line_181")
|
||||
@@ -2000,12 +2110,12 @@ class Ui_Nugget(object):
|
||||
self.line_181.setFrameShadow(QFrame.Plain)
|
||||
self.line_181.setFrameShape(QFrame.HLine)
|
||||
|
||||
self.verticalLayout_132.addWidget(self.line_181)
|
||||
self.verticalLayout_133.addWidget(self.line_181)
|
||||
|
||||
self.enableResolutionChk = QCheckBox(self.advancedOptionsPageContent)
|
||||
self.enableResolutionChk.setObjectName(u"enableResolutionChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.enableResolutionChk)
|
||||
self.verticalLayout_133.addWidget(self.enableResolutionChk)
|
||||
|
||||
self.resChangerContent = QWidget(self.advancedOptionsPageContent)
|
||||
self.resChangerContent.setObjectName(u"resChangerContent")
|
||||
@@ -2081,14 +2191,14 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_35.addLayout(self.resolutionContent)
|
||||
|
||||
|
||||
self.verticalLayout_132.addWidget(self.resChangerContent)
|
||||
self.verticalLayout_133.addWidget(self.resChangerContent)
|
||||
|
||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
self.verticalSpacer_63 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||
self.verticalLayout_133.addItem(self.verticalSpacer_63)
|
||||
|
||||
|
||||
self.verticalLayout_142.addWidget(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_143.addWidget(self.advancedOptionsPageContent)
|
||||
|
||||
self.pages.addWidget(self.advancedOptionsPage)
|
||||
self.applyPage = QWidget()
|
||||
@@ -2426,7 +2536,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_13.setIcon(icon6)
|
||||
self.toolButton_13.setIcon(icon5)
|
||||
|
||||
self.horizontalLayout_28.addWidget(self.toolButton_13)
|
||||
|
||||
@@ -2692,7 +2802,9 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_16.setIcon(icon3)
|
||||
icon22 = QIcon()
|
||||
icon22.addFile(u":/icon/compass.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.toolButton_16.setIcon(icon22)
|
||||
|
||||
self.horizontalLayout_31.addWidget(self.toolButton_16)
|
||||
|
||||
@@ -2762,7 +2874,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.themesBtn.setIcon(icon4)
|
||||
self.themesBtn.setIcon(icon3)
|
||||
self.themesBtn.setIconSize(QSize(30, 30))
|
||||
|
||||
self.horizontalLayout_23.addWidget(self.themesBtn)
|
||||
@@ -2808,9 +2920,9 @@ class Ui_Nugget(object):
|
||||
|
||||
self.importThemeZipBtn = QToolButton(self.horizontalWidget7)
|
||||
self.importThemeZipBtn.setObjectName(u"importThemeZipBtn")
|
||||
icon22 = QIcon()
|
||||
icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.importThemeZipBtn.setIcon(icon22)
|
||||
icon23 = QIcon()
|
||||
icon23.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Normal, QIcon.Off)
|
||||
self.importThemeZipBtn.setIcon(icon23)
|
||||
|
||||
self.horizontalLayout_26.addWidget(self.importThemeZipBtn)
|
||||
|
||||
@@ -2928,8 +3040,6 @@ class Ui_Nugget(object):
|
||||
self.titleBar.setText(QCoreApplication.translate("Nugget", u"Nugget", None))
|
||||
self.homePageBtn.setText(QCoreApplication.translate("Nugget", u" Home", None))
|
||||
self.homePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.explorePageBtn.setText(QCoreApplication.translate("Nugget", u" Explore", None))
|
||||
self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None))
|
||||
self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None))
|
||||
@@ -2940,6 +3050,8 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None))
|
||||
self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.daemonsPageBtn.setText(QCoreApplication.translate("Nugget", u" Daemons", None))
|
||||
self.daemonsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.advancedPageBtn.setText(QCoreApplication.translate("Nugget", u" Risky Options", None))
|
||||
self.advancedPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None))
|
||||
@@ -2962,12 +3074,12 @@ class Ui_Nugget(object):
|
||||
"Sparserestore", None))
|
||||
self.disfordottieBtn.setText(QCoreApplication.translate("Nugget", u"disfordottie\n"
|
||||
"Clock Anim, Photos UI", None))
|
||||
self.lrdsnowBtn.setText(QCoreApplication.translate("Nugget", u"lrdsnow\n"
|
||||
"EU Enabler", None))
|
||||
self.mikasaBtn.setText(QCoreApplication.translate("Nugget", u"Mikasa\n"
|
||||
"Quiet Daemon", None))
|
||||
self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None))
|
||||
self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None))
|
||||
self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.1", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.2 (beta 1)", None))
|
||||
self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None))
|
||||
self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None))
|
||||
self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None))
|
||||
@@ -3083,6 +3195,14 @@ class Ui_Nugget(object):
|
||||
self.enableWakeVibrateChk.setText(QCoreApplication.translate("Nugget", u"Vibrate on Raise-to-Wake", None))
|
||||
self.pasteSoundChk.setText(QCoreApplication.translate("Nugget", u"Play Sound on Paste", None))
|
||||
self.notifyPastesChk.setText(QCoreApplication.translate("Nugget", u"Show Notifications for System Pastes", None))
|
||||
self.daemonsLbl.setText(QCoreApplication.translate("Nugget", u"Daemons", None))
|
||||
self.thermalmonitordChk.setText(QCoreApplication.translate("Nugget", u"Disable thermalmonitord", None))
|
||||
self.otadChk.setText(QCoreApplication.translate("Nugget", u"Disable OTA", None))
|
||||
self.usageTrackingAgentChk.setText(QCoreApplication.translate("Nugget", u"Disable UsageTrackingAgent", None))
|
||||
self.gameCenterChk.setText(QCoreApplication.translate("Nugget", u"Disable Game Center", None))
|
||||
self.screenTimeChk.setText(QCoreApplication.translate("Nugget", u"Disable Screen Time Agent", None))
|
||||
self.crashReportsChk.setText(QCoreApplication.translate("Nugget", u"Disable Logs, Dumps, and Crash Reports", None))
|
||||
self.tipsChk.setText(QCoreApplication.translate("Nugget", u"Disable Tips Services", None))
|
||||
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
|
||||
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
|
||||
"\n"
|
||||
|
||||
@@ -306,20 +306,6 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout.addWidget(self.homePageBtn)
|
||||
|
||||
self.explorePageBtn = QToolButton(self.sidebar)
|
||||
self.explorePageBtn.setObjectName(u"explorePageBtn")
|
||||
self.explorePageBtn.setEnabled(True)
|
||||
sizePolicy2.setHeightForWidth(self.explorePageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.explorePageBtn.setSizePolicy(sizePolicy2)
|
||||
icon3 = QIcon()
|
||||
icon3.addFile(u":/icon/compass.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.explorePageBtn.setIcon(icon3)
|
||||
self.explorePageBtn.setCheckable(True)
|
||||
self.explorePageBtn.setAutoExclusive(True)
|
||||
self.explorePageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.explorePageBtn)
|
||||
|
||||
self.sidebarDiv1 = QFrame(self.sidebar)
|
||||
self.sidebarDiv1.setObjectName(u"sidebarDiv1")
|
||||
self.sidebarDiv1.setStyleSheet(u"QFrame {\n"
|
||||
@@ -334,9 +320,9 @@ class Ui_Nugget(object):
|
||||
self.gestaltPageBtn.setObjectName(u"gestaltPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.gestaltPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.gestaltPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon4 = QIcon()
|
||||
icon4.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.gestaltPageBtn.setIcon(icon4)
|
||||
icon3 = QIcon()
|
||||
icon3.addFile(u":/icon/iphone-island.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.gestaltPageBtn.setIcon(icon3)
|
||||
self.gestaltPageBtn.setIconSize(QSize(24, 28))
|
||||
self.gestaltPageBtn.setCheckable(True)
|
||||
self.gestaltPageBtn.setAutoExclusive(True)
|
||||
@@ -352,9 +338,9 @@ class Ui_Nugget(object):
|
||||
font = QFont()
|
||||
font.setFamilies([u".AppleSystemUIFont"])
|
||||
self.featureFlagsPageBtn.setFont(font)
|
||||
icon5 = QIcon()
|
||||
icon5.addFile(u":/icon/flag.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.featureFlagsPageBtn.setIcon(icon5)
|
||||
icon4 = QIcon()
|
||||
icon4.addFile(u":/icon/flag.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.featureFlagsPageBtn.setIcon(icon4)
|
||||
self.featureFlagsPageBtn.setCheckable(True)
|
||||
self.featureFlagsPageBtn.setAutoExclusive(True)
|
||||
self.featureFlagsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -365,9 +351,9 @@ class Ui_Nugget(object):
|
||||
self.euEnablerPageBtn.setObjectName(u"euEnablerPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.euEnablerPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.euEnablerPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon6 = QIcon()
|
||||
icon6.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.euEnablerPageBtn.setIcon(icon6)
|
||||
icon5 = QIcon()
|
||||
icon5.addFile(u":/icon/geo-alt.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.euEnablerPageBtn.setIcon(icon5)
|
||||
self.euEnablerPageBtn.setCheckable(True)
|
||||
self.euEnablerPageBtn.setAutoExclusive(True)
|
||||
self.euEnablerPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -378,9 +364,9 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsPageBtn.setObjectName(u"springboardOptionsPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.springboardOptionsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.springboardOptionsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon7 = QIcon()
|
||||
icon7.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.springboardOptionsPageBtn.setIcon(icon7)
|
||||
icon6 = QIcon()
|
||||
icon6.addFile(u":/icon/app-indicator.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.springboardOptionsPageBtn.setIcon(icon6)
|
||||
self.springboardOptionsPageBtn.setCheckable(True)
|
||||
self.springboardOptionsPageBtn.setAutoExclusive(True)
|
||||
self.springboardOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
@@ -391,15 +377,29 @@ class Ui_Nugget(object):
|
||||
self.internalOptionsPageBtn.setObjectName(u"internalOptionsPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.internalOptionsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.internalOptionsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon8 = QIcon()
|
||||
icon8.addFile(u":/icon/hdd.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.internalOptionsPageBtn.setIcon(icon8)
|
||||
icon7 = QIcon()
|
||||
icon7.addFile(u":/icon/hdd.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.internalOptionsPageBtn.setIcon(icon7)
|
||||
self.internalOptionsPageBtn.setCheckable(True)
|
||||
self.internalOptionsPageBtn.setAutoExclusive(True)
|
||||
self.internalOptionsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.internalOptionsPageBtn)
|
||||
|
||||
self.daemonsPageBtn = QToolButton(self.sidebar)
|
||||
self.daemonsPageBtn.setObjectName(u"daemonsPageBtn")
|
||||
self.daemonsPageBtn.setEnabled(True)
|
||||
sizePolicy2.setHeightForWidth(self.daemonsPageBtn.sizePolicy().hasHeightForWidth())
|
||||
self.daemonsPageBtn.setSizePolicy(sizePolicy2)
|
||||
icon8 = QIcon()
|
||||
icon8.addFile(u":/icon/toggles.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.daemonsPageBtn.setIcon(icon8)
|
||||
self.daemonsPageBtn.setCheckable(True)
|
||||
self.daemonsPageBtn.setAutoExclusive(True)
|
||||
self.daemonsPageBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
|
||||
|
||||
self.verticalLayout.addWidget(self.daemonsPageBtn)
|
||||
|
||||
self.advancedPageBtn = QToolButton(self.sidebar)
|
||||
self.advancedPageBtn.setObjectName(u"advancedPageBtn")
|
||||
sizePolicy2.setHeightForWidth(self.advancedPageBtn.sizePolicy().hasHeightForWidth())
|
||||
@@ -787,12 +787,12 @@ class Ui_Nugget(object):
|
||||
|
||||
self.horizontalLayout_2.addWidget(self.disfordottieBtn)
|
||||
|
||||
self.lrdsnowBtn = QToolButton(self.horizontalWidget_21)
|
||||
self.lrdsnowBtn.setObjectName(u"lrdsnowBtn")
|
||||
sizePolicy2.setHeightForWidth(self.lrdsnowBtn.sizePolicy().hasHeightForWidth())
|
||||
self.lrdsnowBtn.setSizePolicy(sizePolicy2)
|
||||
self.lrdsnowBtn.setMinimumSize(QSize(0, 37))
|
||||
self.lrdsnowBtn.setStyleSheet(u"QToolButton {\n"
|
||||
self.mikasaBtn = QToolButton(self.horizontalWidget_21)
|
||||
self.mikasaBtn.setObjectName(u"mikasaBtn")
|
||||
sizePolicy2.setHeightForWidth(self.mikasaBtn.sizePolicy().hasHeightForWidth())
|
||||
self.mikasaBtn.setSizePolicy(sizePolicy2)
|
||||
self.mikasaBtn.setMinimumSize(QSize(0, 37))
|
||||
self.mikasaBtn.setStyleSheet(u"QToolButton {\n"
|
||||
" border-top-left-radius: 0px;\n"
|
||||
" border-bottom-left-radius: 0px;\n"
|
||||
" background: none;\n"
|
||||
@@ -805,7 +805,7 @@ class Ui_Nugget(object):
|
||||
" color: #FFFFFF;\n"
|
||||
"}")
|
||||
|
||||
self.horizontalLayout_2.addWidget(self.lrdsnowBtn)
|
||||
self.horizontalLayout_2.addWidget(self.mikasaBtn)
|
||||
|
||||
|
||||
self.verticalLayout_25.addWidget(self.horizontalWidget_21)
|
||||
@@ -897,7 +897,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_8.setIcon(icon4)
|
||||
self.toolButton_8.setIcon(icon3)
|
||||
self.toolButton_8.setIconSize(QSize(30, 30))
|
||||
|
||||
self.horizontalLayout_5.addWidget(self.toolButton_8)
|
||||
@@ -1235,7 +1235,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_10.setIcon(icon5)
|
||||
self.toolButton_10.setIcon(icon4)
|
||||
|
||||
self.horizontalLayout_20.addWidget(self.toolButton_10)
|
||||
|
||||
@@ -1341,7 +1341,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_11.setIcon(icon6)
|
||||
self.toolButton_11.setIcon(icon5)
|
||||
|
||||
self.horizontalLayout_21.addWidget(self.toolButton_11)
|
||||
|
||||
@@ -1619,7 +1619,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_7.setIcon(icon7)
|
||||
self.toolButton_7.setIcon(icon6)
|
||||
|
||||
self.horizontalLayout_13.addWidget(self.toolButton_7)
|
||||
|
||||
@@ -1745,7 +1745,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_101.setIcon(icon8)
|
||||
self.toolButton_101.setIcon(icon7)
|
||||
|
||||
self.horizontalLayout_201.addWidget(self.toolButton_101)
|
||||
|
||||
@@ -1905,12 +1905,12 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_141.addWidget(self.internalOptionsPageContent)
|
||||
|
||||
self.pages.addWidget(self.internalOptionsPage)
|
||||
self.advancedOptionsPage = QWidget()
|
||||
self.advancedOptionsPage.setObjectName(u"advancedOptionsPage")
|
||||
self.verticalLayout_142 = QVBoxLayout(self.advancedOptionsPage)
|
||||
self.daemonsPage = QWidget()
|
||||
self.daemonsPage.setObjectName(u"daemonsPage")
|
||||
self.verticalLayout_142 = QVBoxLayout(self.daemonsPage)
|
||||
self.verticalLayout_142.setObjectName(u"verticalLayout_142")
|
||||
self.verticalLayout_142.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalWidget_52 = QWidget(self.advancedOptionsPage)
|
||||
self.horizontalWidget_52 = QWidget(self.daemonsPage)
|
||||
self.horizontalWidget_52.setObjectName(u"horizontalWidget_52")
|
||||
self.horizontalLayout_202 = QHBoxLayout(self.horizontalWidget_52)
|
||||
self.horizontalLayout_202.setSpacing(10)
|
||||
@@ -1918,7 +1918,7 @@ class Ui_Nugget(object):
|
||||
self.horizontalLayout_202.setContentsMargins(0, 9, 0, 9)
|
||||
self.toolButton_102 = QToolButton(self.horizontalWidget_52)
|
||||
self.toolButton_102.setObjectName(u"toolButton_102")
|
||||
self.toolButton_102.setEnabled(False)
|
||||
self.toolButton_102.setEnabled(True)
|
||||
self.toolButton_102.setStyleSheet(u"QToolButton {\n"
|
||||
" icon-size: 24px;\n"
|
||||
" background-color: transparent;\n"
|
||||
@@ -1926,7 +1926,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_102.setIcon(icon9)
|
||||
self.toolButton_102.setIcon(icon8)
|
||||
|
||||
self.horizontalLayout_202.addWidget(self.toolButton_102)
|
||||
|
||||
@@ -1936,11 +1936,11 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_122.setSpacing(6)
|
||||
self.verticalLayout_122.setObjectName(u"verticalLayout_122")
|
||||
self.verticalLayout_122.setContentsMargins(0, 0, 0, 0)
|
||||
self.advancedOptionsLbl = QLabel(self.verticalWidget_42)
|
||||
self.advancedOptionsLbl.setObjectName(u"advancedOptionsLbl")
|
||||
self.advancedOptionsLbl.setFont(font1)
|
||||
self.daemonsLbl = QLabel(self.verticalWidget_42)
|
||||
self.daemonsLbl.setObjectName(u"daemonsLbl")
|
||||
self.daemonsLbl.setFont(font1)
|
||||
|
||||
self.verticalLayout_122.addWidget(self.advancedOptionsLbl)
|
||||
self.verticalLayout_122.addWidget(self.daemonsLbl)
|
||||
|
||||
self.verticalSpacer_181 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
|
||||
|
||||
@@ -1956,7 +1956,7 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_142.addWidget(self.horizontalWidget_52)
|
||||
|
||||
self.line_122 = QFrame(self.advancedOptionsPage)
|
||||
self.line_122 = QFrame(self.daemonsPage)
|
||||
self.line_122.setObjectName(u"line_122")
|
||||
self.line_122.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
@@ -1966,16 +1966,126 @@ class Ui_Nugget(object):
|
||||
|
||||
self.verticalLayout_142.addWidget(self.line_122)
|
||||
|
||||
self.daemonsPageContent = QWidget(self.daemonsPage)
|
||||
self.daemonsPageContent.setObjectName(u"daemonsPageContent")
|
||||
self.daemonsPageContent.setEnabled(True)
|
||||
self.verticalLayout_132 = QVBoxLayout(self.daemonsPageContent)
|
||||
self.verticalLayout_132.setObjectName(u"verticalLayout_132")
|
||||
self.verticalLayout_132.setContentsMargins(0, 0, 0, 0)
|
||||
self.thermalmonitordChk = QCheckBox(self.daemonsPageContent)
|
||||
self.thermalmonitordChk.setObjectName(u"thermalmonitordChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.thermalmonitordChk)
|
||||
|
||||
self.otadChk = QCheckBox(self.daemonsPageContent)
|
||||
self.otadChk.setObjectName(u"otadChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.otadChk)
|
||||
|
||||
self.usageTrackingAgentChk = QCheckBox(self.daemonsPageContent)
|
||||
self.usageTrackingAgentChk.setObjectName(u"usageTrackingAgentChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.usageTrackingAgentChk)
|
||||
|
||||
self.gameCenterChk = QCheckBox(self.daemonsPageContent)
|
||||
self.gameCenterChk.setObjectName(u"gameCenterChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.gameCenterChk)
|
||||
|
||||
self.screenTimeChk = QCheckBox(self.daemonsPageContent)
|
||||
self.screenTimeChk.setObjectName(u"screenTimeChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.screenTimeChk)
|
||||
|
||||
self.crashReportsChk = QCheckBox(self.daemonsPageContent)
|
||||
self.crashReportsChk.setObjectName(u"crashReportsChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.crashReportsChk)
|
||||
|
||||
self.tipsChk = QCheckBox(self.daemonsPageContent)
|
||||
self.tipsChk.setObjectName(u"tipsChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.tipsChk)
|
||||
|
||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||
|
||||
|
||||
self.verticalLayout_142.addWidget(self.daemonsPageContent)
|
||||
|
||||
self.pages.addWidget(self.daemonsPage)
|
||||
self.advancedOptionsPage = QWidget()
|
||||
self.advancedOptionsPage.setObjectName(u"advancedOptionsPage")
|
||||
self.verticalLayout_143 = QVBoxLayout(self.advancedOptionsPage)
|
||||
self.verticalLayout_143.setObjectName(u"verticalLayout_143")
|
||||
self.verticalLayout_143.setContentsMargins(0, 0, 0, 0)
|
||||
self.horizontalWidget_53 = QWidget(self.advancedOptionsPage)
|
||||
self.horizontalWidget_53.setObjectName(u"horizontalWidget_53")
|
||||
self.horizontalLayout_203 = QHBoxLayout(self.horizontalWidget_53)
|
||||
self.horizontalLayout_203.setSpacing(10)
|
||||
self.horizontalLayout_203.setObjectName(u"horizontalLayout_203")
|
||||
self.horizontalLayout_203.setContentsMargins(0, 9, 0, 9)
|
||||
self.toolButton_103 = QToolButton(self.horizontalWidget_53)
|
||||
self.toolButton_103.setObjectName(u"toolButton_103")
|
||||
self.toolButton_103.setEnabled(False)
|
||||
self.toolButton_103.setStyleSheet(u"QToolButton {\n"
|
||||
" icon-size: 24px;\n"
|
||||
" background-color: transparent;\n"
|
||||
" padding-left: 0px;\n"
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_103.setIcon(icon9)
|
||||
|
||||
self.horizontalLayout_203.addWidget(self.toolButton_103)
|
||||
|
||||
self.verticalWidget_43 = QWidget(self.horizontalWidget_53)
|
||||
self.verticalWidget_43.setObjectName(u"verticalWidget_43")
|
||||
self.verticalLayout_123 = QVBoxLayout(self.verticalWidget_43)
|
||||
self.verticalLayout_123.setSpacing(6)
|
||||
self.verticalLayout_123.setObjectName(u"verticalLayout_123")
|
||||
self.verticalLayout_123.setContentsMargins(0, 0, 0, 0)
|
||||
self.advancedOptionsLbl = QLabel(self.verticalWidget_43)
|
||||
self.advancedOptionsLbl.setObjectName(u"advancedOptionsLbl")
|
||||
self.advancedOptionsLbl.setFont(font1)
|
||||
|
||||
self.verticalLayout_123.addWidget(self.advancedOptionsLbl)
|
||||
|
||||
self.verticalSpacer_182 = QSpacerItem(20, 16, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
|
||||
|
||||
self.verticalLayout_123.addItem(self.verticalSpacer_182)
|
||||
|
||||
|
||||
self.horizontalLayout_203.addWidget(self.verticalWidget_43)
|
||||
|
||||
self.horizontalSpacer_73 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.horizontalLayout_203.addItem(self.horizontalSpacer_73)
|
||||
|
||||
|
||||
self.verticalLayout_143.addWidget(self.horizontalWidget_53)
|
||||
|
||||
self.line_123 = QFrame(self.advancedOptionsPage)
|
||||
self.line_123.setObjectName(u"line_123")
|
||||
self.line_123.setStyleSheet(u"QFrame {\n"
|
||||
" color: #414141;\n"
|
||||
"}")
|
||||
self.line_123.setFrameShadow(QFrame.Plain)
|
||||
self.line_123.setFrameShape(QFrame.Shape.HLine)
|
||||
|
||||
self.verticalLayout_143.addWidget(self.line_123)
|
||||
|
||||
self.advancedOptionsPageContent = QWidget(self.advancedOptionsPage)
|
||||
self.advancedOptionsPageContent.setObjectName(u"advancedOptionsPageContent")
|
||||
self.advancedOptionsPageContent.setEnabled(True)
|
||||
self.verticalLayout_132 = QVBoxLayout(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_132.setObjectName(u"verticalLayout_132")
|
||||
self.verticalLayout_132.setContentsMargins(0, 0, 0, 0)
|
||||
self.verticalLayout_133 = QVBoxLayout(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_133.setObjectName(u"verticalLayout_133")
|
||||
self.verticalLayout_133.setContentsMargins(0, 0, 0, 0)
|
||||
self.label_17 = QLabel(self.advancedOptionsPageContent)
|
||||
self.label_17.setObjectName(u"label_17")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.label_17)
|
||||
self.verticalLayout_133.addWidget(self.label_17)
|
||||
|
||||
self.line_191 = QFrame(self.advancedOptionsPageContent)
|
||||
self.line_191.setObjectName(u"line_191")
|
||||
@@ -1985,12 +2095,12 @@ class Ui_Nugget(object):
|
||||
self.line_191.setFrameShadow(QFrame.Plain)
|
||||
self.line_191.setFrameShape(QFrame.Shape.HLine)
|
||||
|
||||
self.verticalLayout_132.addWidget(self.line_191)
|
||||
self.verticalLayout_133.addWidget(self.line_191)
|
||||
|
||||
self.disableOTAChk = QCheckBox(self.advancedOptionsPageContent)
|
||||
self.disableOTAChk.setObjectName(u"disableOTAChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.disableOTAChk)
|
||||
self.verticalLayout_133.addWidget(self.disableOTAChk)
|
||||
|
||||
self.line_181 = QFrame(self.advancedOptionsPageContent)
|
||||
self.line_181.setObjectName(u"line_181")
|
||||
@@ -2000,12 +2110,12 @@ class Ui_Nugget(object):
|
||||
self.line_181.setFrameShadow(QFrame.Plain)
|
||||
self.line_181.setFrameShape(QFrame.Shape.HLine)
|
||||
|
||||
self.verticalLayout_132.addWidget(self.line_181)
|
||||
self.verticalLayout_133.addWidget(self.line_181)
|
||||
|
||||
self.enableResolutionChk = QCheckBox(self.advancedOptionsPageContent)
|
||||
self.enableResolutionChk.setObjectName(u"enableResolutionChk")
|
||||
|
||||
self.verticalLayout_132.addWidget(self.enableResolutionChk)
|
||||
self.verticalLayout_133.addWidget(self.enableResolutionChk)
|
||||
|
||||
self.resChangerContent = QWidget(self.advancedOptionsPageContent)
|
||||
self.resChangerContent.setObjectName(u"resChangerContent")
|
||||
@@ -2081,14 +2191,14 @@ class Ui_Nugget(object):
|
||||
self.verticalLayout_35.addLayout(self.resolutionContent)
|
||||
|
||||
|
||||
self.verticalLayout_132.addWidget(self.resChangerContent)
|
||||
self.verticalLayout_133.addWidget(self.resChangerContent)
|
||||
|
||||
self.verticalSpacer_62 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
self.verticalSpacer_63 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
|
||||
self.verticalLayout_132.addItem(self.verticalSpacer_62)
|
||||
self.verticalLayout_133.addItem(self.verticalSpacer_63)
|
||||
|
||||
|
||||
self.verticalLayout_142.addWidget(self.advancedOptionsPageContent)
|
||||
self.verticalLayout_143.addWidget(self.advancedOptionsPageContent)
|
||||
|
||||
self.pages.addWidget(self.advancedOptionsPage)
|
||||
self.applyPage = QWidget()
|
||||
@@ -2426,7 +2536,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_13.setIcon(icon6)
|
||||
self.toolButton_13.setIcon(icon5)
|
||||
|
||||
self.horizontalLayout_28.addWidget(self.toolButton_13)
|
||||
|
||||
@@ -2692,7 +2802,9 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.toolButton_16.setIcon(icon3)
|
||||
icon22 = QIcon()
|
||||
icon22.addFile(u":/icon/compass.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.toolButton_16.setIcon(icon22)
|
||||
|
||||
self.horizontalLayout_31.addWidget(self.toolButton_16)
|
||||
|
||||
@@ -2762,7 +2874,7 @@ class Ui_Nugget(object):
|
||||
" padding-right: 5px;\n"
|
||||
" border-radius: 0px;\n"
|
||||
"}")
|
||||
self.themesBtn.setIcon(icon4)
|
||||
self.themesBtn.setIcon(icon3)
|
||||
self.themesBtn.setIconSize(QSize(30, 30))
|
||||
|
||||
self.horizontalLayout_23.addWidget(self.themesBtn)
|
||||
@@ -2808,9 +2920,9 @@ class Ui_Nugget(object):
|
||||
|
||||
self.importThemeZipBtn = QToolButton(self.horizontalWidget7)
|
||||
self.importThemeZipBtn.setObjectName(u"importThemeZipBtn")
|
||||
icon22 = QIcon()
|
||||
icon22.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.importThemeZipBtn.setIcon(icon22)
|
||||
icon23 = QIcon()
|
||||
icon23.addFile(u":/icon/file-earmark-zip.svg", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
|
||||
self.importThemeZipBtn.setIcon(icon23)
|
||||
|
||||
self.horizontalLayout_26.addWidget(self.importThemeZipBtn)
|
||||
|
||||
@@ -2928,8 +3040,6 @@ class Ui_Nugget(object):
|
||||
self.titleBar.setText(QCoreApplication.translate("Nugget", u"Nugget", None))
|
||||
self.homePageBtn.setText(QCoreApplication.translate("Nugget", u" Home", None))
|
||||
self.homePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.explorePageBtn.setText(QCoreApplication.translate("Nugget", u" Explore", None))
|
||||
self.explorePageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.gestaltPageBtn.setText(QCoreApplication.translate("Nugget", u" Mobile Gestalt", None))
|
||||
self.gestaltPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.featureFlagsPageBtn.setText(QCoreApplication.translate("Nugget", u" Feature Flags", None))
|
||||
@@ -2940,6 +3050,8 @@ class Ui_Nugget(object):
|
||||
self.springboardOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.internalOptionsPageBtn.setText(QCoreApplication.translate("Nugget", u" Internal Options", None))
|
||||
self.internalOptionsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.daemonsPageBtn.setText(QCoreApplication.translate("Nugget", u" Daemons", None))
|
||||
self.daemonsPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.advancedPageBtn.setText(QCoreApplication.translate("Nugget", u" Risky Options", None))
|
||||
self.advancedPageBtn.setProperty("cls", QCoreApplication.translate("Nugget", u"sidebarBtn", None))
|
||||
self.applyPageBtn.setText(QCoreApplication.translate("Nugget", u" Apply", None))
|
||||
@@ -2962,12 +3074,12 @@ class Ui_Nugget(object):
|
||||
"Sparserestore", None))
|
||||
self.disfordottieBtn.setText(QCoreApplication.translate("Nugget", u"disfordottie\n"
|
||||
"Clock Anim, Photos UI", None))
|
||||
self.lrdsnowBtn.setText(QCoreApplication.translate("Nugget", u"lrdsnow\n"
|
||||
"EU Enabler", None))
|
||||
self.mikasaBtn.setText(QCoreApplication.translate("Nugget", u"Mikasa\n"
|
||||
"Quiet Daemon", None))
|
||||
self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None))
|
||||
self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None))
|
||||
self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.1", None))
|
||||
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.2 (beta 1)", None))
|
||||
self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None))
|
||||
self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! You will need a MobileGestalt file for this feature. Please select it in the Apply page !", None))
|
||||
self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None))
|
||||
@@ -3083,6 +3195,14 @@ class Ui_Nugget(object):
|
||||
self.enableWakeVibrateChk.setText(QCoreApplication.translate("Nugget", u"Vibrate on Raise-to-Wake", None))
|
||||
self.pasteSoundChk.setText(QCoreApplication.translate("Nugget", u"Play Sound on Paste", None))
|
||||
self.notifyPastesChk.setText(QCoreApplication.translate("Nugget", u"Show Notifications for System Pastes", None))
|
||||
self.daemonsLbl.setText(QCoreApplication.translate("Nugget", u"Daemons", None))
|
||||
self.thermalmonitordChk.setText(QCoreApplication.translate("Nugget", u"Disable thermalmonitord", None))
|
||||
self.otadChk.setText(QCoreApplication.translate("Nugget", u"Disable OTA", None))
|
||||
self.usageTrackingAgentChk.setText(QCoreApplication.translate("Nugget", u"Disable UsageTrackingAgent", None))
|
||||
self.gameCenterChk.setText(QCoreApplication.translate("Nugget", u"Disable Game Center", None))
|
||||
self.screenTimeChk.setText(QCoreApplication.translate("Nugget", u"Disable Screen Time Agent", None))
|
||||
self.crashReportsChk.setText(QCoreApplication.translate("Nugget", u"Disable Logs, Dumps, and Crash Reports", None))
|
||||
self.tipsChk.setText(QCoreApplication.translate("Nugget", u"Disable Tips Services", None))
|
||||
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
|
||||
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
|
||||
"\n"
|
||||
|
||||
@@ -16,6 +16,9 @@ class FileLocation(Enum):
|
||||
pasteboard = "/var/Managed Preferences/mobile/com.apple.Pasteboard.plist"
|
||||
notes = "/var/Managed Preferences/mobile/com.apple.mobilenotes.plist"
|
||||
|
||||
# Daemons
|
||||
disabledDaemons = "/var/db/com.apple.xpc.launchd/disabled.plist"
|
||||
|
||||
# Risky Options
|
||||
ota = "/var/Managed Preferences/mobile/com.apple.MobileAsset.plist"
|
||||
|
||||
|
||||
@@ -3,6 +3,14 @@ from .tweak_classes import MobileGestaltTweak, MobileGestaltMultiTweak, MobileGe
|
||||
from .eligibility_tweak import EligibilityTweak, AITweak
|
||||
from .basic_plist_locations import FileLocation
|
||||
|
||||
default_disabled_daemons = {
|
||||
"com.apple.magicswitchd.companion": True,
|
||||
"com.apple.security.otpaird": True,
|
||||
"com.apple.dhcp6d": True,
|
||||
"com.apple.bootpd": True,
|
||||
"com.apple.ftp-proxy-embedded": False,
|
||||
"com.apple.relevanced": True
|
||||
}
|
||||
|
||||
tweaks = {
|
||||
## MobileGestalt Tweaks
|
||||
@@ -269,9 +277,72 @@ tweaks = {
|
||||
"AnnounceAllPastes"
|
||||
),
|
||||
|
||||
## Daemons
|
||||
"DisableThermalmonitord": AdvancedPlistTweak(
|
||||
"Disable thermalmonitord",
|
||||
FileLocation.disabledDaemons,
|
||||
default_disabled_daemons.copy().update({"com.apple.thermalmonitord": True})
|
||||
),
|
||||
"DisableOTADaemon": AdvancedPlistTweak(
|
||||
"Disable OTA (daemon)",
|
||||
FileLocation.disabledDaemons,
|
||||
default_disabled_daemons.copy().update({
|
||||
"com.apple.mobile.softwareupdated": True,
|
||||
"com.apple.OTATaskingAgent": True,
|
||||
"com.apple.softwareupdateservicesd": True
|
||||
})
|
||||
),
|
||||
"DisableUsageTracking": AdvancedPlistTweak(
|
||||
"Disable Usage Tracking",
|
||||
FileLocation.disabledDaemons,
|
||||
default_disabled_daemons.copy().update({
|
||||
"com.apple.UsageTrackingAgent": True
|
||||
})
|
||||
),
|
||||
"DisableGameCenter": AdvancedPlistTweak(
|
||||
"Disable Game Center",
|
||||
FileLocation.disabledDaemons,
|
||||
default_disabled_daemons.copy().update({"com.apple.gamed": True})
|
||||
),
|
||||
"DisableScreenTime": AdvancedPlistTweak(
|
||||
"Disable Screen Time Agent",
|
||||
FileLocation.disabledDaemons,
|
||||
default_disabled_daemons.copy().update({"com.apple.ScreenTimeAgent": True})
|
||||
),
|
||||
"DisableCrashReports": AdvancedPlistTweak(
|
||||
"Disable Usage Tracking",
|
||||
FileLocation.disabledDaemons,
|
||||
default_disabled_daemons.copy().update({
|
||||
"com.apple.ReportCrash": True,
|
||||
"com.apple.ReportCrash.Jetsam": True,
|
||||
"com.apple.ReportMemoryException": True,
|
||||
"com.apple.OTACrashCopier": True,
|
||||
"com.apple.analyticsd": True,
|
||||
"com.apple.aslmanager": True,
|
||||
"com.apple.coresymbolicationd": True,
|
||||
"com.apple.crash_mover": True,
|
||||
"com.apple.crashreportcopymobile": True,
|
||||
"com.apple.DumpBasebandCrash": True,
|
||||
"com.apple.DumpPanic": True,
|
||||
"com.apple.logd": True,
|
||||
"com.apple.logd.admin": True,
|
||||
"com.apple.logd.events": True,
|
||||
"com.apple.logd.watchdog": True,
|
||||
"com.apple.logd_reporter": True,
|
||||
"com.apple.logd_reporter.report_statistics": True,
|
||||
"com.apple.system.logger": True,
|
||||
"com.apple.syslogd": True
|
||||
})
|
||||
),
|
||||
"DisableTips": AdvancedPlistTweak(
|
||||
"Disable Tips",
|
||||
FileLocation.disabledDaemons,
|
||||
default_disabled_daemons.copy().update({"com.apple.tipsd": True})
|
||||
),
|
||||
|
||||
## Risky Options
|
||||
"DisableOTA": AdvancedPlistTweak(
|
||||
"Disable OTA Updates",
|
||||
"DisableOTAFile": AdvancedPlistTweak(
|
||||
"Disable OTA Updates (file)",
|
||||
FileLocation.ota,
|
||||
{
|
||||
"MobileAssetServerURL-com.apple.MobileAsset.MobileSoftwareUpdate.UpdateBrain": "https://mesu.apple.com/assets/tvOS16DeveloperSeed",
|
||||
|
||||
Reference in New Issue
Block a user