Group

Property

Function

Type

Title

Item title Actions editor: Property > Title Code: widget.title

string

Visible

Sets item visibility Actions editor: Property > Visible Code: widget.visible

bool

Maximized

Gets true if widget is maximized Actions editor: Property > Maximized Code: widget.increased

bool

Geometry

Property

Function

Type

X

Sets x position relative to the page Actions editor: Property > Geometry > X Code: widget.x

double

Y

Sets y position relative to the page Actions editor: Property > Geometry > Y Code: widget.y

double

Width

Sets width relative to the page Actions editor: Property > Geometry > Width Code: widget.width

double

Height

Sets height relative to the page Actions editor: Property > Geometry > Height Code: widget.height

double

Fixed width

Enable to fix width Actions editor: Property > Geometry > Fixed width Code: widget.fixedWidth

bool

Fixed height

Enable to fix height Actions editor: Property > Geometry > Fixed height Code: widget.fixedHeight

bool

Align left

Enable to left align Actions editor: Property > Geometry > Align left Code: widget.anchorLeft

bool

Align right

Enable to right align Actions editor: Property > Geometry > Align right Code: widget.anchorRight

bool

Align top

Enable to top align Actions editor: Property > Geometry > Align top Code: widget.anchorTop

bool

Align bottom

Enable to bottom align Actions editor: Property > Geometry > Align bottom Code: widget.anchorBottom

bool

Margin left

Sets left margin relative to the page Actions editor: Property > Geometry > Margin left Code: widget.marginLeft

double

Margin right

Sets right margin relative to the page Actions editor: Property > Geometry > Margin right Code: widget.marginRight

double

Margin top

Sets top margin relative to the page Actions editor: Property > Geometry > Margin top Code: widget.marginTop

double

Margin bottom

Sets bottom margin relative to the page Actions editor: Property > Geometry > Margin bottom Code: widget.marginBottom

double

Vertically center

Enable to vertically center item Actions editor: Property > Geometry > Vertically center Code: widget.anchorVerticalCenter

bool

Horizontally center

Enable to horizontally center item Actions editor: Property > Geometry > Horizontally center Code: widget.anchorHorizontalCenter

bool

Scale

Sets scale factor Actions editor: Property > Geometry > Scale Code: widget.scale

double

ZOrder

Sets stacking order. By default is 0. Actions editor: Property > Geometry > ZOrder Code: widget.zOrder

int

TextureX

Sets texture x offset Actions editor: Property > Geometry > TextureX Code: widget.textureX

double

TextureY

Sets texture y offset Actions editor: Property > Geometry > TextureY Code: widget.textureY

double

Rotation

Property

Function

Type

X rotation

Sets rotation in degrees about the x Actions editor: Property > Geometry > Rotation > X rotation Code: widget.rotationX

double

Y rotation

Sets rotation in degrees about the y Actions editor: Property > Geometry > Rotation > Y rotation Code: widget.rotationY

double

Z rotation

Sets rotation in degrees about the z Actions editor: Property > Geometry > Rotation > Z rotation Code: widget.rotationZ

double

X offset

Sets origin point offset for x Actions editor: Property > Geometry > Rotation > X offset Code: widget.rotationXOriginX

double

Y offset

Sets origin point offset for y Actions editor: Property > Geometry > Rotation > Y offset Code: widget.rotationYOriginX

double

Origin point

Sets origin point of the rotation Actions editor: Property > Geometry > Rotation > Origin point Code: widget.rotationSnap

flags

Scroll

Property

Function

Type

Cache

Determines whether widgets are retained outside the visible area of the view Actions editor: Property > Geometry > Scroll > Cache Code: .scrollCacheSize

int

Clip

Enable clipping Actions editor: Property > Geometry > Scroll > Clip Code: .clip

bool

Dynamic loading

Disable to load all widgets at once Actions editor: Property > Geometry > Scroll > Dynamic loading Code: .loadOnlyVisibleBlocks

bool

Unload widgets

Disable to prevent unloading already loaded widgets Actions editor: Property > Geometry > Scroll > Unload widgets Code: .unloadLoaded

bool

Load on scroll stop

Enable to load widgets only on scroll stop Actions editor: Property > Geometry > Scroll > Load on scroll stop Code: .loadOnScrollStop

bool

Content x

Gets content x position from 0 to 1 Actions editor: Property > Geometry > Scroll > Content x Code: .contentX

