在PyQt 4.1提供一个Button对话框组件:QDialogButtonBox类。 通过该类可以创建OK和Cancel按钮。例如:. buttonBox=QDialogButtonBox(QDialogButtonBox.
確定! 回上一頁