QDialogButtonBox Class Reference
[QtGui module]
Inherits QWidget.
Types
- enum ButtonLayout { WinLayout, MacLayout, KdeLayout, GnomeLayout }
- enum ButtonRole { InvalidRole, AcceptRole, RejectRole, DestructiveRole, ..., ApplyRole }
- enum StandardButton { NoButton, Ok, Save, SaveAll, ..., RestoreDefaults }
- class StandardButtons
Methods
- __init__ (self, QWidget parent = None)
- __init__ (self, Qt.Orientation, QWidget parent = None)
- __init__ (self, StandardButtons, Qt.Orientation orientation = Qt.Horizontal, QWidget parent = None)
- addButton (self, QAbstractButton, ButtonRole)
- QPushButton addButton (self, QString, ButtonRole)
- QPushButton addButton (self, StandardButton)
- QPushButton button (self, StandardButton)
- ButtonRole buttonRole (self, QAbstractButton)
- list-of-QAbstractButton buttons (self)
- bool centerButtons (self)
- changeEvent (self, QEvent)
- clear (self)
- bool event (self, QEvent)
- Qt.Orientation orientation (self)
- removeButton (self, QAbstractButton)
- setCenterButtons (self, bool)
- setOrientation (self, Qt.Orientation)
- setStandardButtons (self, StandardButtons)
- StandardButton standardButton (self, QAbstractButton)
- StandardButtons standardButtons (self)
Qt Signals
Detailed Description
Type Documentation
QDialogButtonBox.ButtonLayout
QDialogButtonBox.ButtonRole
QDialogButtonBox.StandardButton
Method Documentation
QDialogButtonBox.__init__ (self, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDialogButtonBox.__init__ (self, Qt.Orientation, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDialogButtonBox.__init__ (self, StandardButtons, Qt.Orientation orientation = Qt.Horizontal, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
The QAbstractButton argument has it's ownership transferred to Qt.
QPushButton QDialogButtonBox.addButton (self, QString, ButtonRole)
list-of-QAbstractButton QDialogButtonBox.buttons (self)
bool QDialogButtonBox.centerButtons (self)
QDialogButtonBox.changeEvent (self, QEvent)
QDialogButtonBox.clear (self)
bool QDialogButtonBox.event (self, QEvent)
Qt.Orientation QDialogButtonBox.orientation (self)
QDialogButtonBox.removeButton (self, QAbstractButton)
The QAbstractButton argument
QDialogButtonBox.setCenterButtons (self, bool)
QDialogButtonBox.setOrientation (self, Qt.Orientation)
QDialogButtonBox.setStandardButtons (self, StandardButtons)
StandardButtons QDialogButtonBox.standardButtons (self)
Qt Signal Documentation
void accepted ()
This is the default overload of this signal.
void clicked (QAbstractButton *)
This is the default overload of this signal.
void helpRequested ()
This is the default overload of this signal.
void rejected ()
This is the default overload of this signal.