feat: Apply Dracula theme to QMenuBar and QMenu, shorten the "Pekerjaan Backup" tab label to "Backup", and generate a new ProBackup.exe build.
This commit is contained in:
Binary file not shown.
25
main.py
25
main.py
@@ -157,6 +157,29 @@ QTimeEdit::up-button, QTimeEdit::down-button {
|
|||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
QMenuBar {
|
||||||
|
background-color: #282a36;
|
||||||
|
color: #f8f8f2;
|
||||||
|
}
|
||||||
|
QMenuBar::item {
|
||||||
|
background: transparent;
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
QMenuBar::item:selected {
|
||||||
|
background: #44475a;
|
||||||
|
}
|
||||||
|
QMenu {
|
||||||
|
background-color: #282a36;
|
||||||
|
color: #f8f8f2;
|
||||||
|
border: 1px solid #6272a4;
|
||||||
|
}
|
||||||
|
QMenu::item {
|
||||||
|
padding: 8px 25px;
|
||||||
|
}
|
||||||
|
QMenu::item:selected {
|
||||||
|
background-color: #6272a4;
|
||||||
|
color: #f8f8f2;
|
||||||
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
class WorkerThread(QThread):
|
class WorkerThread(QThread):
|
||||||
@@ -516,7 +539,7 @@ class BackupApp(QMainWindow):
|
|||||||
splitter.setStretchFactor(1, 2)
|
splitter.setStretchFactor(1, 2)
|
||||||
|
|
||||||
jobs_layout.addWidget(splitter)
|
jobs_layout.addWidget(splitter)
|
||||||
self.tabs.addTab(jobs_tab, "Pekerjaan Backup")
|
self.tabs.addTab(jobs_tab, "Backup")
|
||||||
|
|
||||||
# --- Tab 2: Settings (General) ---
|
# --- Tab 2: Settings (General) ---
|
||||||
# settings_tab = QWidget()
|
# settings_tab = QWidget()
|
||||||
|
|||||||
Reference in New Issue
Block a user