double

Content y

Gets content y position from 0 to 1 Actions editor: Property > Geometry > Scroll > Content y Code: .contentY

double

Disable scroll

Disable group scroll Actions editor: Property > Geometry > Scroll > Disable scroll Code: .disableScroll

bool

Style

Property

Function

Type

Opacity

Sets widget opacity Actions editor: Property > Style > Opacity Code: widget.style.pageItemOpacity

double

Border

Property

Function

Type

Border color

Sets widget border color Actions editor: Property > Style > Border > Border color Code: widget.style.pageItemBorderColor

color

Border width

Sets widget border width Actions editor: Property > Style > Border > Border width Code: widget.style.pageItemBorderWidth

int

Border radius

Sets widget border radius Actions editor: Property > Style > Border > Border radius Code: widget.style.pageItemBorderRadius

double

Left border width

Sets widget left border width Actions editor: Property > Style > Border > Left border width Code: widget.style.pageItemBorderLeft

int

Top border width

Sets widget top border width Actions editor: Property > Style > Border > Top border width Code: widget.style.pageItemBorderTop

int

Right border width

Sets widget right border width Actions editor: Property > Style > Border > Right border width Code: widget.style.pageItemBorderRight

int

Bottom border width

Sets widget bottom border width Actions editor: Property > Style > Border > Bottom border width Code: widget.style.pageItemBorderBottom

int

Background

Property

Function

Type

Background color

Sets widget background color Actions editor: Property > Style > Background > Background color Code: widget.style.pageItemBackgroundColor

color

Background image

Sets widget background image Actions editor: Property > Style > Background > Background image Code: widget.style.pageItemBackgroundMedia

string

Background image fill mode

Sets widget background fill mode Actions editor: Property > Style > Background > Background image fill mode Code: widget.style.pageItemBackgroundFillMode

enum Values: Stretch PreserveAspectFit PreserveAspectCrop Tile TileVertically TileHorizontally Pad

Mask

Property

Function

Type

Mask image

Sets widget mask image Actions editor: Property > Style > Mask > Mask image Code: widget.style.pageItemMaskMedia

string

Mask fill mode

Sets widget mask fill mode Actions editor: Property > Style > Mask > Mask fill mode Code: widget.style.pageItemMaskFillMode

enum Values: Stretch PreserveAspectFit PreserveAspectCrop Tile TileVertically TileHorizontally Pad

Shadow

Property

Function

Type

Shadow radius

Sets shadow radius Actions editor: Property > Style > DropShadow > Shadow radius Code: widget.style.pageItemDropShadowRadius

int

Shadow samples

Sets shadow samples Actions editor: Property > Style > DropShadow > Shadow samples Code: widget.style.pageItemDropShadowSamples

int

Shadow color

Sets shadow color Actions editor: Property > Style > DropShadow > Shadow color Code: widget.style.pageItemDropShadowColor

color

Shadow horizontal offset

Sets shadow horizontal offset Actions editor: Property > Style > DropShadow > Shadow horizontal offset Code: widget.style.pageItemDropShadowHorizontalOffset

double

Shadow vertical offset

Sets shadow vertical offset Actions editor: Property > Style > DropShadow > Shadow vertical offset Code: widget.style.pageItemDropShadowVerticalOffset

double

Overlay

Property

Function

Type

Overlay color

Sets widget overlay color Actions editor: Property > Style > Overlay > Overlay color Code: widget.style.pageItemOverlayColor

color

Overlay image

Sets widget overlay image Actions editor: Property > Style > Overlay > Overlay image Code: widget.style.pageItemOverlayMedia

string

Blend mode

Sets overlay blend mode Actions editor: Property > Style > Overlay > Blend mode Code: widget.style.pageItemOverlayBlendMode

string Values: normal addition average color colorBurn colorDodge darken darkerColor difference divide exclusion hardLight hue lighten lighterColor lightness multiply negation saturation screen subtract softLight

Cached

Enable overlay caching to improve the performance Actions editor: Property > Style > Overlay > Cached Code: widget.style.pageItemOverlayCached

bool

Overlay fill mode

Sets widget overlay fill mode Actions editor: Property > Style > Overlay > Overlay fill mode Code: widget.style.pageItemOverlayFillMode

enum Values: Stretch PreserveAspectFit PreserveAspectCrop Tile TileVertically TileHorizontally Pad

