Dialog to hold a DtConsoleWidget.
More...
Public Member Functions |
| | DtConsoleDialog (DtConsoleWidget *console=0, QWidget *parent=0, Qt::WindowFlags f=0) |
| | Constructor.
|
| virtual | ~DtConsoleDialog () |
| | Destructor.
|
| DtConsoleWidget * | widget () |
| | Returns a pointer to the embedded widget.
|
| | DtWidgetDialog (QDialogButtonBox::StandardButtons buttons=QDialogButtonBox::Ok|QDialogButtonBox::Cancel, QWidget *parent=0, Qt::WindowFlags f=0) |
| | Constructor.
|
| virtual | ~DtWidgetDialog () |
| | Destructor.
|
| virtual void | setWidget (QWidget *widget) |
| | Embeds the widget in the dialog.
|
| virtual QPushButton * | addButton (const QString &text, QDialogButtonBox::ButtonRole role) |
| | Adds a button with customized text to the dialog.
|
| virtual QPushButton * | addButton (QDialogButtonBox::StandardButton button) |
| | Adds a standard button to the dialog.
|
| virtual bool | centerButtons () const |
| | Centers the buttons in the dialog.
|
| virtual void | removeButton (QAbstractButton *button) |
| | Removes the given button from the dialog.
|
| virtual void | removeButton (QDialogButtonBox::StandardButton button) |
| | Removes a standard button from the dialog.
|
| virtual bool | isAcceptEnabled () |
| | Returns true if there is an accept button enabled.
|
Additional Inherited Members |
| virtual void | enableAccept (bool enable) |
| | Enables or disables any buttons with the AcceptRole.
|
| virtual void | enableApply (bool enable) |
| | Enables or disables any buttons with the ApplyRole.
|
| virtual void | enableButtonRole (QDialogButtonBox::ButtonRole role, bool enable) |
| | Enables or disables any buttons with the given role.
|
| QVBoxLayout * | myLayout |
| | The layout of the dialog.
|
| QDialogButtonBox * | myButtonBox |
| | The button box on the dialog.
|
| QWidget * | myWidget |
| | The embedded widget.
|
Detailed Description
Dialog to hold a DtConsoleWidget.
Constructor & Destructor Documentation
| DtConsoleDialog::DtConsoleDialog |
( |
DtConsoleWidget * |
console = 0, |
|
|
QWidget * |
parent = 0, |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
|
inline |
| virtual DtConsoleDialog::~DtConsoleDialog |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
The documentation for this class was generated from the following file: