qui.qui

This module contains most of the functions you'll need. All the 'base' classes, like QWidget are defined in this.

Members

Aliases

ActivateEventFunction
alias ActivateEventFunction = bool delegate(QWidget, bool)

activateEvent function. Return true if the event should be dropped

Color
alias Color = qui.termwrap.Color

Available colors are in this enum

InitFunction
alias InitFunction = bool delegate(QWidget)

Init function. Return true if the event should be dropped

Key
alias Key = qui.termwrap.Event.Keyboard.Key

Availabe Keys (keyboard) for input

KeyboardEvent
alias KeyboardEvent = Event.Keyboard

Keyboard Event

KeyboardEventFunction
alias KeyboardEventFunction = bool delegate(QWidget, KeyboardEvent)

keyboardEvent function. Return true if the event should be dropped

MouseEvent
alias MouseEvent = Event.Mouse

Mouse Event

MouseEventFuction
alias MouseEventFuction = bool delegate(QWidget, MouseEvent)

mouseEvent function. Return true if the event should be dropped

ResizeEventFunction
alias ResizeEventFunction = bool delegate(QWidget)

resizeEvent function. Return true if the event should be dropped

TimerEventFunction
alias TimerEventFunction = bool delegate(QWidget, uinteger)

TimerEvent function. Return true if the event should be dropped

Classes

Display
class Display

Used to write to display by widgets

QLayout
class QLayout

Used to place widgets in an order (i.e vertical or horizontal)

QTerminal
class QTerminal

A terminal (as the name says).

QWidget
class QWidget

Base class for all widgets, including layouts and QTerminal

Structs

Position
struct Position

Used to store position for widgets

Size
struct Size

To store size for widgets

Variables

DEFAULT_BG
Color DEFAULT_BG;

the default background color

DEFAULT_FG
Color DEFAULT_FG;

the default foreground color

Meta