Margins

Property

Function

Type

Margin left

Sets widget margin left Actions editor: Property > Style > Margins > Margin left Code: widget.style.pageItemMarginLeft

double

Margin right

Sets widget margin right Actions editor: Property > Style > Margins > Margin right Code: widget.style.pageItemMarginRight

double

Margin top

Sets widget margin top Actions editor: Property > Style > Margins > Margin top Code: widget.style.pageItemMarginTop

double

Margin bottom

Sets widget margin bottom Actions editor: Property > Style > Margins > Margin bottom Code: widget.style.pageItemMarginBottom

double

Blur

Property

Function

Type

Blur mask

Sets widget blur mask image Actions editor: Property > Style > Blur > Blur mask Code: widget.style.pageItemEffectMedia

string

Blur size

Sets widget blur strength Actions editor: Property > Style > Blur > Blur size Code: widget.style.pageItemEffectStrength

int

Blur mask fill mode

Sets widget blur mask fill mode Actions editor: Property > Style > Blur > Blur mask fill mode Code: widget.style.pageItemEffectFillMode

enum Values: Stretch PreserveAspectFit PreserveAspectCrop Tile TileVertically TileHorizontally Pad

Scrollbar

Property

Function

Type

Enable scrollbar

Enable to show scrollbar Actions editor: Property > Style > Scrollbar > Enable scrollbar Code: widget.style.blockGroupShowScrollBar

bool

Size

Sets scrollbar size relative to page size Actions editor: Property > Style > Scrollbar > Size Code: widget.style.blockGroupScrollSize

double

Radius

Sets scrollbar radius Actions editor: Property > Style > Scrollbar > Radius Code: widget.style.blockGroupScrollRadius

double

Background color

Sets scrollbar background color Actions editor: Property > Style > Scrollbar > Background color Code: widget.style.blockGroupScrollBackgroundColor

color

Color

Sets scrollbar color Actions editor: Property > Style > Scrollbar > Color Code: widget.style.blockGroupScrollColor

color

Actions

Property

Function

Scroll to widget

Scroll to required widget Actions editor: Actions > Common > Scroll to widget Code: .script.actionScrollToWidget(int widgetNum)

Scroll to position

Scroll to custom position Actions editor: Actions > Common > Scroll to position Code: .script.actionScrollToPos(double xPos, double yPos)

Scroll to top

Scroll to top Actions editor: Actions > Common > Scroll to top Code: .script.actionScrollToTop()

Scroll to bottom

Scroll to bottom Actions editor: Actions > Common > Scroll to bottom Code: .script.actionScrollToBottom()

Scroll to left

Scroll to left Actions editor: Actions > Common > Scroll to left Code: .script.actionScrollToLeft()

Scroll to right

Scroll to right Actions editor: Actions > Common > Scroll to right Code: .script.actionScrollToRight()

Disable vertical scroll

Actions editor: Actions > Common > Disable vertical scroll Code: .script.actionDisableVScroll()

Disable horizontal scroll

Actions editor: Actions > Common > Disable horizontal scroll Code: .script.actionDisableHScroll()

Enable vertical scroll

Actions editor: Actions > Common > Enable vertical scroll Code: .script.actionEnableVScroll()

Enable horizontal scroll

Actions editor: Actions > Common > Enable horizontal scroll Code: .script.actionEnableHScroll()

Set position

Set item x and y position, 0 is top-left side of parent, 1 is bottom-right side of parent Actions editor: Actions > Animation > Set position Code: widget.script.actionSetPosition(double newX, double newY) widget.script.actionSetPositionWithAnimation(double newX, double newY, int animationType, int animationDuration)

Set size

Set item width and height, 1 to fill parent width or height Actions editor: Actions > Animation > Set size Code: widget.script.actionSetSize(double newWidth, double newHeight) widget.script.actionSetSizeWithAnimation(double newWidth, double newHeight, int animationType, int animationDuration)

Set size and position

Set item size and position, where lt is distance from parent top-left to item top-left, rb is distance from parent bottom-right to item bottom-right Actions editor: Actions > Animation > Set size and position Code: widget.script.actionSetSizeAndPosition(double lt, double rb) widget.script.actionSetSizeAndPositionWithAnimation(double lt, double rb, int animationType, int animationDuration)

Set size and position cancel

