Text

Property Function Type
Plain text Sets plain text

Actions editor:
Property > Text > Plain text
Code:
widget.content.plainText
string
Formatted text Sets formatted text

Actions editor:
Property > Text > Formatted text
Code:
widget.content.richText
string
Text style Sets text format mode to Plain or Formatted

Actions editor:
Property > Text > Text style
Code:
widget.content.textFormat
enum

Values:
Qt::PlainText
Qt::RichText
Columns Sets columns number

Actions editor:
Property > Text > Columns
Code:
widget.content.columns
int
Column margin Sets column margins

Actions editor:
Property > Text > Column margin
Code:
widget.content.columnMargin
double
Margins Sets text margins

Actions editor:
Property > Text > Margins
Code:
widget.content.margins
double
Link Sets link

Actions editor:
Property > Text > Link
Code:
widget.content.link
string
ScrollX Not documented

Actions editor:
Property > Text > ScrollX
Code:
widget.content.scrollX
double
ScrollY Not documented

Actions editor:
Property > Text > ScrollY
Code:
widget.content.scrollY
double

Actions

Property Function
Clear text Actions editor:
Actions > Common > Clear text
Code:
widget.content.script.actionClearText()
Append text Append text to the bottom

Actions editor:
Actions > Common > Append text
Code:
widget.content.script.actionAppendText(QString newText)
Set text Actions editor:
Actions > Common > Set text
Code:
widget.content.script.actionSetText(QString newText)
Scroll to top Actions editor:
Actions > Common > Scroll to top
Code:
widget.content.script.actionScrollTop()
Scroll to end Actions editor:
Actions > Common > Scroll to end
Code:
widget.content.script.actionScrollBottom()

Events

Property Function
Text changed Event when text is changed

Actions editor:
Event > Text changed
Code:
widget.content.script.eventTextChanged()
Link clicked Event when link is clicked

Actions editor:
Event > Link clicked
Code:
widget.content.script.eventLinkClicked()
Scroll Event when text is scrolled

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

Actions editor:
Event > Scroll stop
Code:
widget.content.script.eventScrollStop()

results matching ""

    No results matching ""