setStandardButtons(QDialogButtonBox.Ok | QDialogButtonBox.Cancel) btnBox.rejected.connect(self.close1) def close1(): self.dlg.close().
確定! 回上一頁