def __init__(self, delegate):
    super().__init__()
    self.setWindowTitle('PyMail')
    self.setWindowIcon(QIcon('res\\logo.png'))
    self.setCentralWidget(SplitWidget(self))
    self.setMinimumWidth(800)
    self.setMinimumHeight(600)
    self.setupUI()
    self.show()
    self.addToolBar(ToolBar(self))
    self.delegate = delegate
    self.delegate.registerView(self)
    self.setStatusBar(QStatusBar())
    self.statusBar()
    self.setStatusTip('Ready')
    self.startUpWindow = StartUpWindow(self, self.delegate)
def __init__(self, delegate):
    super().__init__()
    self.setWindowTitle('PyMail')
    self.setWindowIcon(QIcon('res\\logo.png'))
    self.setCentralWidget(SplitWidget(self))
    self.setMinimumWidth(800)
    self.setMinimumHeight(600)
    self.setupUI()
    self.show()
    self.addToolBar(ToolBar(self))
    self.delegate = delegate
    self.delegate.registerView(self)
    self.setStatusBar(QStatusBar())
    self.statusBar()
    self.setStatusTip('Ready')
    self.startUpWindow = StartUpWindow(self, self.delegate)