Messages.py 文件源码

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

项目:DownloaderForReddit 作者: MalloyDelacroix 项目源码 文件源码
def __init__(self):
        """
        A small class to display an unfinished dialog message to the user.  It is made into its own class so the names
        of the buttons can be renamed to be better understood in the situation it is used in
        """
        QDialog.__init__(self)
        self.setupUi(self)

        self.button_box.button(QDialogButtonBox.Ok).setText('Close Anyway')
        self.button_box.button(QDialogButtonBox.Cancel).setText('Do Not Close')

        self.button_box.accepted.connect(self.accept)
        self.button_box.rejected.connect(self.close)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号