QTerminal

A terminal (as the name says).

All widgets, receives events, runs UI loop...

Name in theme: 'terminal';

Constructors

this
this(string caption, LayoutDisplayType displayType)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addWidget
void addWidget(QWidget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()

clear terminal, called before writing, called by Matrix

flush
void flush()

flush changes to terminal, called by Matrix

mouseEvent
void mouseEvent(MouseClick mouse)
Undocumented in source. Be warned that the author may not have intended to support it.
moveTo
void moveTo(int x, int y)

move write-cursor to a position, called by Matrix

run
void run()

starts the UI loop

setColors
void setColors(RGBColor textColor, RGBColor bgColor)

change colors, called by Matrix

setCursorPos
void setCursorPos(uinteger x, uinteger y)

Called by active-widget(s?) to position the cursor

terminate
void terminate()

terminates the UI loop

updateDisplay
bool updateDisplay()

Use this instead of update to forcefully update the terminal

writeChars
void writeChars(char[] c)

write chars to terminal, called by Matrix

writeChars
void writeChars(char c)

write char to terminal, called by Matrix

Properties

position
Position position [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
running
bool running [@property getter]

returns true if UI loop is running

size
Size size [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From QLayout

LayoutDisplayType
enum LayoutDisplayType

Layout type

updateColors
void updateColors()
Undocumented in source. Be warned that the author may not have intended to support it.
addWidget
void addWidget(QWidget widget)

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

mouseEvent
void mouseEvent(MouseClick mouse)
Undocumented in source. Be warned that the author may not have intended to support it.
keyboardEvent
void keyboardEvent(KeyPress key)
Undocumented in source. Be warned that the author may not have intended to support it.
update
bool update(Matrix display)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta