|
30 | 30 | try: |
31 | 31 | from PySide6.QtWidgets import * |
32 | 32 | from PySide6 import QtGui |
33 | | - from PySide6.QtCore import QTimer, QSize |
| 33 | + from PySide6.QtCore import * |
34 | 34 | from uiScripts.ui_Main import Ui_MainWindow |
35 | 35 |
|
36 | 36 | except: |
@@ -204,6 +204,11 @@ def __init__(self, parent=None): |
204 | 204 |
|
205 | 205 | self.label_8.setText(f"EmuGUI {self.version}\nCodename 'Ioana Rosa'") |
206 | 206 | self.setWindowTitle(f"EmuGUI {self.version} (Beta Release 2)") |
| 207 | + |
| 208 | + if datetime.date.today().day == 1 and datetime.date.today().month == 4: |
| 209 | + wintitle = self.windowTitle() |
| 210 | + self.setWindowTitle("".join(reversed(wintitle))) |
| 211 | + |
207 | 212 | self.languageInUse = "system" |
208 | 213 |
|
209 | 214 | try: |
@@ -317,6 +322,14 @@ def connectSignalsSlots(self): |
317 | 322 | else: |
318 | 323 | self.label_6.setPixmap(QtGui.QPixmap("banners/GarukaPula.png")) |
319 | 324 |
|
| 325 | + if datetime.date.today().day == 1 and datetime.date.today().month == 4: |
| 326 | + pixmap = self.label_6.pixmap() |
| 327 | + self.rotation = 180 |
| 328 | + |
| 329 | + transform = QtGui.QTransform().rotate(self.rotation) |
| 330 | + pixmap = pixmap.transformed(transform, Qt.FastTransformation) |
| 331 | + self.label_6.setPixmap(pixmap) |
| 332 | + |
320 | 333 | def setLanguage(self, langmode): |
321 | 334 | if langmode == "system" or langmode == None: |
322 | 335 | languageToUse = locale.getlocale()[0] |
|
0 commit comments