QTerminal

Terminal

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

eventSubscribe
void eventSubscribe()
Undocumented in source. Be warned that the author may not have intended to support it.
keyboardEvent
bool keyboardEvent(KeyboardEvent key, bool cycle)
Undocumented in source. Be warned that the author may not have intended to support it.
requestCursorPos
void requestCursorPos(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeEvent
bool 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 event functions, it will complete those first

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

Properties

terminateOnHangup
bool terminateOnHangup [@property getter]
bool terminateOnHangup [@property setter]

whether to stop UI loop on HangupInterrupt (Ctrl+C)

Variables

timerMsecs
ushort timerMsecs;

time to wait between timer events (milliseconds)

Inherited Members

From QLayout

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

Recalculates size and position for all visible widgets

scrollEvent
bool scrollEvent()

Resize event

mouseEvent
bool mouseEvent(MouseEvent mouse)

Redirects the mouseEvent to the appropriate widget

keyboardEvent
bool keyboardEvent(KeyboardEvent key, bool cycle)

Redirects the keyboardEvent to appropriate widget

initialize
bool initialize()

initialise

timerEvent
bool timerEvent(uint msecs)

timer

activateEvent
bool activateEvent(bool isActive)

activate event

updateEvent
bool updateEvent()

called by parent widget to update

searchAndActivateWidget
bool searchAndActivateWidget(QWidget target)

activate the passed widget if it's in the current layout

Type
enum Type

Layout type

~this
~this()

destructor, kills children

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

Color for unoccupied space

overflowColor
Color overflowColor [@property getter]
Color overflowColor [@property setter]

Color to fill with when out of space

addWidget
void addWidget(QWidget widget, bool allowScrollControl)
void addWidget(QWidget[] widgets)

adds a widget

Meta