Reset item size and position Actions editor: Actions > Animation > Set size and position cancel Code: widget.script.actionSetSizeAndPositionCancel() widget.script.actionSetSizeAndPositionCancelWithAnimation(int animationType, int animationDuration)

Bring to front

Bring item to front of all items Actions editor: Actions > Common > Bring to front Code: widget.script.actionBringToFront()

Send to back

Send item to back of all items Actions editor: Actions > Common > Send to back Code: widget.script.actionSendToBack()

Maximize

Maximize item Actions editor: Actions > Animation > Maximize Code: widget.script.actionExpand() widget.script.actionExpandWithAnimation(int animationType, int animationDuration)

Minimize

Minimize item Actions editor: Actions > Animation > Minimize Code: widget.script.actionShrink() widget.script.actionShrinkWithAnimation(int animationType, int animationDuration)

Toggle maximize

Minimize maximizing or maximize minimizing Actions editor: Actions > Animation > Toggle maximize Code: widget.script.actionToggleExpand() widget.script.actionToggleExpandWithAnimation(int animationType, int animationDuration)

Save as image

Save the item as image to default Documents folder Actions editor: Actions > Common > Save as image Code: widget.script.actionSaveAsImage(QString fileName)

Set scale

Set bitmap scale, scale = 1 is default Actions editor: Actions > Animation > Set scale Code: widget.script.actionSetScale(double newScale) widget.script.actionSetScaleWithAnimation(double newScale, int animationType, int animationDuration)

Show

Show the item Actions editor: Actions > Common > Show Code: widget.script.actionShow()

Hide

Hide the item Actions editor: Actions > Common > Hide Code: widget.script.actionHide()

Toggle visibility

Toggle item visibility Actions editor: Actions > Common > Toggle visibility Code: widget.script.actionToggleVisible()

Disable

Disable user interaction with the widget content Actions editor: Actions > Common > Disable Code: widget.script.actionDisable()

Enable

Enable user interaction with the widget content Actions editor: Actions > Common > Enable Code: widget.script.actionEnable()

Set interactive

Set item interactive to true or false Actions editor: Actions > Common > Set interactive Code: widget.script.actionSetInteractive(bool newInteractive)

Disable input

Disable input actions like Press, Click, Double Click Actions editor: Actions > Common > Disable input Code: widget.script.actionDisableInput()

Enable input

Enable input actions like Press, Click, Double Click Actions editor: Actions > Common > Enable input Code: widget.script.actionEnableInput()

Set visibility

Set item visibility to true or false Actions editor: Actions > Common > Set visibility Code: widget.script.actionSetVisible(bool newVisible)

Press

Manually fire Press event Actions editor: Actions > Common > Press Code: widget.script.actionItemPressed()

Click

Manually fire Click event Actions editor: Actions > Common > Click Code: widget.script.actionItemClicked()

Double click

Manually fire Double click event Actions editor: Actions > Common > Double click Code: widget.script.actionItemDoublePressed()

Set opacity

Set item opacity from 0 to 1 Actions editor: Actions > Animation > Set opacity Code: widget.script.actionSetOpacity(double newOpacity) widget.script.actionSetOpacityWithAnimation(double newOpacity, int animationType, int animationDuration)

Set color

Set item background color using hex color Actions editor: Actions > Animation > Set color Code: widget.script.actionSetColor(color newColor) widget.script.actionSetColorWithAnimation(color newColor, int animationType, int animationDuration)

Set overlay color

Set item overlay color using hex color Actions editor: Actions > Animation > Set overlay color Code: widget.script.actionSetOverlayColor(color newColor) widget.script.actionSetOverlayColorWithAnimation(color newColor, int animationType, int animationDuration)

Set blur

Set item blur strength, 0 is no blur Actions editor: Actions > Animation > Set blur Code: widget.script.actionSetBlur(int newBlur) widget.script.actionSetBlurWithAnimation(int newBlur, int animationType, int animationDuration)

Set X

Set item x position, 0 is left side of parent, 1 is right side of parent Actions editor: Actions > Animation > Set X Code: widget.script.actionSetX(double newX) widget.script.actionSetXWithAnimation(double newX, int animationType, int animationDuration)

Set Y

Set item y position, 0 is top side of parent, 1 is bottom side of parent Actions editor: Actions > Animation > Set Y Code: widget.script.actionSetY(double newY) widget.script.actionSetYWithAnimation(double newY, int animationType, int animationDuration)

Set Width

