KLayout 0.29.8 (2024-11-26 926dac96c) [master]

API reference - Class QDialogButtonBox

Notation used in Ruby API documentation

Module: QtGui

Description: Binding of QDialogButtonBox

Class hierarchy: QDialogButtonBox » QWidget » QObject

Sub-classes: ButtonRole, QFlags_ButtonRole, StandardButton, QFlags_StandardButton

Public constructors

new QDialogButtonBoxnew(QWidget ptr parent = 0)Constructor QDialogButtonBox::QDialogButtonBox(QWidget *parent)
new QDialogButtonBoxnew(const Qt_Orientation orientation,
QWidget ptr parent = 0)
Constructor QDialogButtonBox::QDialogButtonBox(Qt::Orientation orientation, QWidget *parent)

Public methods

[const]QDialogButtonBox ptr_const_castReturns a non-const reference to self.
void_createEnsures the C++ object is created
void_destroyExplicitly destroys the object
[const]bool_destroyed?Returns a value indicating whether the object was already destroyed
[const]bool_is_const_object?Returns a value indicating whether the reference is a const reference
void_manageMarks the object as managed by the script side.
void_unmanageMarks the object as no longer owned by the script side.
[signal]voidacceptedSignal declaration for QDialogButtonBox::accepted()
voidaddButton(QAbstractButton ptr button,
const QDialogButtonBox_ButtonRole role)
Method void QDialogButtonBox::addButton(QAbstractButton *button, QDialogButtonBox::ButtonRole role)
QPushButton ptraddButton(string text,
const QDialogButtonBox_ButtonRole role)
Method QPushButton *QDialogButtonBox::addButton(const QString &text, QDialogButtonBox::ButtonRole role)
QPushButton ptraddButton(const QDialogButtonBox_StandardButton button)Method QPushButton *QDialogButtonBox::addButton(QDialogButtonBox::StandardButton button)
[const]QPushButton ptrbutton(const QDialogButtonBox_StandardButton which)Method QPushButton *QDialogButtonBox::button(QDialogButtonBox::StandardButton which)
[const]QDialogButtonBox_ButtonRolebuttonRole(QAbstractButton ptr button)Method QDialogButtonBox::ButtonRole QDialogButtonBox::buttonRole(QAbstractButton *button)
[const]QAbstractButton ptr[]buttonsMethod QList<QAbstractButton *> QDialogButtonBox::buttons()
[const]boolcenterButtonsMethod bool QDialogButtonBox::centerButtons()
voidcenterButtons=(bool center)Method void QDialogButtonBox::setCenterButtons(bool center)
voidclearMethod void QDialogButtonBox::clear()
[signal]voidclicked(QAbstractButton ptr button)Signal declaration for QDialogButtonBox::clicked(QAbstractButton *button)
[signal]voidcustomContextMenuRequested(const QPoint pos)Signal declaration for QDialogButtonBox::customContextMenuRequested(const QPoint &pos)
[signal]voiddestroyed(QObject ptr arg1)Signal declaration for QDialogButtonBox::destroyed(QObject *)
voidemit_acceptedEmitter for signal void QDialogButtonBox::accepted()
voidemit_clicked(QAbstractButton ptr button)Emitter for signal void QDialogButtonBox::clicked(QAbstractButton *button)
voidemit_customContextMenuRequested(const QPoint pos)Emitter for signal void QDialogButtonBox::customContextMenuRequested(const QPoint &pos)
voidemit_destroyed(QObject ptr arg1 = 0)Emitter for signal void QDialogButtonBox::destroyed(QObject *)
voidemit_helpRequestedEmitter for signal void QDialogButtonBox::helpRequested()
voidemit_rejectedEmitter for signal void QDialogButtonBox::rejected()
booleventFilter(QObject ptr arg1,
QEvent ptr arg2)
Virtual method bool QDialogButtonBox::eventFilter(QObject *, QEvent *)
[const]intheightForWidth(int arg1)Virtual method int QDialogButtonBox::heightForWidth(int)
[signal]voidhelpRequestedSignal declaration for QDialogButtonBox::helpRequested()
[const]variantinputMethodQuery(const Qt_InputMethodQuery arg1)Virtual method QVariant QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery)
[const]QSizeminimumSizeHintVirtual method QSize QDialogButtonBox::minimumSizeHint()
[const]Qt_OrientationorientationMethod Qt::Orientation QDialogButtonBox::orientation()
voidorientation=(const Qt_Orientation orientation)Method void QDialogButtonBox::setOrientation(Qt::Orientation orientation)
[const]QPaintEngine ptrpaintEngineVirtual method QPaintEngine *QDialogButtonBox::paintEngine()
[signal]voidrejectedSignal declaration for QDialogButtonBox::rejected()
voidremoveButton(QAbstractButton ptr button)Method void QDialogButtonBox::removeButton(QAbstractButton *button)
voidsetCenterButtons(bool center)Method void QDialogButtonBox::setCenterButtons(bool center)
voidsetOrientation(const Qt_Orientation orientation)Method void QDialogButtonBox::setOrientation(Qt::Orientation orientation)
voidsetStandardButtons(QDialogButtonBox_QFlags_StandardButton buttons)Method void QDialogButtonBox::setStandardButtons(QFlags<QDialogButtonBox::StandardButton> buttons)
voidsetVisible(bool visible)Virtual method void QDialogButtonBox::setVisible(bool visible)
[const]QSizesizeHintVirtual method QSize QDialogButtonBox::sizeHint()
[const]QDialogButtonBox_StandardButtonstandardButton(QAbstractButton ptr button)Method QDialogButtonBox::StandardButton QDialogButtonBox::standardButton(QAbstractButton *button)
[const]QDialogButtonBox_QFlags_StandardButtonstandardButtonsMethod QFlags<QDialogButtonBox::StandardButton> QDialogButtonBox::standardButtons()
voidstandardButtons=(QDialogButtonBox_QFlags_StandardButton buttons)Method void QDialogButtonBox::setStandardButtons(QFlags<QDialogButtonBox::StandardButton> buttons)

