@@ -6483,6 +6483,34 @@ class QMessageBox(QDialog):
64836483 @typing.overload
64846484 def __or__(self, other: int) -> int: ...
64856485
6486+ NoButton = ... # type: 'QMessageBox.StandardButton'
6487+ Ok = ... # type: 'QMessageBox.StandardButton'
6488+ Save = ... # type: 'QMessageBox.StandardButton'
6489+ SaveAll = ... # type: 'QMessageBox.StandardButton'
6490+ Open = ... # type: 'QMessageBox.StandardButton'
6491+ Yes = ... # type: 'QMessageBox.StandardButton'
6492+ YesToAll = ... # type: 'QMessageBox.StandardButton'
6493+ No = ... # type: 'QMessageBox.StandardButton'
6494+ NoToAll = ... # type: 'QMessageBox.StandardButton'
6495+ Abort = ... # type: 'QMessageBox.StandardButton'
6496+ Retry = ... # type: 'QMessageBox.StandardButton'
6497+ Ignore = ... # type: 'QMessageBox.StandardButton'
6498+ Close = ... # type: 'QMessageBox.StandardButton'
6499+ Cancel = ... # type: 'QMessageBox.StandardButton'
6500+ Discard = ... # type: 'QMessageBox.StandardButton'
6501+ Help = ... # type: 'QMessageBox.StandardButton'
6502+ Apply = ... # type: 'QMessageBox.StandardButton'
6503+ Reset = ... # type: 'QMessageBox.StandardButton'
6504+ RestoreDefaults = ... # type: 'QMessageBox.StandardButton'
6505+ FirstButton = ... # type: 'QMessageBox.StandardButton'
6506+ LastButton = ... # type: 'QMessageBox.StandardButton'
6507+ YesAll = ... # type: 'QMessageBox.StandardButton'
6508+ NoAll = ... # type: 'QMessageBox.StandardButton'
6509+ Default = ... # type: 'QMessageBox.StandardButton'
6510+ Escape = ... # type: 'QMessageBox.StandardButton'
6511+ FlagMask = ... # type: 'QMessageBox.StandardButton'
6512+ ButtonMask = ... # type: 'QMessageBox.StandardButton'
6513+
64866514 NoButton = ... # type: 'QMessageBox.StandardButton'
64876515 Ok = ... # type: 'QMessageBox.StandardButton'
64886516 Save = ... # type: 'QMessageBox.StandardButton'
@@ -6511,14 +6539,31 @@ class QMessageBox(QDialog):
65116539 FlagMask = ... # type: 'QMessageBox.StandardButton'
65126540 ButtonMask = ... # type: 'QMessageBox.StandardButton'
65136541
6514- class Icon (int ): ...
6542+ class Icon(int):
6543+ NoIcon = ... # type: 'QMessageBox.Icon'
6544+ Information = ... # type: 'QMessageBox.Icon'
6545+ Warning = ... # type: 'QMessageBox.Icon'
6546+ Critical = ... # type: 'QMessageBox.Icon'
6547+ Question = ... # type: 'QMessageBox.Icon'
6548+
65156549 NoIcon = ... # type: 'QMessageBox.Icon'
65166550 Information = ... # type: 'QMessageBox.Icon'
65176551 Warning = ... # type: 'QMessageBox.Icon'
65186552 Critical = ... # type: 'QMessageBox.Icon'
65196553 Question = ... # type: 'QMessageBox.Icon'
65206554
6521- class ButtonRole (int ): ...
6555+ class ButtonRole(int):
6556+ InvalidRole = ... # type: 'QMessageBox.ButtonRole'
6557+ AcceptRole = ... # type: 'QMessageBox.ButtonRole'
6558+ RejectRole = ... # type: 'QMessageBox.ButtonRole'
6559+ DestructiveRole = ... # type: 'QMessageBox.ButtonRole'
6560+ ActionRole = ... # type: 'QMessageBox.ButtonRole'
6561+ HelpRole = ... # type: 'QMessageBox.ButtonRole'
6562+ YesRole = ... # type: 'QMessageBox.ButtonRole'
6563+ NoRole = ... # type: 'QMessageBox.ButtonRole'
6564+ ResetRole = ... # type: 'QMessageBox.ButtonRole'
6565+ ApplyRole = ... # type: 'QMessageBox.ButtonRole'
6566+
65226567 InvalidRole = ... # type: 'QMessageBox.ButtonRole'
65236568 AcceptRole = ... # type: 'QMessageBox.ButtonRole'
65246569 RejectRole = ... # type: 'QMessageBox.ButtonRole'
0 commit comments