patch
This commit is contained in:
parent
ef49ab8c6e
commit
e39a4e516b
@ -74,7 +74,7 @@ class MainController(QStackedWidget):
|
||||
"""
|
||||
В фоновом режиме обновляет данные с сервера.
|
||||
"""
|
||||
time.sleep(2)
|
||||
#time.sleep(2)
|
||||
print(f"[Sync] Обновляем данные для пользователя: {username}")
|
||||
|
||||
if self.yobble_home_view:
|
||||
|
||||
47
main.py
47
main.py
@ -27,53 +27,6 @@ class MainWindow(QMainWindow):
|
||||
else:
|
||||
self.setStyleSheet("background-color: #f0f0f0;")
|
||||
|
||||
# if is_dark:
|
||||
# self.setStyleSheet("""
|
||||
# QMainWindow {
|
||||
# background-color: #2e2e2e;
|
||||
# }
|
||||
# QMessageBox {
|
||||
# background-color: #2e2e2e;
|
||||
# color: white;
|
||||
# }
|
||||
# QMessageBox QLabel {
|
||||
# color: white;
|
||||
# font-size: 14px;
|
||||
# }
|
||||
# QMessageBox QPushButton {
|
||||
# background-color: #3c3c3c;
|
||||
# color: white;
|
||||
# border-radius: 6px;
|
||||
# padding: 5px 12px;
|
||||
# }
|
||||
# QMessageBox QPushButton:hover {
|
||||
# background-color: #505050;
|
||||
# }
|
||||
# """)
|
||||
# else:
|
||||
# self.setStyleSheet("""
|
||||
# QMainWindow {
|
||||
# background-color: #f0f0f0;
|
||||
# }
|
||||
# QMessageBox {
|
||||
# background-color: #ffffff;
|
||||
# color: black;
|
||||
# }
|
||||
# QMessageBox QLabel {
|
||||
# color: black;
|
||||
# font-size: 14px;
|
||||
# }
|
||||
# QMessageBox QPushButton {
|
||||
# background-color: #e0e0e0;
|
||||
# color: black;
|
||||
# border-radius: 6px;
|
||||
# padding: 5px 12px;
|
||||
# }
|
||||
# QMessageBox QPushButton:hover {
|
||||
# background-color: #d0d0d0;
|
||||
# }
|
||||
# """)
|
||||
|
||||
# получаем HWND и красим системный бар
|
||||
hwnd = int(self.winId())
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user