Public static methods and constants

[static,const]QDialogButtonBox_StandardButtonAbortEnum constant QDialogButtonBox::Abort
[static,const]QDialogButtonBox_ButtonRoleAcceptRoleEnum constant QDialogButtonBox::AcceptRole
[static,const]QDialogButtonBox_ButtonRoleActionRoleEnum constant QDialogButtonBox::ActionRole
[static,const]QDialogButtonBox_StandardButtonApplyEnum constant QDialogButtonBox::Apply
[static,const]QDialogButtonBox_ButtonRoleApplyRoleEnum constant QDialogButtonBox::ApplyRole
[static,const]QDialogButtonBox_StandardButtonCancelEnum constant QDialogButtonBox::Cancel
[static,const]QDialogButtonBox_StandardButtonCloseEnum constant QDialogButtonBox::Close
[static,const]QDialogButtonBox_ButtonRoleDestructiveRoleEnum constant QDialogButtonBox::DestructiveRole
[static,const]QDialogButtonBox_StandardButtonDiscardEnum constant QDialogButtonBox::Discard
[static,const]QDialogButtonBox_StandardButtonFirstButtonEnum constant QDialogButtonBox::FirstButton
[static,const]QDialogButtonBox_StandardButtonHelpEnum constant QDialogButtonBox::Help
[static,const]QDialogButtonBox_ButtonRoleHelpRoleEnum constant QDialogButtonBox::HelpRole
[static,const]QDialogButtonBox_StandardButtonIgnoreEnum constant QDialogButtonBox::Ignore
[static,const]QDialogButtonBox_ButtonRoleInvalidRoleEnum constant QDialogButtonBox::InvalidRole
[static,const]QDialogButtonBox_StandardButtonLastButtonEnum constant QDialogButtonBox::LastButton
[static,const]QDialogButtonBox_ButtonRoleNRolesEnum constant QDialogButtonBox::NRoles
[static,const]QDialogButtonBox_StandardButtonNoEnum constant QDialogButtonBox::No
[static,const]QDialogButtonBox_StandardButtonNoButtonEnum constant QDialogButtonBox::NoButton
[static,const]QDialogButtonBox_ButtonRoleNoRoleEnum constant QDialogButtonBox::NoRole
[static,const]QDialogButtonBox_StandardButtonNoToAllEnum constant QDialogButtonBox::NoToAll
[static,const]QDialogButtonBox_StandardButtonOkEnum constant QDialogButtonBox::Ok
[static,const]QDialogButtonBox_StandardButtonOpenEnum constant QDialogButtonBox::Open
[static,const]QDialogButtonBox_ButtonRoleRejectRoleEnum constant QDialogButtonBox::RejectRole
[static,const]QDialogButtonBox_StandardButtonResetEnum constant QDialogButtonBox::Reset
[static,const]QDialogButtonBox_ButtonRoleResetRoleEnum constant QDialogButtonBox::ResetRole
[static,const]QDialogButtonBox_StandardButtonRestoreDefaultsEnum constant QDialogButtonBox::RestoreDefaults
[static,const]QDialogButtonBox_StandardButtonRetryEnum constant QDialogButtonBox::Retry
[static,const]QDialogButtonBox_StandardButtonSaveEnum constant QDialogButtonBox::Save
[static,const]QDialogButtonBox_StandardButtonSaveAllEnum constant QDialogButtonBox::SaveAll
[static,const]QDialogButtonBox_StandardButtonYesEnum constant QDialogButtonBox::Yes
[static,const]QDialogButtonBox_ButtonRoleYesRoleEnum constant QDialogButtonBox::YesRole
[static,const]QDialogButtonBox_StandardButtonYesToAllEnum constant QDialogButtonBox::YesToAll
new QDialogButtonBoxnew_buttons(QDialogButtonBox_QFlags_StandardButton buttons,
const Qt_Orientation orientation = Qt::Horizontal,
QWidget ptr parent = 0)
Constructor QDialogButtonBox::QDialogButtonBox(QFlags<QDialogButtonBox::StandardButton> buttons, Qt::Orientation orientation, QWidget *parent)
QMetaObjectstaticMetaObjectObtains the static MetaObject for this class.
stringtr(string s,
string c = 0)
Static method QString QDialogButtonBox::tr(const char *s, const char *c)
stringtr(string s,
string c,
int n)
Static method QString QDialogButtonBox::tr(const char *s, const char *c, int n)
stringtrUtf8(string s,
string c = 0)
Static method QString QDialogButtonBox::trUtf8(const char *s, const char *c)
stringtrUtf8(string s,
string c,
int n)
Static method QString QDialogButtonBox::trUtf8(const char *s, const char *c, int n)

