Inheritance diagram for DzDialog:
Properties | |
String | caption |
Orientation | orientation |
Boolean | sizeGripEnabled |
Methods | |
Boolean | close () |
Boolean | exec () |
DzWidget | extension () const |
void | hideExtension () |
void | setAcceptButton (DzButton btn) |
void | setExtension (DzWidget wgt) |
void | setRejectButton (DzButton btn) |
void | showExtension (Boolean onOff) |
void | showExtension () |
Constructors | |
DzDialog () |
This is the basic building block for DAZ Script interfaces. DzDialog provides an independent window widget that in turn can act as the parent for other DAZ Script widgets. Most custom DAZ Script interfaces will be built starting with a DzDialog customized with Layout and DzWidget components.
The following example shows the creation and use of a simple custom interface using the DzDialog class:
DAZ Script "Simple Dialog" sample
DzDialog::DzDialog | ( | ) |
Creates a new dialog box
bool DzDialog::close | ( | ) |
Closes the dialog.
bool DzDialog::exec | ( | ) |
Shows the dialog box to the user.
DzWidget * DzDialog::extension | ( | ) | const |
void DzDialog::hideExtension | ( | ) |
Causes the extension widget for the dialog to be hidden
void DzDialog::setAcceptButton | ( | DzButton | btn | ) |
Sets the button that will cause the dialog to close and return true
void DzDialog::setExtension | ( | DzWidget | wgt | ) |
Sets the extension widget for the dialog
void DzDialog::setRejectButton | ( | DzButton | btn | ) |
Sets the button that will cause the dialog to close and return false
void DzDialog::showExtension | ( | Boolean | onOff | ) |
Sets the extension widget visibility to onOff
void DzDialog::showExtension | ( | ) |
Causes the extension widget for the dialog to be shown
QString DzDialog::caption |
The title of the dialog box
The orientation of the dialog box extention
Whether or not the size grip is enabled