mirror of
https://github.com/KenanZhu/AutoLibrary.git
synced 2026-06-18 07:23:03 +08:00
chore(*): 更改一些界面类方法,局部变量和信号的命名:
(ALConfigWidget): def initlizeDefaultConfigPaths() 中 script_path 和 script_dir 分别改为 executable_path 和 executable_dir def fillUserTree() 更改为 def setUsersToTreeWidget() def collectUserFromUserInfoWidget() 更改为 def collectUserFromWidget() def collectUserConfigFromUserTreeWidget 更改为 def collectUsersFromTreeWidget() 交换了一些方法的位置 (ALSeatMapSelectDialog): 信号 seatMapSelectDialogClosed 改为 seatMapSelectDialogIsClosed (ALTimerTaskManageWidget): 信号 timerTaskManageWidgetClosed 改为 timerTaskManageWidgetIsClosed (ALMainWindow): def __init__() 中 script_path 和 script_dir 分别改为 executable_path 和 executable_dir 更改 ALSeatMapSelectDialog 和 ALTimerTaskManageWidget 中相关的信号命名
This commit is contained in:
@@ -22,7 +22,7 @@ from gui.ALSeatMapView import ALSeatMapView
|
||||
|
||||
class ALSeatMapSelectDialog(QDialog):
|
||||
|
||||
seatMapSelectDialogClosed = Signal(list)
|
||||
seatMapSelectDialogIsClosed = Signal(list)
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
@@ -127,7 +127,7 @@ class ALSeatMapSelectDialog(QDialog):
|
||||
self.reject()
|
||||
else:
|
||||
self.accept()
|
||||
self.seatMapSelectDialogClosed.emit(self.getSelectedSeats())
|
||||
self.seatMapSelectDialogIsClosed.emit(self.getSelectedSeats())
|
||||
super().closeEvent(event)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user