Property > Title
Code:
widget.title
string
Property > Visible
Code:
widget.visible
bool
Property > Maximized
Code:
widget.increased
bool
Property > Geometry > X
Code:
widget.x
double
Property > Geometry > Y
Code:
widget.y
double
Property > Geometry > Width
Code:
widget.width
double
Property > Geometry > Height
Code:
widget.height
double
Property > Geometry > Fixed width
Code:
widget.fixedWidth
bool
Property > Geometry > Fixed height
Code:
widget.fixedHeight
bool
Property > Geometry > Align left
Code:
widget.anchorLeft
bool
Property > Geometry > Align right
Code:
widget.anchorRight
bool
Property > Geometry > Align top
Code:
widget.anchorTop
bool
Property > Geometry > Align bottom
Code:
widget.anchorBottom
bool
Property > Geometry > Margin left
Code:
widget.marginLeft
double
Property > Geometry > Margin right
Code:
widget.marginRight
double
Property > Geometry > Margin top
Code:
widget.marginTop
double
Property > Geometry > Margin bottom
Code:
widget.marginBottom
double
Property > Geometry > Vertically center
Code:
widget.anchorVerticalCenter
bool
Property > Geometry > Horizontally center
Code:
widget.anchorHorizontalCenter
bool
Property > Geometry > Scale
Code:
widget.scale
double
Property > Geometry > ZOrder
Code:
widget.zOrder
int
Property > Geometry > TextureX
Code:
widget.textureX
double
Property > Geometry > Rotation > X rotation
Code:
widget.rotationX
double
Property > Geometry > Rotation > Y rotation
Code:
widget.rotationY
double
Property > Geometry > Rotation > Z rotation
Code:
widget.rotationZ
double
Property > Geometry > Rotation > X offset
Code:
widget.rotationXOriginX
double
Property > Geometry > Rotation > Y offset
Code:
widget.rotationYOriginX
double
Property > Geometry > Rotation > Origin point
Code:
widget.rotationSnap
flags
Property > Style > Opacity
Code:
widget.style.pageItemOpacity
double
Property > Style > Border > Border color
Code:
widget.style.pageItemBorderColor
color
Property > Style > Border > Border width
Code:
widget.style.pageItemBorderWidth
int
Property > Style > Border > Border radius
Code:
widget.style.pageItemBorderRadius
double
Property > Style > Border > Left border width
Code:
widget.style.pageItemBorderLeft
int
Property > Style > Border > Top border width
Code:
widget.style.pageItemBorderTop
int
Property > Style > Border > Right border width
Code:
widget.style.pageItemBorderRight
int
Property > Style > Border > Bottom border width
Code:
widget.style.pageItemBorderBottom
int
Property > Style > Background > Background color
Code:
widget.style.pageItemBackgroundColor
color
Property > Style > Background > Background image
Code:
widget.style.pageItemBackgroundMedia
string
Property > Style > Background > Background image fill mode
Code:
widget.style.pageItemBackgroundFillMode
enum
Values:
Stretch
PreserveAspectFit
PreserveAspectCrop
Tile
TileVertically
TileHorizontally
Pad
Property > Style > Mask > Mask image
Code:
widget.style.pageItemMaskMedia
string
Property > Style > Mask > Mask fill mode
Code:
widget.style.pageItemMaskFillMode
enum
Values:
Stretch
PreserveAspectFit
PreserveAspectCrop
Tile
TileVertically
TileHorizontally
Pad
Property > Style > DropShadow > Shadow radius
Code:
widget.style.pageItemDropShadowRadius
int
Property > Style > DropShadow > Shadow samples
Code:
widget.style.pageItemDropShadowSamples
int
Property > Style > DropShadow > Shadow color
Code:
widget.style.pageItemDropShadowColor
color
Property > Style > DropShadow > Shadow horizontal offset
Code:
widget.style.pageItemDropShadowHorizontalOffset
double
Property > Style > DropShadow > Shadow vertical offset
Code:
widget.style.pageItemDropShadowVerticalOffset
double
Property > Style > Overlay > Overlay color
Code:
widget.style.pageItemOverlayColor
color
Property > Style > Overlay > Overlay image
Code:
widget.style.pageItemOverlayMedia
string
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
Property > Style > Overlay > Cached
Code:
widget.style.pageItemOverlayCached
bool
Property > Style > Overlay > Overlay fill mode
Code:
widget.style.pageItemOverlayFillMode
enum
Values:
Stretch
PreserveAspectFit
PreserveAspectCrop
Tile
TileVertically
TileHorizontally
Pad
Property > Style > Margins > Margin left
Code:
widget.style.pageItemMarginLeft
double
Property > Style > Margins > Margin right
Code:
widget.style.pageItemMarginRight
double
Property > Style > Margins > Margin top
Code:
widget.style.pageItemMarginTop
double
Property > Style > Margins > Margin bottom
Code:
widget.style.pageItemMarginBottom
double
Property > Style > Blur > Blur mask
Code:
widget.style.pageItemEffectMedia
string
Property > Style > Blur > Blur size
Code:
widget.style.pageItemEffectStrength
int
Property > Style > Blur > Blur mask fill mode
Code:
widget.style.pageItemEffectFillMode
enum
Values:
Stretch
PreserveAspectFit
PreserveAspectCrop
Tile
TileVertically
TileHorizontally
Pad
Property-Style-Playback
Property > Style > Playback > Show playback
Code:
widget.style.pageItemControls
enum
Values:
Maximize
Always
Never
Property > Style > Playback > Playback background
Code:
widget.style.pageItemToolbarBackgroundColor
color
Property > Style > Playback > Controls color
Code:
widget.style.pageItemToolbarButtonColor
color
Property > Style > Playback > Height
Code:
widget.style.pageItemToolbarHeight
double
Property > Style > Playback > Slider color
Code:
widget.style.pageItemToolbarSliderColor
color
Property > Style > Playback > Blurred
Code:
widget.style.pageItemToolbarBlurred
bool
Property > Style > Controls > Color
Code:
widget.style.controlColor
color
Property > Style > Controls > Selected color
Code:
widget.style.controlSelectedColor
color
Property > Style > Controls > Border color
Code:
widget.style.controlBorderColor
color
Property > Style > Controls > Selected border color
Code:
widget.style.controlBorderSelectedColor
color
Property > Style > Controls > Border size
Code:
widget.style.controlBorderSize
int
Property > Style > Controls > Border radius
Code:
widget.style.controlRadius
int
Property > Style > Controls > Selected font
Code:
widget.style.controlSelectedFontColor
color
Property > Style > Controls > Image position
Code:
widget.style.controlButtonImagePlace
enum
Values:
Qt::AlignTop
Qt::AlignLeft
Qt::AlignRight
Qt::AlignBottom
Property > Style > Controls > Image size
Code:
widget.style.controlButtonImageSize
double
Property > Style > Controls > Image padding
Code:
widget.style.controlButtonImagePadding
double
Property > Style > Controls > Slider color
Code:
widget.style.controlSliderColor
color
Property > Style > Controls > Selected slider color
Code:
widget.style.controlSliderSelectedColor
color
Property > Style > Controls > Slider size
Code:
widget.style.controlSliderSize
double
Property > Style > Controls > Visible items
Code:
widget.style.controlTumblerVisible
int
Property > Style > Controls > Over color
Code:
widget.style.controlOverColor
color
Property > Style > Controls > Over border color
Code:
widget.style.controlOverBorderColor
color
Property > Style > Controls > Over font color
Code:
widget.style.controlOverFontColor
color
Property > Style > Controls > Over slider color
Code:
widget.style.controlOverSliderColor
color
Property > Style > Controls > Over control colorize
Code:
widget.style.controlOverColorize
color
Property > Interaction > Maximizable
Code:
widget.maximizable
bool
Property > Interaction > Interactive
Code:
widget.interactive
bool
Property > Interaction > Input
Code:
widget.action
bool
Property > Interaction > Fixed
Code:
widget.fixed
bool
Property > Interaction > Lock size
Code:
widget.lockSize
bool
Property > Interaction > Lock rotation
Code:
widget.lockRotation
bool
Property > Interaction > Lock x
Code:
widget.lockX
bool
Property > Interaction > Lock y
Code:
widget.lockY
bool
Property > Interaction > Static
Code:
widget.static
bool
Property > Interaction > Connected table index
Code:
widget.connectedTableIndex
int
Property > Interaction > Connected table row id
Code:
widget.connectedTableRowId
int
Property > Font > Family
Code:
widget.style.font.family
string
Property > Font > Size
Code:
widget.style.font.size
int
Property > Font > Color
Code:
widget.style.font.color
color
Property > Font > Underline
Code:
widget.style.font.underline
bool
Property > Font > Italic
Code:
widget.style.font.italic
bool
Property > Font > Weight
Code:
widget.style.font.weight
enum
Values:
Thin
ExtraLight
Light
Normal
Medium
DemiBold
Bold
ExtraBold
Black
Property > Font > Capitalization
Code:
widget.style.font.capitalization
enum
Values:
MixedCase
AllUppercase
AllLowercase
SmallCaps
Capitalize
Property > Font > Letterspacing
Code:
widget.style.font.letterspacing
double
Property > Font > Horizontal
Code:
widget.style.font.horizontalAlignment
enum
Values:
Qt::AlignLeft
Qt::AlignRight
Qt::AlignHCenter
Qt::AlignJustify
Property > Font > Vertical
Code:
widget.style.font.verticalAlignment
enum
Values:
Qt::AlignTop
Qt::AlignBottom
Qt::AlignVCenter
Property > Font > Wrap
Code:
widget.style.font.wrapMode
enum
Values:
NoWrap
WordWrap
WrapAnywhere
Property > Font > Line height mode
Code:
widget.style.font.lineHeightMode
int
Values:
0 - Proportional height
1 - Fixed height
Property > Font > Line height
Code:
widget.style.font.lineHeight
int
Property > Database > Database
Code:
widget.database
string
Property > Database > Field index
Code:
widget.dbFieldNum
int
Property > Database > Field name
Code:
widget.dbFieldName
string
Property > Database > Rows count
Code:
widget.dbRowCount
int
Property > Database > Selected rows count
Code:
widget.dbSelectedRowCount
int
Property > Database > Last row index
Code:
widget.dbRowLast
int
Property > Database > Row id
Code:
widget.dbRowId
string
Property > Database > Sql query
Code:
widget.sqlQuery
string
Property > Database > Parse query id
Code:
widget.parseQueryId
string
Actions > Common > Show controls
Code:
widget.script.actionShowControls()
Actions > Common > Hide controls
Code:
widget.script.actionHideControls()
Actions > Common > Execute
Code:
widget.script.actionExecute(QString code)
Actions > Common > Set db value by field num
Code:
widget.script.actionSetValue(int row, int col, QString value)
Actions > Common > Set db value by field name
Code:
widget.script.actionSetValueByName(int row, QString fieldName, QString value)
row id
will add new row. Example: {"field1":"field1 value","field2":"field2 value"}
Actions editor:
Actions > Common > Set db value by field name from JSON
Code:
widget.script.actionCommitData(QString rowId, QString dataJson)
row id
will add new row. Example: {"1":"field1 value","2":"field2 value"}
Actions editor:
Actions > Common > Set db value by field num from JSON
Code:
widget.script.actionCommitDataByNum(QString rowId, QString dataJson)
Actions > Common > Add db row
Code:
widget.script.actionAddRow()
Actions > Common > Remove db row
Code:
widget.script.actionRemoveRow(QString rowId)
Actions > Common > Remove all db rows
Code:
widget.script.actionRemoveAllRows()
Actions > Common > Update database
Code:
widget.script.actionUpdateDatabase()
Actions > Common > Set current db row id
Code:
widget.script.actionSetDatabaseRowId(QString rowId)
Actions > Common > Share file
Code:
widget.script.actionShareFile()
Actions > Animation > Set position
Code:
widget.script.actionSetPosition(double newX, double newY)
widget.script.actionSetPositionWithAnimation(double newX, double newY, int animationType, int animationDuration)
Actions > Animation > Set size
Code:
widget.script.actionSetSize(double newWidth, double newHeight)
widget.script.actionSetSizeWithAnimation(double newWidth, double newHeight, int animationType, int animationDuration)
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)
Actions > Animation > Set size and position cancel
Code:
widget.script.actionSetSizeAndPositionCancel()
widget.script.actionSetSizeAndPositionCancelWithAnimation(int animationType, int animationDuration)
Actions > Common > Bring to front
Code:
widget.script.actionBringToFront()
Actions > Common > Send to back
Code:
widget.script.actionSendToBack()
Event > Changed
Code:
widget.script.eventChanged()
Event > Database updated
Code:
widget.script.eventDatabaseUpdated()
Event > Database rows count
Code:
widget.script.eventDatabaseRowsCount()
Event > Database data changed
Code:
widget.script.eventDatabaseData()
Event > Toggled maximizing
Code:
widget.script.eventToggleExpand()
Event > Maximized
Code:
widget.script.eventExpand()
Event > Minimized
Code:
widget.script.eventShrink()
Event > Hide
Code:
widget.script.eventHided()
Event > Show
Code:
widget.script.eventShowed()
Event > Toggle visibility
Code:
widget.script.eventToggleVisible()
Event > Press
Code:
widget.script.eventItemPressed()
Event > Click
Code:
widget.script.eventItemClicked()
Event > Double click
Code:
widget.script.eventItemDoublePressed()
Event > Mouse over
Code:
widget.script.eventMouseOver()
Event > Mouse out
Code:
widget.script.eventMouseOut()
Event > Loaded
Code:
widget.script.eventLoaded()
Event > Swipe left
Code:
widget.script.eventSwipeLeft()
Event > Swipe right
Code:
widget.script.eventSwipeRight()
Event > Swipe up
Code:
widget.script.eventSwipeUp()