pyqt5-问答框

        choice = QMessageBox.question(self, 'Change Text?', 'Would you like to change the button text?',
                                      QMessageBox.Yes | QMessageBox.No, QMessageBox.No)  

分别对应

1 父组件

2 问答框标题

3 问答框文字

4 问答框展示的按钮

5 问答框的默认按钮选择

猜你喜欢

转载自blog.csdn.net/m0_62653695/article/details/132512356