Set item width, 1 to fill parent width Actions editor: Actions > Animation > Set Width Code: widget.script.actionSetWidth(double newW) widget.script.actionSetWidthWithAnimation(double newW, int animationType, int animationDuration)

Set Height

Set item height, 1 to fill parent height Actions editor: Actions > Animation > Set Height Code: widget.script.actionSetHeight(double newH) widget.script.actionSetHeightWithAnimation(double newH, int animationType, int animationDuration)

Rotate

Rotate item to newAngle degree, 0 is default Actions editor: Actions > Animation > Rotate Code: widget.script.actionRotate(double newAngle) widget.script.actionRotateWithAnimation(double newAngle, int animationType, int animationDuration)

Rotate X

Rotate item about the x to newAngle degree, 0 is default Actions editor: Actions > Animation > Rotate X Code: widget.script.actionRotateX(double newAngle) widget.script.actionRotateXWithAnimation(double newAngle, int animationType, int animationDuration)

Rotate Y

Rotate item about the y to newAngle degree, 0 is default Actions editor: Actions > Animation > Rotate Y Code: widget.script.actionRotateY(double newAngle) widget.script.actionRotateYWithAnimation(double newAngle, int animationType, int animationDuration)

Set texture x

Sets texture x offset Actions editor: Actions > Animation > Set texture x Code: widget.script.actionSetTextureX(double newX) widget.script.actionSetTextureXWithAnimation(double newX, int animationType, int animationDuration)

Set texture y

Sets texture y offset Actions editor: Actions > Animation > Set texture y Code: widget.script.actionSetTextureY(double newY) widget.script.actionSetTextureYWithAnimation(double newY, int animationType, int animationDuration)

Events

Property

Function

Changed

Event when any property is changed Actions editor: Event > Changed Code: .script.eventChanged()

Scroll

Event when content is scrolled Actions editor: Event > Scroll Code: .script.eventScroll()

Scroll stop

Event when scroll is finished Actions editor: Event > Scroll stop Code: .script.eventScrollStop()

Scroll down

Event when content is scrolled down Actions editor: Event > Scroll down Code: .script.eventScrollDown()

Scroll up

Event when content is scrolled up Actions editor: Event > Scroll up Code: .script.eventScrollUp()

Scroll left

Event when content is scrolled left Actions editor: Event > Scroll left Code: .script.eventScrollLeft()

Scroll right

Event when content is scrolled right Actions editor: Event > Scroll right Code: .script.eventScrollRight()

Content size

Event when content size is changed Actions editor: Event > Content size Code: .script.eventScrollContentSize()

Toggled maximizing

Event when the item is maximized or minimized Actions editor: Event > Toggled maximizing Code: widget.script.eventToggleExpand()

Maximized

Event when item is maximized Actions editor: Event > Maximized Code: widget.script.eventExpand()

Minimized

Event when item is minimized Actions editor: Event > Minimized Code: widget.script.eventShrink()

Hide

Event when item is hidden Actions editor: Event > Hide Code: widget.script.eventHided()

Show

Event when item is shown Actions editor: Event > Show Code: widget.script.eventShowed()

Toggle visibility

Event when visibility is toggled Actions editor: Event > Toggle visibility Code: widget.script.eventToggleVisible()

Press

Event when mouse/touch is pressed Actions editor: Event > Press Code: widget.script.eventItemPressed()

Click

Event when mouse/touch is released Actions editor: Event > Click Code: widget.script.eventItemClicked()

Double click

Event when double clicked Actions editor: Event > Double click Code: widget.script.eventItemDoublePressed()

Mouse over

Event when mouse over widget Actions editor: Event > Mouse over Code: widget.script.eventMouseOver()

Mouse out

Event when mouse out widget Actions editor: Event > Mouse out Code: widget.script.eventMouseOut()

Loaded

Event when item loaded Actions editor: Event > Loaded Code: widget.script.eventLoaded()

Swipe left

Event when swipe left Actions editor: Event > Swipe left Code: widget.script.eventSwipeLeft()

Swipe right

Event when swipe right Actions editor: Event > Swipe right Code: widget.script.eventSwipeRight()

Swipe up

Event when swipe up Actions editor: Event > Swipe up Code: widget.script.eventSwipeUp()

Swipe down

Event when swipe down Actions editor: Event > Swipe down Code: widget.script.eventSwipeDown()

Last updated