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, bool)

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, uint)

TimerEvent function. Return true if the event should be dropped

UpdateEventFunction
alias UpdateEventFunction = bool delegate(QWidget)

UpdateEvent function. Return true if the event should be dropped

scrollEventFunction
alias scrollEventFunction = bool delegate(QWidget)

scrollEvent function. Return true if the event should be dropped

Classes

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

ScrollContainer
class ScrollContainer

Container for widgets to make them scrollable, with optional scrollbars

Enums

EventMask
enum EventMask

mask of events subscribed

Structs

Cell
struct Cell

A cell on terminal

Viewport
struct Viewport

Display buffer

Variables

DEFAULT_BG
enum Color DEFAULT_BG;

the default background color

DEFAULT_FG
enum Color DEFAULT_FG;

the default foreground color

DEFAULT_OVERFLOW_BG
enum Color DEFAULT_OVERFLOW_BG;

background color of overflowing layouts

WIDGET_CYCLE_KEY
enum dchar WIDGET_CYCLE_KEY;

default active widget cycling key (tab)

Meta