DAZ Script |
---|
DzPushButton ( DzWidget parent ) |
DAZ Script | |
---|---|
void | setCheckable ( Boolean yesNo ) |
void | setToggleButton ( Boolean yesNo ) |
void | buttonStyleChanged ( ButtonStyle style ) |
void | buttonTextFormatChanged ( Number format ) |
void | collapseEmptySpaceChanged ( Boolean onOff ) |
void | displayDownArrowChanged ( Boolean displayArrow ) |
void | downArrowMetricChanged ( String name ) |
void | downArrowPrimitiveChanged ( String name ) |
void | elideModeChanged ( DzWidget::TextElideMode mode ) |
void | iconMetricChanged ( String name ) |
void | primitiveChanged ( String name ) |
void | sizedFromIconChanged ( Boolean onOff ) |
void | textStyleChanged ( String name ) |
Provides a button that can be “pushed” (clicked, pressed, released, etc) in order to execute a command or answer a question.
The styles that the button can be drawn in.
Since:
Holds whether or not the button has the auto-default feature and responds to the [Enter] key when it has the focus; true
by default for buttons that have a DzDialog parent, otherwise false
.
Holds the style that the button is drawn in.
Since:
Holds the format that the button text is drawn in; DzWidget::AlignmentFlags and DzWidget::TextFlags OR'd together for the button label.
Since:
Holds whether or not the button will collapse empty space reserved for various parts of the button.
Since:
Holds whether or not the button is the default button; false
by default.
Holds whether or not to display the arrow for this button.
Since:
Holds the name of the pixel metric used to define the size of the arrow on this button (if any).
Since:
Holds the name of the primitive element used to draw the arrow on this button (if any).
Since:
DzWidget::TextElideMode : elideMode
Holds the elide mode to be used for the text on this button.
Since:
Holds whether or not the border is disabled; false
by default.
Holds the name of the pixel metric used to define the size of the icon on this button (if any).
Since:
Holds text used for size hint; if empty current text is used.
Since:
Holds the name of the primitive element used to draw this button.
Since:
Holds whether or not the button will be sized based on the size of its icon (if any). If true
, this overrides iconMetric
.
Since:
Holds the name of the text style used to draw the label on this button.
Since:
void : setCheckable( Boolean yesNo )
Sets whether or not the button is a toggle button.
void : setToggleButton( Boolean yesNo )
Deprecated
Exists only to keep old code working. Do not use in new code. Use setCheckable() instead.
void : buttonStyleChanged( ButtonStyle style )
Signature:“buttonStyleChanged(ButtonStyle)”
Emitted when buttonStyle on this button has changed.
Parameter(s):
Since:
void : buttonTextFormatChanged( Number format )
Signature:“buttonTextFormatChanged(int)”
Emitted when buttonTextFormat on this button has changed.
Parameter(s):
Since:
void : collapseEmptySpaceChanged( Boolean onOff )
Signature:“collapseEmptySpaceChanged(bool)”
Emitted when collapseEmptySpace on this button has changed.
Parameter(s):
Since:
void : displayDownArrowChanged( Boolean displayArrow )
Signature:“displayDownArrowChanged(bool)”
Emitted when displayDownArrow on this button has changed.
Parameter(s):
Since:
void : downArrowMetricChanged( String name )
Signature:“downArrowMetricChanged(const QString&)”
Emitted when downArrowMetric on this button has changed.
Parameter(s):
Since:
void : downArrowPrimitiveChanged( String name )
Signature:“downArrowPrimitiveChanged(const QString&)”
Emitted when downArrowPrimitive on this button has changed.
Parameter(s):
Since:
void : elideModeChanged( DzWidget::TextElideMode mode )
Signature:“textStyleChanged(int)”
Emitted when elideMode on this button has changed.
Parameter(s):
Since:
void : iconMetricChanged( String name )
Signature:“iconMetricChanged(const QString&)”
Emitted when iconMetric on this button has changed.
Parameter(s):
Since:
void : primitiveChanged( String name )
Signature:“primitiveChanged(const QString&)”
Emitted when primitive on this button has changed.
Parameter(s):
Since:
void : sizedFromIconChanged( Boolean onOff )
Signature:“sizedFromIconChanged(bool)”
Emitted when sizedFromIcon on this button has changed.
Parameter(s):
Since:
void : textStyleChanged( String name )
Signature:“textStyleChanged(const QString&)”
Emitted when textStyle on this button has changed.
Parameter(s):
Since: