diff --git a/gui/main_window.py b/gui/main_window.py
index 82f0977..c3092a0 100644
--- a/gui/main_window.py
+++ b/gui/main_window.py
@@ -1014,6 +1014,15 @@ class MainWindow(QtWidgets.QMainWindow):
self.ui.pbActionLbl.show()
def on_caVideoChk_toggled(self, checked: bool):
tweaks["PosterBoard"].loop_video = checked
+ # hide thumbnail button and label
+ if checked:
+ self.ui.chooseThumbBtn.hide()
+ self.ui.pbVideoThumbLbl.hide()
+ self.ui.clearSuggestedBtn.hide()
+ else:
+ self.ui.chooseThumbBtn.show()
+ self.ui.pbVideoThumbLbl.show()
+ self.ui.clearSuggestedBtn.show()
def on_findPBBtn_clicked(self):
webbrowser.open_new_tab("https://cowabun.ga/wallpapers")
diff --git a/qt/mainwindow.ui b/qt/mainwindow.ui
index baa9685..89245b2 100644
--- a/qt/mainwindow.ui
+++ b/qt/mainwindow.ui
@@ -4381,6 +4381,13 @@ To work properly, also disable the daemon using the toggle above.
+ -
+
+
+ None
+
+
+
-
@@ -4399,13 +4406,6 @@ To work properly, also disable the daemon using the toggle above.
0
-
-
-
-
- None
-
-
-
-
@@ -4552,16 +4552,13 @@ Warning: This will remove all of your wallpapers and will restrict you from addi
-
-
-
- Current Thumbnail: None
+
+
+ Uses the CoreAnimation file to play the video (300 fps limit)
+Will show up in Collections
-
-
- -
-
- Current Video: None
+ Loop (use CoreAnimation method)
@@ -4569,32 +4566,24 @@ Warning: This will remove all of your wallpapers and will restrict you from addi
-
+
+ Choose a photo for the wallpaper to freeze on when finished (.heic files only)
+
- Choose Thumbnail (.HEIC)
+ Choose Freeze Frame (.HEIC)
-
+
+ Choose a video file for the wallpaper (.mov or .mp4)
+
Choose Video
- -
-
-
- Clear Suggested Photos
-
-
-
- :/icon/arrow.clockwise.svg:/icon/arrow.clockwise.svg
-
-
- Qt::ToolButtonTextBesideIcon
-
-
-
-
@@ -4611,9 +4600,16 @@ Warning: This will remove all of your wallpapers and will restrict you from addi
-
-
+
- Loop (use CoreAnimation method)
+ Current Thumbnail: None
+
+
+
+ -
+
+
+ Current Video: None
@@ -4630,6 +4626,40 @@ Warning: This will remove all of your wallpapers and will restrict you from addi
+ -
+
+
+ 0
+
+
-
+
+
+ Clear Suggested Photos
+
+
+
+ :/icon/arrow.clockwise.svg:/icon/arrow.clockwise.svg
+
+
+ Qt::ToolButtonTextBesideIcon
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
diff --git a/qt/mainwindow_ui.py b/qt/mainwindow_ui.py
index fca2e61..e81be53 100644
--- a/qt/mainwindow_ui.py
+++ b/qt/mainwindow_ui.py
@@ -2298,6 +2298,11 @@ class Ui_Nugget(object):
self.verticalLayout_143.addWidget(self.pbPagePicker)
+ self.pbActionLbl = QLabel(self.posterboardPage)
+ self.pbActionLbl.setObjectName(u"pbActionLbl")
+
+ self.verticalLayout_143.addWidget(self.pbActionLbl)
+
self.pbPages = QStackedWidget(self.posterboardPage)
self.pbPages.setObjectName(u"pbPages")
self.pbPages.setEnabled(False)
@@ -2309,11 +2314,6 @@ class Ui_Nugget(object):
self.horizontalLayout_12 = QHBoxLayout()
self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
self.horizontalLayout_12.setContentsMargins(-1, -1, -1, 0)
- self.pbActionLbl = QLabel(self.pbTendiesPage)
- self.pbActionLbl.setObjectName(u"pbActionLbl")
-
- self.horizontalLayout_12.addWidget(self.pbActionLbl)
-
self.horizontalSpacer_18 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_12.addItem(self.horizontalSpacer_18)
@@ -2388,15 +2388,10 @@ class Ui_Nugget(object):
self.pbVideoPage.setObjectName(u"pbVideoPage")
self.verticalLayout_39 = QVBoxLayout(self.pbVideoPage)
self.verticalLayout_39.setObjectName(u"verticalLayout_39")
- self.pbVideoThumbLbl = QLabel(self.pbVideoPage)
- self.pbVideoThumbLbl.setObjectName(u"pbVideoThumbLbl")
+ self.caVideoChk = QCheckBox(self.pbVideoPage)
+ self.caVideoChk.setObjectName(u"caVideoChk")
- self.verticalLayout_39.addWidget(self.pbVideoThumbLbl)
-
- self.pbVideoLbl = QLabel(self.pbVideoPage)
- self.pbVideoLbl.setObjectName(u"pbVideoLbl")
-
- self.verticalLayout_39.addWidget(self.pbVideoLbl)
+ self.verticalLayout_39.addWidget(self.caVideoChk)
self.horizontalLayout_30 = QHBoxLayout()
self.horizontalLayout_30.setObjectName(u"horizontalLayout_30")
@@ -2410,13 +2405,6 @@ class Ui_Nugget(object):
self.horizontalLayout_30.addWidget(self.chooseVideoBtn)
- self.clearSuggestedBtn = QToolButton(self.pbVideoPage)
- self.clearSuggestedBtn.setObjectName(u"clearSuggestedBtn")
- self.clearSuggestedBtn.setIcon(icon25)
- self.clearSuggestedBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
-
- self.horizontalLayout_30.addWidget(self.clearSuggestedBtn)
-
self.horizontalSpacer_19 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_30.addItem(self.horizontalSpacer_19)
@@ -2424,15 +2412,37 @@ class Ui_Nugget(object):
self.verticalLayout_39.addLayout(self.horizontalLayout_30)
- self.caVideoChk = QCheckBox(self.pbVideoPage)
- self.caVideoChk.setObjectName(u"caVideoChk")
+ self.pbVideoThumbLbl = QLabel(self.pbVideoPage)
+ self.pbVideoThumbLbl.setObjectName(u"pbVideoThumbLbl")
- self.verticalLayout_39.addWidget(self.caVideoChk)
+ self.verticalLayout_39.addWidget(self.pbVideoThumbLbl)
+
+ self.pbVideoLbl = QLabel(self.pbVideoPage)
+ self.pbVideoLbl.setObjectName(u"pbVideoLbl")
+
+ self.verticalLayout_39.addWidget(self.pbVideoLbl)
self.verticalSpacer_22 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
self.verticalLayout_39.addItem(self.verticalSpacer_22)
+ self.horizontalLayout_34 = QHBoxLayout()
+ self.horizontalLayout_34.setObjectName(u"horizontalLayout_34")
+ self.horizontalLayout_34.setContentsMargins(-1, 0, -1, -1)
+ self.clearSuggestedBtn = QToolButton(self.pbVideoPage)
+ self.clearSuggestedBtn.setObjectName(u"clearSuggestedBtn")
+ self.clearSuggestedBtn.setIcon(icon25)
+ self.clearSuggestedBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
+
+ self.horizontalLayout_34.addWidget(self.clearSuggestedBtn)
+
+ self.horizontalSpacer_24 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
+
+ self.horizontalLayout_34.addItem(self.horizontalSpacer_24)
+
+
+ self.verticalLayout_39.addLayout(self.horizontalLayout_34)
+
self.pbPages.addWidget(self.pbVideoPage)
self.verticalLayout_143.addWidget(self.pbPages)
@@ -3808,12 +3818,22 @@ class Ui_Nugget(object):
"Warning: This will remove all of your wallpapers and will restrict you from adding new ones until you restore again.", None))
#endif // QT_CONFIG(tooltip)
self.resetPRBExtBtn.setText(QCoreApplication.translate("Nugget", u" Remove All Wallpapers", None))
+#if QT_CONFIG(tooltip)
+ self.caVideoChk.setToolTip(QCoreApplication.translate("Nugget", u"Uses the CoreAnimation file to play the video (300 fps limit)\n"
+"Will show up in Collections", None))
+#endif // QT_CONFIG(tooltip)
+ self.caVideoChk.setText(QCoreApplication.translate("Nugget", u"Loop (use CoreAnimation method)", None))
+#if QT_CONFIG(tooltip)
+ self.chooseThumbBtn.setToolTip(QCoreApplication.translate("Nugget", u"Choose a photo for the wallpaper to freeze on when finished (.heic files only)", None))
+#endif // QT_CONFIG(tooltip)
+ self.chooseThumbBtn.setText(QCoreApplication.translate("Nugget", u"Choose Freeze Frame (.HEIC)", None))
+#if QT_CONFIG(tooltip)
+ self.chooseVideoBtn.setToolTip(QCoreApplication.translate("Nugget", u"Choose a video file for the wallpaper (.mov or .mp4)", None))
+#endif // QT_CONFIG(tooltip)
+ self.chooseVideoBtn.setText(QCoreApplication.translate("Nugget", u"Choose Video", None))
self.pbVideoThumbLbl.setText(QCoreApplication.translate("Nugget", u"Current Thumbnail: None", None))
self.pbVideoLbl.setText(QCoreApplication.translate("Nugget", u"Current Video: None", None))
- self.chooseThumbBtn.setText(QCoreApplication.translate("Nugget", u"Choose Thumbnail (.HEIC)", None))
- self.chooseVideoBtn.setText(QCoreApplication.translate("Nugget", u"Choose Video", None))
self.clearSuggestedBtn.setText(QCoreApplication.translate("Nugget", u" Clear Suggested Photos", None))
- self.caVideoChk.setText(QCoreApplication.translate("Nugget", u"Loop (use CoreAnimation method)", None))
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
"\n"
diff --git a/qt/ui_mainwindow.py b/qt/ui_mainwindow.py
index bd8897c..5ca0f54 100644
--- a/qt/ui_mainwindow.py
+++ b/qt/ui_mainwindow.py
@@ -2298,6 +2298,11 @@ class Ui_Nugget(object):
self.verticalLayout_143.addWidget(self.pbPagePicker)
+ self.pbActionLbl = QLabel(self.posterboardPage)
+ self.pbActionLbl.setObjectName(u"pbActionLbl")
+
+ self.verticalLayout_143.addWidget(self.pbActionLbl)
+
self.pbPages = QStackedWidget(self.posterboardPage)
self.pbPages.setObjectName(u"pbPages")
self.pbPages.setEnabled(False)
@@ -2309,11 +2314,6 @@ class Ui_Nugget(object):
self.horizontalLayout_12 = QHBoxLayout()
self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
self.horizontalLayout_12.setContentsMargins(-1, -1, -1, 0)
- self.pbActionLbl = QLabel(self.pbTendiesPage)
- self.pbActionLbl.setObjectName(u"pbActionLbl")
-
- self.horizontalLayout_12.addWidget(self.pbActionLbl)
-
self.horizontalSpacer_18 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_12.addItem(self.horizontalSpacer_18)
@@ -2388,15 +2388,10 @@ class Ui_Nugget(object):
self.pbVideoPage.setObjectName(u"pbVideoPage")
self.verticalLayout_39 = QVBoxLayout(self.pbVideoPage)
self.verticalLayout_39.setObjectName(u"verticalLayout_39")
- self.pbVideoThumbLbl = QLabel(self.pbVideoPage)
- self.pbVideoThumbLbl.setObjectName(u"pbVideoThumbLbl")
+ self.caVideoChk = QCheckBox(self.pbVideoPage)
+ self.caVideoChk.setObjectName(u"caVideoChk")
- self.verticalLayout_39.addWidget(self.pbVideoThumbLbl)
-
- self.pbVideoLbl = QLabel(self.pbVideoPage)
- self.pbVideoLbl.setObjectName(u"pbVideoLbl")
-
- self.verticalLayout_39.addWidget(self.pbVideoLbl)
+ self.verticalLayout_39.addWidget(self.caVideoChk)
self.horizontalLayout_30 = QHBoxLayout()
self.horizontalLayout_30.setObjectName(u"horizontalLayout_30")
@@ -2410,13 +2405,6 @@ class Ui_Nugget(object):
self.horizontalLayout_30.addWidget(self.chooseVideoBtn)
- self.clearSuggestedBtn = QToolButton(self.pbVideoPage)
- self.clearSuggestedBtn.setObjectName(u"clearSuggestedBtn")
- self.clearSuggestedBtn.setIcon(icon25)
- self.clearSuggestedBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
-
- self.horizontalLayout_30.addWidget(self.clearSuggestedBtn)
-
self.horizontalSpacer_19 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_30.addItem(self.horizontalSpacer_19)
@@ -2424,15 +2412,37 @@ class Ui_Nugget(object):
self.verticalLayout_39.addLayout(self.horizontalLayout_30)
- self.caVideoChk = QCheckBox(self.pbVideoPage)
- self.caVideoChk.setObjectName(u"caVideoChk")
+ self.pbVideoThumbLbl = QLabel(self.pbVideoPage)
+ self.pbVideoThumbLbl.setObjectName(u"pbVideoThumbLbl")
- self.verticalLayout_39.addWidget(self.caVideoChk)
+ self.verticalLayout_39.addWidget(self.pbVideoThumbLbl)
+
+ self.pbVideoLbl = QLabel(self.pbVideoPage)
+ self.pbVideoLbl.setObjectName(u"pbVideoLbl")
+
+ self.verticalLayout_39.addWidget(self.pbVideoLbl)
self.verticalSpacer_22 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
self.verticalLayout_39.addItem(self.verticalSpacer_22)
+ self.horizontalLayout_34 = QHBoxLayout()
+ self.horizontalLayout_34.setObjectName(u"horizontalLayout_34")
+ self.horizontalLayout_34.setContentsMargins(-1, 0, -1, -1)
+ self.clearSuggestedBtn = QToolButton(self.pbVideoPage)
+ self.clearSuggestedBtn.setObjectName(u"clearSuggestedBtn")
+ self.clearSuggestedBtn.setIcon(icon25)
+ self.clearSuggestedBtn.setToolButtonStyle(Qt.ToolButtonTextBesideIcon)
+
+ self.horizontalLayout_34.addWidget(self.clearSuggestedBtn)
+
+ self.horizontalSpacer_24 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
+
+ self.horizontalLayout_34.addItem(self.horizontalSpacer_24)
+
+
+ self.verticalLayout_39.addLayout(self.horizontalLayout_34)
+
self.pbPages.addWidget(self.pbVideoPage)
self.verticalLayout_143.addWidget(self.pbPages)
@@ -3808,12 +3818,22 @@ class Ui_Nugget(object):
"Warning: This will remove all of your wallpapers and will restrict you from adding new ones until you restore again.", None))
#endif // QT_CONFIG(tooltip)
self.resetPRBExtBtn.setText(QCoreApplication.translate("Nugget", u" Remove All Wallpapers", None))
+#if QT_CONFIG(tooltip)
+ self.caVideoChk.setToolTip(QCoreApplication.translate("Nugget", u"Uses the CoreAnimation file to play the video (300 fps limit)\n"
+"Will show up in Collections", None))
+#endif // QT_CONFIG(tooltip)
+ self.caVideoChk.setText(QCoreApplication.translate("Nugget", u"Loop (use CoreAnimation method)", None))
+#if QT_CONFIG(tooltip)
+ self.chooseThumbBtn.setToolTip(QCoreApplication.translate("Nugget", u"Choose a photo for the wallpaper to freeze on when finished (.heic files only)", None))
+#endif // QT_CONFIG(tooltip)
+ self.chooseThumbBtn.setText(QCoreApplication.translate("Nugget", u"Choose Freeze Frame (.HEIC)", None))
+#if QT_CONFIG(tooltip)
+ self.chooseVideoBtn.setToolTip(QCoreApplication.translate("Nugget", u"Choose a video file for the wallpaper (.mov or .mp4)", None))
+#endif // QT_CONFIG(tooltip)
+ self.chooseVideoBtn.setText(QCoreApplication.translate("Nugget", u"Choose Video", None))
self.pbVideoThumbLbl.setText(QCoreApplication.translate("Nugget", u"Current Thumbnail: None", None))
self.pbVideoLbl.setText(QCoreApplication.translate("Nugget", u"Current Video: None", None))
- self.chooseThumbBtn.setText(QCoreApplication.translate("Nugget", u"Choose Thumbnail (.HEIC)", None))
- self.chooseVideoBtn.setText(QCoreApplication.translate("Nugget", u"Choose Video", None))
self.clearSuggestedBtn.setText(QCoreApplication.translate("Nugget", u" Clear Suggested Photos", None))
- self.caVideoChk.setText(QCoreApplication.translate("Nugget", u"Loop (use CoreAnimation method)", None))
self.advancedOptionsLbl.setText(QCoreApplication.translate("Nugget", u"Risky Options", None))
self.label_17.setText(QCoreApplication.translate("Nugget", u"Disclaimer:\n"
"\n"