Inheritance diagram for DzWidget:
Enumerations | |
enum | AlignmentFlags { AlignAuto, AlignLeft, AlignRight, AlignHCenter, AlignJustify, AlignTop, AlignBottom, AlignVCenter, AlignCenter } |
enum | Orientation { Horizontal, Vertical } |
enum | SortOrder { Ascending, Descending } |
Properties | |
Boolean | enabled |
Font | font |
Number | height |
Number | maxHeight |
Number | maxWidth |
Number | minHeight |
Number | minWidth |
Palette | palette |
Color | paletteBackgroundColor |
Pixmap | paletteBackgroundPixmap |
Color | paletteForegroundColor |
String | toolTip |
String | whatsThis |
Number | width |
Number | x |
Number | y |
Constructors | |
DzWidget (DzWidget parent) | |
Methods | |
void | hide () |
void | reparent (DzWidget parent, Point pnt, Boolean showIt=false) |
void | setFixedHeight (Number height) |
void | setFixedSize (Number width, Number height) |
void | setFixedWidth (Number width) |
void | setGeometry (Number x, Number y, Number w, Number h) |
void | show () |
This is an abstract base class that provides general functionality for DAZ Script widget components.
Enumerated alignment types
enum DzWidget::SortOrder |
DzWidget::DzWidget | ( | DzWidget | parent | ) |
Create a new widget with the given parent
void DzWidget::hide | ( | ) |
Hide the widget (make it invisible)
Reparents the widget.
parent | The new parent widget for this widget. | |
pnt | The location in the new parent widget to place this widget. | |
showIt | If true, show() is called on the widget after it is reparented. |
void DzWidget::setFixedHeight | ( | Number | height | ) |
Sets a fixed height for the widget
Sets a fixed width and height for the widget
void DzWidget::setFixedWidth | ( | Number | width | ) |
Sets a fixed width for the widget
Sets the position and size for the widget (relative to its parent)
void DzWidget::show | ( | ) |
Show the widget (make it visible if its parent is visible)
bool DzWidget::enabled |
Holds whether the widget is enabled or disabled.
QFont DzWidget::font |
Holds the Font for the widget and all child widgets that do not have a custom font of their own.
int DzWidget::height |
Holds the height of the widget.
Holds the maximum height of the widget.
Holds the maximum width of the widget.
Holds the minimum height of the widget.
Holds the minimum width of the widget.
QPalette DzWidget::palette |
Holds the Palette for the widget and all child widgets that do not have a custom palette of their own.
const QColor & DzWidget::paletteBackgroundColor |
Holds the background color of the widget.
const QPixmap * DzWidget::paletteBackgroundPixmap |
Holds the background Pixmap of the widget.
const QColor & DzWidget::paletteForegroundColor |
Holds the foreground color of the widget.
Holds the tool tip text for the widget and all child widgets that do not have a custom tool tip text of their own.
QString DzWidget::whatsThis |
Holds the "Whats This" text for the widget and all child widgets that do not have a custom "Whats This" text of their own.
int DzWidget::width |
Holds the width of the widget.
int DzWidget::x |
Holds the x position of the widget (relative to its parent).
int DzWidget::y |
Holds the y position of the widget (relative to its parent).