PythonQt.QtGui.QDialogButtonBox · declarations 002
Back to PythonQt.QtGui.QDialogButtonBox
centerButtons
instance-attribute
centerButtons: bool
Qt 5 reference:
centerButtons : bool
This property holds whether the buttons in the button box are centered
By default, this property is false. This behavior is appropriate for most types of
dialogs. A notable exception is message boxes on most platforms (e.g. Windows), where
the button box is centered horizontally.
Access functions:
| bool | centerButtons() const |
|---|---|
| void | setCenterButtons(bool center) |
See also QMessageBox.
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#centerButtons
changeEvent
changeEvent(event: Any) -> None
X.changeEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QDialogButtonBox::changeEvent(QEvent *event)
Reimplements: QWidget::changeEvent(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
changeEvent(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#changeEvent
clear
clear() -> None
X.clear()
Supplemental documentation: Qt 5 reference:
void QDialogButtonBox::clear()
Clears the button box, deleting all buttons within it.
See also removeButton() and addButton().
Upstream PySide2 reference signatures (binding differences may apply):
clear(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#clear
clicked
clicked(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.clicked; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QDialogButtonBox::clicked(QAbstractButton *button)
This signal is emitted when a button inside the button box is clicked. The specific button that was pressed is specified by button.
See also accepted(), rejected(), and helpRequested().
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#clicked
customContextMenuRequested
customContextMenuRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.customContextMenuRequested; argument details are not documented.
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.destroyed; argument details are not documented.
event
event(event: Any) -> bool
X.event(event) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual protected] bool QDialogButtonBox::event(QEvent *event)
Reimplements: QWidget::event(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
event(self, event: PySide2.QtCore.QEvent) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#event
helpRequested
helpRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.helpRequested; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QDialogButtonBox::helpRequested()
This signal is emitted when a button inside the button box is clicked, as long as it was defined with the HelpRole.
See also accepted(), rejected(), and clicked().
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#helpRequested
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.objectNameChanged; argument details are not documented.
orientation
instance-attribute
orientation: Any
Qt 5 reference:
orientation : Qt::Orientation
This property holds the orientation of the button box
By default, the orientation is horizontal (i.e. the buttons are laid out side by side). The possible orientations are Qt::Horizontal and Qt::Vertical.
Access functions:
| Qt::Orientation | orientation() const |
|---|---|
| void | setOrientation(Qt::Orientation orientation) |
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#orientation
rejected
rejected(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.rejected; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QDialogButtonBox::rejected()
This signal is emitted when a button inside the button box is clicked, as long as it was defined with the RejectRole or NoRole.
See also accepted(), helpRequested(), and clicked().
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#rejected
removeButton
removeButton(button: Any) -> None
X.removeButton(button)
Supplemental documentation: Qt 5 reference:
void QDialogButtonBox::removeButton(QAbstractButton *button)
Removes button from the button box without deleting it and sets its parent to zero.
See also clear(), buttons(), and addButton().
Upstream PySide2 reference signatures (binding differences may apply):
removeButton(self, button: PySide2.QtWidgets.QAbstractButton) -> None
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#removeButton
setCenterButtons
setCenterButtons(center: bool) -> None
X.setCenterButtons(center)
Upstream PySide2 reference signatures (binding differences may apply):
setCenterButtons(self, center: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#setCenterButtons
setOrientation
setOrientation(orientation: Any) -> None
X.setOrientation(orientation)
Upstream PySide2 reference signatures (binding differences may apply):
setOrientation(self, orientation: PySide2.QtCore.Qt.Orientation) -> None
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#setOrientation
setStandardButtons
setStandardButtons(buttons: Any) -> None
X.setStandardButtons(buttons)
Upstream PySide2 reference signatures (binding differences may apply):
setStandardButtons(self, buttons: PySide2.QtWidgets.QDialogButtonBox.StandardButtons) -> None
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#setStandardButtons
standardButton
standardButton(button: Any) -> Any
X.standardButton(button)
Supplemental documentation: Qt 5 reference:
QDialogButtonBox::StandardButton QDialogButtonBox::standardButton(QAbstractButton *button) const
Returns the standard button enum value corresponding to the given button, or NoButton if the given button isn't a standard button.
See also button(), buttons(), and standardButtons().
Upstream PySide2 reference signatures (binding differences may apply):
standardButton(self, button: PySide2.QtWidgets.QAbstractButton) -> PySide2.QtWidgets.QDialogButtonBox.StandardButton
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#standardButton
standardButtons
instance-attribute
standardButtons: Any
Qt 5 reference:
standardButtons : StandardButtons
collection of standard buttons in the button box
This property controls which standard buttons are used by the button box.
Access functions:
| QDialogButtonBox::StandardButtons | standardButtons() const |
|---|---|
| void | setStandardButtons(QDialogButtonBox::StandardButtons buttons) |
See also addButton().
Source: https://doc.qt.io/archives/qt-5.15/qdialogbuttonbox.html#standardButtons
windowIconChanged
windowIconChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.windowIconChanged; argument details are not documented.
windowIconTextChanged
windowIconTextChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.windowIconTextChanged; argument details are not documented.
windowTitleChanged
windowTitleChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QDialogButtonBox.windowTitleChanged; argument details are not documented.