dialogs.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:Pesterchum-Discord 作者: henry232323 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号