List of all members | Public Member Functions
QDialogButtonBoxProto Class Reference

#include <qdialogbuttonboxproto.h>

Inheritance diagram for QDialogButtonBoxProto:
QObject QScriptable

Public Member Functions

 QDialogButtonBoxProto (QObject *parent)
 
Q_INVOKABLE QPushButton * addButton (const QString &text, QDialogButtonBox::ButtonRole role)
 
Q_INVOKABLE void addButton (QAbstractButton *button, QDialogButtonBox::ButtonRole role)
 
Q_INVOKABLE QPushButton * addButton (QDialogButtonBox::StandardButton button)
 
Q_INVOKABLE QPushButton * button (QDialogButtonBox::StandardButton which) const
 
Q_INVOKABLE QDialogButtonBox::ButtonRole buttonRole (QAbstractButton *button) const
 
Q_INVOKABLE QList< QAbstractButton * > buttons () const
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE void removeButton (QAbstractButton *button)
 
Q_INVOKABLE QDialogButtonBox::StandardButton standardButton (QAbstractButton *button) const
 

Constructor & Destructor Documentation

◆ QDialogButtonBoxProto()

QDialogButtonBoxProto::QDialogButtonBoxProto ( QObject parent)

Member Function Documentation

◆ addButton() [1/3]

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

◆ addButton() [2/3]

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

◆ addButton() [3/3]

QPushButton * QDialogButtonBoxProto::addButton ( QDialogButtonBox::StandardButton  button)

◆ button()

QPushButton * QDialogButtonBoxProto::button ( QDialogButtonBox::StandardButton  which) const

◆ buttonRole()

QDialogButtonBox::ButtonRole QDialogButtonBoxProto::buttonRole ( QAbstractButton *  button) const

◆ buttons()

QList< QAbstractButton * > QDialogButtonBoxProto::buttons ( ) const

◆ clear()

void QDialogButtonBoxProto::clear ( )

◆ removeButton()

void QDialogButtonBoxProto::removeButton ( QAbstractButton *  button)

◆ standardButton()

QDialogButtonBox::StandardButton QDialogButtonBoxProto::standardButton ( QAbstractButton *  button) const

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17