add main_ui.py(中交三航主界面)
This commit is contained in:
21
controller/main_controller.py
Normal file
21
controller/main_controller.py
Normal file
@ -0,0 +1,21 @@
|
||||
from view.main_window import MainWindow
|
||||
|
||||
class MainController:
|
||||
def __init__(self):
|
||||
# 主界面
|
||||
self.main_window = MainWindow()
|
||||
|
||||
# 初始化子界面
|
||||
self._initSubViews()
|
||||
|
||||
# 初始化子控制器
|
||||
# self._initSubControllers()
|
||||
|
||||
|
||||
# self.__connectSignals()
|
||||
|
||||
def showMainWindow(self):
|
||||
self.main_window.show()
|
||||
|
||||
def _initSubViews(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user