QTerminal

A terminal (as the name says).

Constructors

this
this(QLayout.Type displayType, ushort timerDuration)

constructor

Destructor

~this
~this()
Undocumented in source.

Members

Functions

activateWidget
bool activateWidget(QWidget target)

search the passed widget recursively and activate it, returns if the activation was successful

requestResize
void requestResize()

Called to make container widgets (QLayouts) recalcualte widgets' sizes before update;

resizeEvent
void resizeEvent()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()

starts the UI loop

setActiveWidgetCycleKey
void setActiveWidgetCycleKey(dchar key)

Changes the key used to cycle between active widgets.

terminate
void terminate()

stops UI loop. **not instant**, if it is in-between updates, event functions, or timers, it will complete those first

update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

timerMsecs
ushort timerMsecs;

time to wait between timer events (milliseconds)

Inherited Members

From QLayout

resizeEvent
void resizeEvent()

Recalculates size and position for all visible widgets If a widget is too large to fit in, it's visibility is marked false

mouseEvent
void mouseEvent(MouseEvent mouse)

Redirects the mouseEvent to the appropriate widget

keyboardEvent
void keyboardEvent(KeyboardEvent key)

Redirects the keyboardEvent to appropriate widget

initialize
void initialize()

override initialize to initliaze child widgets

timerEvent
void timerEvent(uinteger msecs)

override timer event to call child widgets' timers

activateEvent
void activateEvent(bool isActive)

override activate event

update
void update()

called by owner widget to update

cycleActiveWidget
bool cycleActiveWidget()

called to cycle between actveWidgets. This is called by owner widget

searchAndActivateWidget
bool searchAndActivateWidget(QWidget target)

activate the passed widget if it's in the current layout, return if it was activated or not

setActiveWidgetCycleKey
void setActiveWidgetCycleKey(dchar newKey)

Change the key used for cycling active widgets, changes it for all added widgets as well

Type
enum Type

Layout type

fillColor
Color fillColor [@property getter]
Color fillColor [@property setter]

Color for unoccupied space

wantsTab
bool wantsTab [@property getter]
wantsInput
bool wantsInput [@property getter]
cursorPosition
Position cursorPosition [@property getter]
addWidget
void addWidget(QWidget widget)

adds (appends) a widget to the widgetList, and makes space for it

addWidget
void addWidget(QWidget[] widgets)

adds (appends) widgets to the widgetList, and makes space for them

Meta