Skip to content

Commit

Permalink
add_ico
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXnneHang committed Jul 15, 2024
1 parent 9854b39 commit 8f5196c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MainWindowUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ def __init__(self):
self.initUI()

def initUI(self):
self.setWindowTitle('Main Window')
self.setWindowTitle('Yasumi Clock v1.1')
self.setGeometry(self.main_window_pos[0], self.main_window_pos[1],
self.main_window_pos[2], self.main_window_pos[3])


# Buttons
self.startdrawButton = PrimaryPushButton('Draw Main Window', self)
self.startdrawButton = PrimaryPushButton('布局', self)
self.startdrawButton.setGeometry(QtCore.QRect(self.draw_button_pos[0],
self.draw_button_pos[1],
self.draw_button_pos[2],
Expand Down
1 change: 1 addition & 0 deletions yasumi_clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def resetTime(self):
def showDrawMainWindow(self):
child_window_pos = self.list_main_button_pos()
self.selectionWindow = ManualSelectionWindow(self.main_window_pos,child_window_pos)
self.selectionWindow.setWindowIcon(QIcon(mainWindow.src_config["icon"]))
self.selectionWindow.show()
def startFanqie(self):
if not self.timerRunning:
Expand Down

0 comments on commit 8f5196c

Please sign in to comment.