Protected methods (static, non-static and constructors)

voidactionEvent(QActionEvent ptr arg1)Virtual method void QDialogButtonBox::actionEvent(QActionEvent *)
voidchangeEvent(QEvent ptr event)Virtual method void QDialogButtonBox::changeEvent(QEvent *event)
voidchildEvent(QChildEvent ptr arg1)Virtual method void QDialogButtonBox::childEvent(QChildEvent *)
voidcloseEvent(QCloseEvent ptr arg1)Virtual method void QDialogButtonBox::closeEvent(QCloseEvent *)
voidcontextMenuEvent(QContextMenuEvent ptr arg1)Virtual method void QDialogButtonBox::contextMenuEvent(QContextMenuEvent *)
voidcustomEvent(QEvent ptr arg1)Virtual method void QDialogButtonBox::customEvent(QEvent *)
voiddisconnectNotify(string signal)Virtual method void QDialogButtonBox::disconnectNotify(const char *signal)
voiddragEnterEvent(QDragEnterEvent ptr arg1)Virtual method void QDialogButtonBox::dragEnterEvent(QDragEnterEvent *)
voiddragLeaveEvent(QDragLeaveEvent ptr arg1)Virtual method void QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent *)
voiddragMoveEvent(QDragMoveEvent ptr arg1)Virtual method void QDialogButtonBox::dragMoveEvent(QDragMoveEvent *)
voiddropEvent(QDropEvent ptr arg1)Virtual method void QDialogButtonBox::dropEvent(QDropEvent *)
voidenabledChange(bool arg1)Virtual method void QDialogButtonBox::enabledChange(bool)
voidenterEvent(QEvent ptr arg1)Virtual method void QDialogButtonBox::enterEvent(QEvent *)
boolevent(QEvent ptr event)Virtual method bool QDialogButtonBox::event(QEvent *event)
voidfocusInEvent(QFocusEvent ptr arg1)Virtual method void QDialogButtonBox::focusInEvent(QFocusEvent *)
boolfocusNextChildMethod bool QDialogButtonBox::focusNextChild()
boolfocusNextPrevChild(bool next)Virtual method bool QDialogButtonBox::focusNextPrevChild(bool next)
voidfocusOutEvent(QFocusEvent ptr arg1)Virtual method void QDialogButtonBox::focusOutEvent(QFocusEvent *)
boolfocusPreviousChildMethod bool QDialogButtonBox::focusPreviousChild()
voidfontChange(const QFont arg1)Virtual method void QDialogButtonBox::fontChange(const QFont &)
voidhideEvent(QHideEvent ptr arg1)Virtual method void QDialogButtonBox::hideEvent(QHideEvent *)
voidinputMethodEvent(QInputMethodEvent ptr arg1)Virtual method void QDialogButtonBox::inputMethodEvent(QInputMethodEvent *)
voidkeyPressEvent(QKeyEvent ptr arg1)Virtual method void QDialogButtonBox::keyPressEvent(QKeyEvent *)
voidkeyReleaseEvent(QKeyEvent ptr arg1)Virtual method void QDialogButtonBox::keyReleaseEvent(QKeyEvent *)
voidlanguageChangeVirtual method void QDialogButtonBox::languageChange()
voidleaveEvent(QEvent ptr arg1)Virtual method void QDialogButtonBox::leaveEvent(QEvent *)
[const]intmetric(const QPaintDevice_PaintDeviceMetric arg1)Virtual method int QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric)
voidmouseDoubleClickEvent(QMouseEvent ptr arg1)Virtual method void QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent *)
voidmouseMoveEvent(QMouseEvent ptr arg1)Virtual method void QDialogButtonBox::mouseMoveEvent(QMouseEvent *)
voidmousePressEvent(QMouseEvent ptr arg1)Virtual method void QDialogButtonBox::mousePressEvent(QMouseEvent *)
voidmouseReleaseEvent(QMouseEvent ptr arg1)Virtual method void QDialogButtonBox::mouseReleaseEvent(QMouseEvent *)
voidmoveEvent(QMoveEvent ptr arg1)Virtual method void QDialogButtonBox::moveEvent(QMoveEvent *)
voidpaintEvent(QPaintEvent ptr arg1)Virtual method void QDialogButtonBox::paintEvent(QPaintEvent *)
voidpaletteChange(const QPalette arg1)Virtual method void QDialogButtonBox::paletteChange(const QPalette &)
voidqt_create(unsigned long arg1 = 0,
bool initializeWindow = true,
bool destroyOldWindow = true)
Method void QDialogButtonBox::create(WId, bool initializeWindow, bool destroyOldWindow)
voidqt_destroy(bool destroyWindow = true,
bool destroySubWindows = true)
Method void QDialogButtonBox::destroy(bool destroyWindow, bool destroySubWindows)
[const]intreceivers(string signal)Method int QDialogButtonBox::receivers(const char *signal)
voidresetInputContextMethod void QDialogButtonBox::resetInputContext()
voidresizeEvent(QResizeEvent ptr arg1)Virtual method void QDialogButtonBox::resizeEvent(QResizeEvent *)
[const]QObject ptrsenderMethod QObject *QDialogButtonBox::sender()
voidshowEvent(QShowEvent ptr arg1)Virtual method void QDialogButtonBox::showEvent(QShowEvent *)
voidstyleChange(QStyle arg1)Virtual method void QDialogButtonBox::styleChange(QStyle &)
voidtabletEvent(QTabletEvent ptr arg1)Virtual method void QDialogButtonBox::tabletEvent(QTabletEvent *)
voidtimerEvent(QTimerEvent ptr arg1)Virtual method void QDialogButtonBox::timerEvent(QTimerEvent *)
voidupdateMicroFocusMethod void QDialogButtonBox::updateMicroFocus()
voidwheelEvent(QWheelEvent ptr arg1)Virtual method void QDialogButtonBox::wheelEvent(QWheelEvent *)
voidwindowActivationChange(bool arg1)Virtual method void QDialogButtonBox::windowActivationChange(bool)

