Flipabit
  • Flipabit
  • Getting started
    • Flipabit overview
    • Create project
    • Run on device
    • Build
      • Build for iOS
      • Build for Android
      • Build for Desktop
    • Publish to App Stores
      • Submit to App Store
      • Submit to Google Play
  • Layers
    • Select layer
    • Change order, visibility and name
    • Copy and paste
    • Move layer
    • Resize layer
    • Rotate layer
    • Align layers
    • Arrange layers
    • Navigation layer
      • Display page title
      • Display Tab bar
      • Display Table of contents
      • Display Back button
      • Next/Prev buttons
      • Navigation actions
  • Pages
    • Add or delete page
    • Open page
    • Page background and overlay
  • Widgets
    • Image
    • Video
    • Text
    • PDF
    • Web
    • Diorama
    • Audio
    • Animation
    • Camera
    • YouTube
    • Map
    • Chart
    • Calendar
    • Table
    • Form
    • 3D Model
  • Groups
    • Add group
    • Move and resize group
  • Style
    • Opacity
    • Borders
    • Background
    • Opacity mask
    • Overlay
    • Margins
    • Blur
    • Copy and paste style
  • Interactivity
    • Navigate between pages
    • Maximize widget
    • Drag widget
    • Disable widget
  • Project
    • Resolution
    • Orientation
    • Status Bar
    • Settings
    • Publish settings
  • Animation
    • Page animation
    • Maximize animation
    • Position animation
    • Size animation
    • Size and position animation
    • Rotation animation
    • Opacity animation
    • Color animation
    • Blur animation
  • Actions
    • Actions Editor Overview
    • Add action
    • Suspend actions
    • Arguments
    • Delay action
    • Animation settings
    • Repeat action
  • Data & backend
    • Airtable
    • Google Sheets
  • Networking
  • Tutorials
  • API
    • Project
    • Page
    • Group
    • Widget
      • Image
      • Text
      • Video
      • Diorama
      • Audio
      • Web
      • Animation
      • Camera
      • YouTube
      • Map
      • Chart
      • Calendar
      • Table
      • Form
      • Record
      • 3d model
  • ⭐Updates
  • 🎁Get Flipabit
Powered by GitBook
On this page
  • Actions
  • Events

Was this helpful?

  1. API
  2. Widget

Form

PreviousTableNextRecord

Last updated 4 years ago

Was this helpful?

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()