def __init__(self, app, parent):
super(__class__, self).__init__()
uic.loadUi(app.theme["ui_path"] + "/ConnectingDialog.ui", self)
self.app = app
self.parent = parent
self.setWindowFlags(Qt.FramelessWindowHint)
self.connectingExitButton.clicked.connect(sysexit)
self.setWindowTitle('Connecting')
self.setWindowIcon(QIcon(app.theme["path"] + "/trayicon.png"))
self.app.connectingDialog = self
width = self.frameGeometry().width()
height = self.frameGeometry().height()
self.setFixedSize(width, height)
# Methods for moving window
评论列表
文章目录