Flipabit
Search…
⌃K

Form

Property
Function
Type
Type
Form element type Actions editor: Property > Form > Type Code: widget.content.controlType
enum Values: Button CheckBox ComboBox Dial RadioButton Slider SpinBox TextArea TextField Tumbler ImageButton Switch
Checkable
Sets whether the button is checkable Actions editor: Property > Form > Checkable Code: widget.content.buttonCheckable
bool
Checked
Sets checked state Actions editor: Property > Form > Checked Code: widget.content.checked
bool
Label
Form element label Actions editor: Property > Form > Label Code: widget.content.label
string
Text
Form element value Actions editor: Property > Form > Text Code: widget.content.text
string
Index
Current index of Tumbler Actions editor: Property > Form > Index Code: widget.content.currentIndex
double
Minimum
Slider minimum value Actions editor: Property > Form > Minimum Code: widget.content.minimumValue
double
Maximum
Slider maximum value Actions editor: Property > Form > Maximum Code: widget.content.maximumValue
double
Step
Slider value step size Actions editor: Property > Form > Step Code: widget.content.stepSize
double
List
List of Tumbler values Actions editor: Property > Form > List Code: widget.content.model
string
Orientation
Tumbler orientation Actions editor: Property > Form > Orientation Code: widget.content.controlOrientation
enum Values: Qt::Vertical Qt::Horizontal
Image
Image for ImageButton element Actions editor: Property > Form > Image Code: widget.content.buttonImage
string
Selected image
Selected image for ImageButton element Actions editor: Property > Form > Selected image Code: widget.content.buttonSelectedImage
string
Exclusive
Sets exclusive state Actions editor: Property > Form > Exclusive Code: widget.content.exclusive
bool
Read only
Sets read only Actions editor: Property > Form > Read only Code: widget.content.readOnly
bool
Select by mouse
Sets select by mouse Actions editor: Property > Form > Select by mouse Code: widget.content.selectByMouse
bool
Ok button
Show button Ok Actions editor: Property > Form > Ok button Code: widget.content.okButton
bool
Cancel button
Show button Cancel Actions editor: Property > Form > Cancel button Code: widget.content.cancelButton
bool
Placeholder
Show hint when the text field is empty Actions editor: Property > Form > Placeholder Code: widget.content.placeholderText
string

Actions

Property
Function
Set text
Actions editor: Actions > Common > Set text Code: widget.content.script.actionSetText(QString text)
Check
Actions editor: Actions > Common > Check Code: widget.content.script.actionCheck()
Uncheck
Actions editor: Actions > Common > Uncheck Code: widget.content.script.actionUnCheck()
Toggle
Toggle checked state Actions editor: Actions > Common > Toggle Code: widget.content.script.actionToggle()
Set index
Set current index Actions editor: Actions > Common > Set index Code: widget.content.script.actionSetIndex(double index)

Events

Property
Function
Text changed
Event when text is changed Actions editor: Event > Text changed Code: widget.content.script.eventTextChanged()
Checked
Event when item is checked Actions editor: Event > Checked Code: widget.content.script.eventChecked()
Unchecked
Event when item is unchecked Actions editor: Event > Unchecked Code: widget.content.script.eventUnChecked()
Toggled
Event when checked state is toggled Actions editor: Event > Toggled Code: widget.content.script.eventToggled()
Index changed
Event when index is changed Actions editor: Event > Index changed Code: widget.content.script.eventIndexChanged()
Return pressed
Event when return is pressed Actions editor: Event > Return pressed Code: widget.content.script.eventReturnPressed()
Accepted
Event when user has pressed Ok Actions editor: Event > Accepted Code: widget.content.script.eventAccepted()
Rejected
Event when user has pressed Cancel Actions editor: Event > Rejected Code: widget.content.script.eventRejected()
Last modified 2yr ago