Deprecated methods (protected, public, static, non-static and constructors)

voidcreateUse of this method is deprecated. Use _create instead
voiddestroyUse of this method is deprecated. Use _destroy instead
[const]boolis_const_object?Use of this method is deprecated. Use _is_const_object? instead

Detailed description

Abort

Signature: [static,const] QDialogButtonBox_StandardButton Abort

Description: Enum constant QDialogButtonBox::Abort

Python specific notes:
The object exposes a readable attribute 'Abort'. This is the getter.

AcceptRole

Signature: [static,const] QDialogButtonBox_ButtonRole AcceptRole

Description: Enum constant QDialogButtonBox::AcceptRole

Python specific notes:
The object exposes a readable attribute 'AcceptRole'. This is the getter.

ActionRole

Signature: [static,const] QDialogButtonBox_ButtonRole ActionRole

Description: Enum constant QDialogButtonBox::ActionRole

Python specific notes:
The object exposes a readable attribute 'ActionRole'. This is the getter.

Apply

Signature: [static,const] QDialogButtonBox_StandardButton Apply

Description: Enum constant QDialogButtonBox::Apply

Python specific notes:
The object exposes a readable attribute 'Apply'. This is the getter.

ApplyRole

Signature: [static,const] QDialogButtonBox_ButtonRole ApplyRole

Description: Enum constant QDialogButtonBox::ApplyRole

Python specific notes:
The object exposes a readable attribute 'ApplyRole'. This is the getter.

Cancel

Signature: [static,const] QDialogButtonBox_StandardButton Cancel

Description: Enum constant QDialogButtonBox::Cancel

Python specific notes:
The object exposes a readable attribute 'Cancel'. This is the getter.

Close

Signature: [static,const] QDialogButtonBox_StandardButton Close

Description: Enum constant QDialogButtonBox::Close

Python specific notes:
The object exposes a readable attribute 'Close'. This is the getter.

DestructiveRole

Signature: [static,const] QDialogButtonBox_ButtonRole DestructiveRole

Description: Enum constant QDialogButtonBox::DestructiveRole

Python specific notes:
The object exposes a readable attribute 'DestructiveRole'. This is the getter.

Discard

Signature: [static,const] QDialogButtonBox_StandardButton Discard

Description: Enum constant QDialogButtonBox::Discard

Python specific notes:
The object exposes a readable attribute 'Discard'. This is the getter.

FirstButton

Signature: [static,const] QDialogButtonBox_StandardButton FirstButton

Description: Enum constant QDialogButtonBox::FirstButton

Python specific notes:
The object exposes a readable attribute 'FirstButton'. This is the getter.

Help

Signature: [static,const] QDialogButtonBox_StandardButton Help

Description: Enum constant QDialogButtonBox::Help

Python specific notes:
The object exposes a readable attribute 'Help'. This is the getter.

HelpRole

Signature: [static,const] QDialogButtonBox_ButtonRole HelpRole

Description: Enum constant QDialogButtonBox::HelpRole

Python specific notes:
The object exposes a readable attribute 'HelpRole'. This is the getter.

Ignore

Signature: [static,const] QDialogButtonBox_StandardButton Ignore

Description: Enum constant QDialogButtonBox::Ignore

Python specific notes:
The object exposes a readable attribute 'Ignore'. This is the getter.

InvalidRole

Signature: [static,const] QDialogButtonBox_ButtonRole InvalidRole

Description: Enum constant QDialogButtonBox::InvalidRole

Python specific notes:
The object exposes a readable attribute 'InvalidRole'. This is the getter.

LastButton

Signature: [static,const] QDialogButtonBox_StandardButton LastButton

Description: Enum constant QDialogButtonBox::LastButton

Python specific notes:
The object exposes a readable attribute 'LastButton'. This is the getter.

NRoles

Signature: [static,const] QDialogButtonBox_ButtonRole NRoles

Description: Enum constant QDialogButtonBox::NRoles

Python specific notes:
The object exposes a readable attribute 'NRoles'. This is the getter.

No

Signature: [static,const] QDialogButtonBox_StandardButton No

Description: Enum constant QDialogButtonBox::No

Python specific notes:
The object exposes a readable attribute 'No'. This is the getter.

NoButton

Signature: [static,const] QDialogButtonBox_StandardButton NoButton

Description: Enum constant QDialogButtonBox::NoButton

Python specific notes:
The object exposes a readable attribute 'NoButton'. This is the getter.

NoRole

Signature: [static,const] QDialogButtonBox_ButtonRole NoRole

Description: Enum constant QDialogButtonBox::NoRole

Python specific notes:
The object exposes a readable attribute 'NoRole'. This is the getter.

NoToAll

Signature: [static,const] QDialogButtonBox_StandardButton NoToAll

Description: Enum constant QDialogButtonBox::NoToAll

Python specific notes:
The object exposes a readable attribute 'NoToAll'. This is the getter.

Ok

Signature: [static,const] QDialogButtonBox_StandardButton Ok

Description: Enum constant QDialogButtonBox::Ok

Python specific notes:
The object exposes a readable attribute 'Ok'. This is the getter.

Open

Signature: [static,const] QDialogButtonBox_StandardButton Open

Description: Enum constant QDialogButtonBox::Open

Python specific notes:
The object exposes a readable attribute 'Open'. This is the getter.

RejectRole

Signature: [static,const] QDialogButtonBox_ButtonRole RejectRole

Description: Enum constant QDialogButtonBox::RejectRole

Python specific notes:
The object exposes a readable attribute 'RejectRole'. This is the getter.

Reset

Signature: [static,const] QDialogButtonBox_StandardButton Reset

Description: Enum constant QDialogButtonBox::Reset

Python specific notes:
The object exposes a readable attribute 'Reset'. This is the getter.

ResetRole

Signature: [static,const] QDialogButtonBox_ButtonRole ResetRole

Description: Enum constant QDialogButtonBox::ResetRole

Python specific notes:
The object exposes a readable attribute 'ResetRole'. This is the getter.

RestoreDefaults

Signature: [static,const] QDialogButtonBox_StandardButton RestoreDefaults

Description: Enum constant QDialogButtonBox::RestoreDefaults

Python specific notes:
The object exposes a readable attribute 'RestoreDefaults'. This is the getter.

Retry

Signature: [static,const] QDialogButtonBox_StandardButton Retry

Description: Enum constant QDialogButtonBox::Retry

Python specific notes:
The object exposes a readable attribute 'Retry'. This is the getter.

Save

Signature: [static,const] QDialogButtonBox_StandardButton Save

Description: Enum constant QDialogButtonBox::Save

Python specific notes:
The object exposes a readable attribute 'Save'. This is the getter.

SaveAll

Signature: [static,const] QDialogButtonBox_StandardButton SaveAll

Description: Enum constant QDialogButtonBox::SaveAll

Python specific notes:
The object exposes a readable attribute 'SaveAll'. This is the getter.

Yes

Signature: [static,const] QDialogButtonBox_StandardButton Yes

Description: Enum constant QDialogButtonBox::Yes

Python specific notes:
The object exposes a readable attribute 'Yes'. This is the getter.

YesRole

Signature: [static,const] QDialogButtonBox_ButtonRole YesRole

Description: Enum constant QDialogButtonBox::YesRole

Python specific notes:
The object exposes a readable attribute 'YesRole'. This is the getter.

YesToAll

Signature: [static,const] QDialogButtonBox_StandardButton YesToAll

Description: Enum constant QDialogButtonBox::YesToAll

Python specific notes:
The object exposes a readable attribute 'YesToAll'. This is the getter.

_const_cast

Signature: [const] QDialogButtonBox ptr _const_cast

Description: Returns a non-const reference to self.

Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects.

This method has been introduced in version 0.29.6.

_create

Signature: void _create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

_destroy

Signature: void _destroy

Description: Explicitly destroys the object

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

_destroyed?

Signature: [const] bool _destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

_is_const_object?

Signature: [const] bool _is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

_manage

Signature: void _manage

Description: Marks the object as managed by the script side.

After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required.

Usually it's not required to call this method. It has been introduced in version 0.24.

_unmanage

Signature: void _unmanage

Description: Marks the object as no longer owned by the script side.

Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur.

Usually it's not required to call this method. It has been introduced in version 0.24.

accepted

Signature: [signal] void accepted

Description: Signal declaration for QDialogButtonBox::accepted()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'accepted'. This is the getter.
The object exposes a writable attribute 'accepted'. This is the setter.

actionEvent

Signature: void actionEvent (QActionEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::actionEvent(QActionEvent *)

This method can be reimplemented in a derived class.

addButton

(1) Signature: void addButton (QAbstractButton ptr button, const QDialogButtonBox_ButtonRole role)

Description: Method void QDialogButtonBox::addButton(QAbstractButton *button, QDialogButtonBox::ButtonRole role)

(2) Signature: QPushButton ptr addButton (string text, const QDialogButtonBox_ButtonRole role)

Description: Method QPushButton *QDialogButtonBox::addButton(const QString &text, QDialogButtonBox::ButtonRole role)

(3) Signature: QPushButton ptr addButton (const QDialogButtonBox_StandardButton button)

Description: Method QPushButton *QDialogButtonBox::addButton(QDialogButtonBox::StandardButton button)

button

Signature: [const] QPushButton ptr button (const QDialogButtonBox_StandardButton which)

Description: Method QPushButton *QDialogButtonBox::button(QDialogButtonBox::StandardButton which)

buttonRole

Signature: [const] QDialogButtonBox_ButtonRole buttonRole (QAbstractButton ptr button)

Description: Method QDialogButtonBox::ButtonRole QDialogButtonBox::buttonRole(QAbstractButton *button)

buttons

Signature: [const] QAbstractButton ptr[] buttons

Description: Method QList<QAbstractButton *> QDialogButtonBox::buttons()

centerButtons

Signature: [const] bool centerButtons

Description: Method bool QDialogButtonBox::centerButtons()

Python specific notes:
The object exposes a readable attribute 'centerButtons'. This is the getter.

centerButtons=

Signature: void centerButtons= (bool center)

Description: Method void QDialogButtonBox::setCenterButtons(bool center)

Python specific notes:
The object exposes a writable attribute 'centerButtons'. This is the setter.

changeEvent

Signature: void changeEvent (QEvent ptr event)

Description: Virtual method void QDialogButtonBox::changeEvent(QEvent *event)

This method can be reimplemented in a derived class.

childEvent

Signature: void childEvent (QChildEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::childEvent(QChildEvent *)

This method can be reimplemented in a derived class.

clear

Signature: void clear

Description: Method void QDialogButtonBox::clear()

clicked

Signature: [signal] void clicked (QAbstractButton ptr button)

Description: Signal declaration for QDialogButtonBox::clicked(QAbstractButton *button)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'clicked'. This is the getter.
The object exposes a writable attribute 'clicked'. This is the setter.

closeEvent

Signature: void closeEvent (QCloseEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::closeEvent(QCloseEvent *)

This method can be reimplemented in a derived class.

contextMenuEvent

Signature: void contextMenuEvent (QContextMenuEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::contextMenuEvent(QContextMenuEvent *)

This method can be reimplemented in a derived class.

create

Signature: void create

Description: Ensures the C++ object is created

Use of this method is deprecated. Use _create instead

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

customContextMenuRequested

Signature: [signal] void customContextMenuRequested (const QPoint pos)

Description: Signal declaration for QDialogButtonBox::customContextMenuRequested(const QPoint &pos)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'customContextMenuRequested'. This is the getter.
The object exposes a writable attribute 'customContextMenuRequested'. This is the setter.

customEvent

Signature: void customEvent (QEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::customEvent(QEvent *)

This method can be reimplemented in a derived class.

destroy

Signature: void destroy

Description: Explicitly destroys the object

Use of this method is deprecated. Use _destroy instead

Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing.

destroyed

Signature: [signal] void destroyed (QObject ptr arg1)

Description: Signal declaration for QDialogButtonBox::destroyed(QObject *)

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'destroyed'. This is the getter.
The object exposes a writable attribute 'destroyed'. This is the setter.

disconnectNotify

Signature: void disconnectNotify (string signal)

Description: Virtual method void QDialogButtonBox::disconnectNotify(const char *signal)

This method can be reimplemented in a derived class.

dragEnterEvent

Signature: void dragEnterEvent (QDragEnterEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::dragEnterEvent(QDragEnterEvent *)

This method can be reimplemented in a derived class.

dragLeaveEvent

Signature: void dragLeaveEvent (QDragLeaveEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::dragLeaveEvent(QDragLeaveEvent *)

This method can be reimplemented in a derived class.

dragMoveEvent

Signature: void dragMoveEvent (QDragMoveEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::dragMoveEvent(QDragMoveEvent *)

This method can be reimplemented in a derived class.

dropEvent

Signature: void dropEvent (QDropEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::dropEvent(QDropEvent *)

This method can be reimplemented in a derived class.

emit_accepted

Signature: void emit_accepted

Description: Emitter for signal void QDialogButtonBox::accepted()

Call this method to emit this signal.

emit_clicked

Signature: void emit_clicked (QAbstractButton ptr button)

Description: Emitter for signal void QDialogButtonBox::clicked(QAbstractButton *button)

Call this method to emit this signal.

emit_customContextMenuRequested

Signature: void emit_customContextMenuRequested (const QPoint pos)

Description: Emitter for signal void QDialogButtonBox::customContextMenuRequested(const QPoint &pos)

Call this method to emit this signal.

emit_destroyed

Signature: void emit_destroyed (QObject ptr arg1 = 0)

Description: Emitter for signal void QDialogButtonBox::destroyed(QObject *)

Call this method to emit this signal.

emit_helpRequested

Signature: void emit_helpRequested

Description: Emitter for signal void QDialogButtonBox::helpRequested()

Call this method to emit this signal.

emit_rejected

Signature: void emit_rejected

Description: Emitter for signal void QDialogButtonBox::rejected()

Call this method to emit this signal.

enabledChange

Signature: void enabledChange (bool arg1)

Description: Virtual method void QDialogButtonBox::enabledChange(bool)

This method can be reimplemented in a derived class.

enterEvent

Signature: void enterEvent (QEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::enterEvent(QEvent *)

This method can be reimplemented in a derived class.

event

Signature: bool event (QEvent ptr event)

Description: Virtual method bool QDialogButtonBox::event(QEvent *event)

This method can be reimplemented in a derived class.

eventFilter

Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2)

Description: Virtual method bool QDialogButtonBox::eventFilter(QObject *, QEvent *)

This method can be reimplemented in a derived class.

focusInEvent

Signature: void focusInEvent (QFocusEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::focusInEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusNextChild

Signature: bool focusNextChild

Description: Method bool QDialogButtonBox::focusNextChild()

This method is protected and can only be called from inside a derived class.

focusNextPrevChild

Signature: bool focusNextPrevChild (bool next)

Description: Virtual method bool QDialogButtonBox::focusNextPrevChild(bool next)

This method can be reimplemented in a derived class.

focusOutEvent

Signature: void focusOutEvent (QFocusEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::focusOutEvent(QFocusEvent *)

This method can be reimplemented in a derived class.

focusPreviousChild

Signature: bool focusPreviousChild

Description: Method bool QDialogButtonBox::focusPreviousChild()

This method is protected and can only be called from inside a derived class.

fontChange

Signature: void fontChange (const QFont arg1)

Description: Virtual method void QDialogButtonBox::fontChange(const QFont &)

This method can be reimplemented in a derived class.

heightForWidth

Signature: [const] int heightForWidth (int arg1)

Description: Virtual method int QDialogButtonBox::heightForWidth(int)

This method can be reimplemented in a derived class.

helpRequested

Signature: [signal] void helpRequested

Description: Signal declaration for QDialogButtonBox::helpRequested()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'helpRequested'. This is the getter.
The object exposes a writable attribute 'helpRequested'. This is the setter.

hideEvent

Signature: void hideEvent (QHideEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::hideEvent(QHideEvent *)

This method can be reimplemented in a derived class.

inputMethodEvent

Signature: void inputMethodEvent (QInputMethodEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::inputMethodEvent(QInputMethodEvent *)

This method can be reimplemented in a derived class.

inputMethodQuery

Signature: [const] variant inputMethodQuery (const Qt_InputMethodQuery arg1)

Description: Virtual method QVariant QDialogButtonBox::inputMethodQuery(Qt::InputMethodQuery)

This method can be reimplemented in a derived class.

is_const_object?

Signature: [const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

Use of this method is deprecated. Use _is_const_object? instead

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

keyPressEvent

Signature: void keyPressEvent (QKeyEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::keyPressEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

keyReleaseEvent

Signature: void keyReleaseEvent (QKeyEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::keyReleaseEvent(QKeyEvent *)

This method can be reimplemented in a derived class.

languageChange

Signature: void languageChange

Description: Virtual method void QDialogButtonBox::languageChange()

This method can be reimplemented in a derived class.

leaveEvent

Signature: void leaveEvent (QEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::leaveEvent(QEvent *)

This method can be reimplemented in a derived class.

metric

Signature: [const] int metric (const QPaintDevice_PaintDeviceMetric arg1)

Description: Virtual method int QDialogButtonBox::metric(QPaintDevice::PaintDeviceMetric)

This method can be reimplemented in a derived class.

minimumSizeHint

Signature: [const] QSize minimumSizeHint

Description: Virtual method QSize QDialogButtonBox::minimumSizeHint()

This method can be reimplemented in a derived class.

mouseDoubleClickEvent

Signature: void mouseDoubleClickEvent (QMouseEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::mouseDoubleClickEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseMoveEvent

Signature: void mouseMoveEvent (QMouseEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::mouseMoveEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mousePressEvent

Signature: void mousePressEvent (QMouseEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::mousePressEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

mouseReleaseEvent

Signature: void mouseReleaseEvent (QMouseEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::mouseReleaseEvent(QMouseEvent *)

This method can be reimplemented in a derived class.

moveEvent

Signature: void moveEvent (QMoveEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::moveEvent(QMoveEvent *)

This method can be reimplemented in a derived class.

new

(1) Signature: [static] new QDialogButtonBox new (QWidget ptr parent = 0)

Description: Constructor QDialogButtonBox::QDialogButtonBox(QWidget *parent)

This method creates an object of class QDialogButtonBox.

Python specific notes:
This method is the default initializer of the object.

(2) Signature: [static] new QDialogButtonBox new (const Qt_Orientation orientation, QWidget ptr parent = 0)

Description: Constructor QDialogButtonBox::QDialogButtonBox(Qt::Orientation orientation, QWidget *parent)

This method creates an object of class QDialogButtonBox.

Python specific notes:
This method is the default initializer of the object.

new_buttons

Signature: [static] new QDialogButtonBox new_buttons (QDialogButtonBox_QFlags_StandardButton buttons, const Qt_Orientation orientation = Qt::Horizontal, QWidget ptr parent = 0)

Description: Constructor QDialogButtonBox::QDialogButtonBox(QFlags<QDialogButtonBox::StandardButton> buttons, Qt::Orientation orientation, QWidget *parent)

This method creates an object of class QDialogButtonBox.

orientation

Signature: [const] Qt_Orientation orientation

Description: Method Qt::Orientation QDialogButtonBox::orientation()

Python specific notes:
The object exposes a readable attribute 'orientation'. This is the getter.

orientation=

Signature: void orientation= (const Qt_Orientation orientation)

Description: Method void QDialogButtonBox::setOrientation(Qt::Orientation orientation)

Python specific notes:
The object exposes a writable attribute 'orientation'. This is the setter.

paintEngine

Signature: [const] QPaintEngine ptr paintEngine

Description: Virtual method QPaintEngine *QDialogButtonBox::paintEngine()

This method can be reimplemented in a derived class.

paintEvent

Signature: void paintEvent (QPaintEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::paintEvent(QPaintEvent *)

This method can be reimplemented in a derived class.

paletteChange

Signature: void paletteChange (const QPalette arg1)

Description: Virtual method void QDialogButtonBox::paletteChange(const QPalette &)

This method can be reimplemented in a derived class.

qt_create

Signature: void qt_create (unsigned long arg1 = 0, bool initializeWindow = true, bool destroyOldWindow = true)

Description: Method void QDialogButtonBox::create(WId, bool initializeWindow, bool destroyOldWindow)

This method is protected and can only be called from inside a derived class.

qt_destroy

Signature: void qt_destroy (bool destroyWindow = true, bool destroySubWindows = true)

Description: Method void QDialogButtonBox::destroy(bool destroyWindow, bool destroySubWindows)

This method is protected and can only be called from inside a derived class.

receivers

Signature: [const] int receivers (string signal)

Description: Method int QDialogButtonBox::receivers(const char *signal)

This method is protected and can only be called from inside a derived class.

rejected

Signature: [signal] void rejected

Description: Signal declaration for QDialogButtonBox::rejected()

You can bind a procedure to this signal.

Python specific notes:
The object exposes a readable attribute 'rejected'. This is the getter.
The object exposes a writable attribute 'rejected'. This is the setter.

removeButton

Signature: void removeButton (QAbstractButton ptr button)

Description: Method void QDialogButtonBox::removeButton(QAbstractButton *button)

resetInputContext

Signature: void resetInputContext

Description: Method void QDialogButtonBox::resetInputContext()

This method is protected and can only be called from inside a derived class.

resizeEvent

Signature: void resizeEvent (QResizeEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::resizeEvent(QResizeEvent *)

This method can be reimplemented in a derived class.

sender

Signature: [const] QObject ptr sender

Description: Method QObject *QDialogButtonBox::sender()

This method is protected and can only be called from inside a derived class.

setCenterButtons

Signature: void setCenterButtons (bool center)

Description: Method void QDialogButtonBox::setCenterButtons(bool center)

Python specific notes:
The object exposes a writable attribute 'centerButtons'. This is the setter.

setOrientation

Signature: void setOrientation (const Qt_Orientation orientation)

Description: Method void QDialogButtonBox::setOrientation(Qt::Orientation orientation)

Python specific notes:
The object exposes a writable attribute 'orientation'. This is the setter.

setStandardButtons

Signature: void setStandardButtons (QDialogButtonBox_QFlags_StandardButton buttons)

Description: Method void QDialogButtonBox::setStandardButtons(QFlags<QDialogButtonBox::StandardButton> buttons)

Python specific notes:
The object exposes a writable attribute 'standardButtons'. This is the setter.

setVisible

Signature: void setVisible (bool visible)

Description: Virtual method void QDialogButtonBox::setVisible(bool visible)

This method can be reimplemented in a derived class.

showEvent

Signature: void showEvent (QShowEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::showEvent(QShowEvent *)

This method can be reimplemented in a derived class.

sizeHint

Signature: [const] QSize sizeHint

Description: Virtual method QSize QDialogButtonBox::sizeHint()

This method can be reimplemented in a derived class.

standardButton

Signature: [const] QDialogButtonBox_StandardButton standardButton (QAbstractButton ptr button)

Description: Method QDialogButtonBox::StandardButton QDialogButtonBox::standardButton(QAbstractButton *button)

standardButtons

Signature: [const] QDialogButtonBox_QFlags_StandardButton standardButtons

Description: Method QFlags<QDialogButtonBox::StandardButton> QDialogButtonBox::standardButtons()

Python specific notes:
The object exposes a readable attribute 'standardButtons'. This is the getter.

standardButtons=

Signature: void standardButtons= (QDialogButtonBox_QFlags_StandardButton buttons)

Description: Method void QDialogButtonBox::setStandardButtons(QFlags<QDialogButtonBox::StandardButton> buttons)

Python specific notes:
The object exposes a writable attribute 'standardButtons'. This is the setter.

staticMetaObject

Signature: [static] QMetaObject staticMetaObject

Description: Obtains the static MetaObject for this class.

styleChange

Signature: void styleChange (QStyle arg1)

Description: Virtual method void QDialogButtonBox::styleChange(QStyle &)

This method can be reimplemented in a derived class.

tabletEvent

Signature: void tabletEvent (QTabletEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::tabletEvent(QTabletEvent *)

This method can be reimplemented in a derived class.

timerEvent

Signature: void timerEvent (QTimerEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::timerEvent(QTimerEvent *)

This method can be reimplemented in a derived class.

tr

(1) Signature: [static] string tr (string s, string c = 0)

Description: Static method QString QDialogButtonBox::tr(const char *s, const char *c)

This method is static and can be called without an instance.

(2) Signature: [static] string tr (string s, string c, int n)

Description: Static method QString QDialogButtonBox::tr(const char *s, const char *c, int n)

This method is static and can be called without an instance.

trUtf8

(1) Signature: [static] string trUtf8 (string s, string c = 0)

Description: Static method QString QDialogButtonBox::trUtf8(const char *s, const char *c)

This method is static and can be called without an instance.

(2) Signature: [static] string trUtf8 (string s, string c, int n)

Description: Static method QString QDialogButtonBox::trUtf8(const char *s, const char *c, int n)

This method is static and can be called without an instance.

updateMicroFocus

Signature: void updateMicroFocus

Description: Method void QDialogButtonBox::updateMicroFocus()

This method is protected and can only be called from inside a derived class.

wheelEvent

Signature: void wheelEvent (QWheelEvent ptr arg1)

Description: Virtual method void QDialogButtonBox::wheelEvent(QWheelEvent *)

This method can be reimplemented in a derived class.

windowActivationChange

Signature: void windowActivationChange (bool arg1)

Description: Virtual method void QDialogButtonBox::windowActivationChange(bool)

This method can be reimplemented in a derived class.