called right after this widget is activated, or de-activated
called by itself, to update events subscribed to
called by children when they want to re-subscribe to events
fill current line with a character. max is ignored if max==0
Called after UI has been run
If a coordinate is within writing area, and writing area actually exists
Called when key is pressed and this widget is active.
Called when mouse is clicked with cursor on this widget.
move seek for next write to terminal. can only write in between: (_viewX .. _viewX + _viewWidth, _viewY .. _viewX + _viewHeight)
to set cursor position on terminal. will only work if this is active widget. set x or y or both to negative to hide cursor
To request parent to trigger a resize event
called to request to scrollX
called to request to scrollY
To request parent to trigger an update event
Called when widget size is changed, or widget should recalculate it's child widgets' sizes;
Called when the widget is rescrolled, but size not changed.
activate the passed widget if this is actually the correct widget
called often. msecs is the msecs since last timerEvent, not accurate
Called to update this widget
writes a character on terminal
writes a (d)string to terminal. if it does not fit in one line, it is wrapped
height of widget
fixed height setter. This will actually do minHeight=maxHeight=value and call requestResize
maximum height
maximum width
minimum height
minimum width
use to change the custom activate event
use to change the custom initialize event
use to change the custom keyboard event
use to change the custom mouse event
use to change the custom resize event
use to change the custom timer event
horizontal scroll.
vertical scroll.
visibility of the widget.
specifies ratio of height or width (depending on parent layout type)
viewport size. (drawable area for widget)
viewport size. (drawable area for widget)
viewport coordinates. (drawable area for widget)
width of widget
fixed width setter. This will actually do minWidth=maxWidth=value and call requestResize
maximum height
maximum width
minimum height
minimum width
Base class for all widgets, including layouts and QTerminal
Use this as parent-class for new widgets