Gambas Documentation - /comp/gb.qt4

/comp/gb.qt4

# gb.qt4

This component implements the Graphical User Interface classes. It is based on the QT 4 library.

Author | Benoît Minisini.
Implements | Graphical form management Event loop management Image loading and saving
Requires | gb.image

Class | Description
--- | ---
Action | This class allows you to manage the actions defined in the Action property of many controls.
Align | This class provides constants and methods to deal with horizontal and vertical alignments of text, cells...
Application | This static class gives global information about the application.
Arrange | Constants used by the Arrangement property of some containers controls, like Window or Panel.
Border | This class defines constants used by the Border property of many controls. Moreover, since Gambas 3.7, this class is creatable, and allows to describe the border of a GridView cell or row.
Button | This class implements a push button control.
CheckBox | This control implements a check-box, that can be checked or unchecked.
Clipboard | This class is used for manipulating the system clipboard.
Color | This static class has properties that return system colors. Look at Color of gb.image for color constants and useful methods.
ColumnView | This class implements a control that displays a TreeView with columns.
ComboBox | Implements a text box combined with a popup list box.
Container | This class is the parent class of every control that can contain other controls.
Control | This class is the parent class of all controls, except Menu.
Cursor | This class implements a custom mouse cursor.
Desktop | This class is used to get information about the desktop and the screen.
Dialog | This class contains static methods used for calling standard dialog boxes.
Drag | This static class is used for managing drag & drop processes.
Draw | This class is used for drawing on a Picture, or a DrawingArea object.
DrawingArea | This control implements an area that can be drawn by the application. It has two behaviors, standard and cached, defined by the cached property.
Embedder | This class provides a control that can embed any other X11 window from any other X11 application.
Fill | Constants used to represent fill patterns for drawing.
Font | This class represents a font used for drawing or displaying text in controls.
Fonts | This class is a virtual collection of the names of all font families installed on the system.
Form | The parent class of every form of a program.
Frame | This control is a container with an etched border and a label.
GridView | Implements a control that displays data in a grid.
HBox | This class is a container that arranges its children horizontally.
HPanel | This class is a container that arranges its children from top to bottom, and then left to right.
HSplit | This control implements an horizontal splitter.
IconView | Implements a control that displays icon items.
Image | This class implements an image.
Key | This class is used for getting information about a key event, and contains the constants that represent the keys.
Label | This control is a label that shows a text.
Line | Constants used by the Draw.LineStyle property.
ListBox | This control implements a list of selectable text items.
ListView | This control implements a list of selectable text items with icons.
Menu | This class represents a popup menu, or one element of a popup menu.
Message | This class is used for displaying message boxes.
Mouse | This class is used for getting information about a mouse event from another control, or about the mouse in general. It defines the constants used with the Mouse property.
MovieBox | This class provides a control that displays animated GIF or MNG pictures.
Paint | This class is used for doing anti-aliased painting on the following objects:
PaintBrush | This class represents a painter brush, as returned by the following methods:
PaintExtents | This class represents a extents bounding box, as returned by properties like Paint.ClipExtents or Paint.PathExtents.
PaintMatrix | This class represents a painting transformation matrix.
Panel | This class implements a container control with a changeable border.
Picture | This class represents a picture.
PictureBox | This class implements a control that displays a picture.
Point | This class describes a point with two integer coordinates.
Pointer | This class allows to get information about tablet events.
PointF | This class describes a point whose coordinates are two floating point numbers.
Printer | This class allows to print documents on printers, or save them in a file.
ProgressBar | This class implements a progress bar control.
RadioButton | This implements a radio button control.
Rect | This class represents a rectangle with integer coordinates.
RectF | This class represents a rectangle whose coordinates are two floating point numbers.
Screen | This class describe the geometry of a monitor connected to your graphic card.
Screens | This class allows to get the geometry information of all monitors connected to your computer.
Scroll | Constants used by the ScrollBar property of many controls.
ScrollArea | This control is a scrollable DrawingArea.
ScrollBar | This class provides a scroll bar with user-definable range.
ScrollView | This class implements a container that can scroll its contents.
Select | Constants used by the Mode property of many controls.
Separator | This control displays a separator line.
Shortcut |
Slider | The Slider control provides a vertical or horizontal slider.
SpinBox | This class implements a spin box widget.
Style | This class is a set of properties that return informations about the current widget style.
SvgImage | This class represents a SVG file loaded from a file into memory.
TabStrip | This class implements a tabbed container control.
TextArea | This class implements a multiline text edit control.
TextBox | This class implements a single line text edit control.
TextLabel | This class implements a control displaying simple HTML text, as known as rich text.
ToggleButton | This class implements a toggle button.
ToolButton | This class implements a ToolBar button control.
TrayIcon | This class implements a tray icon.
TrayIcons | This class implements a virtual collection of all TrayIcon objects managed by the application.
TreeView | This control implements a tree view of selectable text items with icons.
UserContainer | This class is the parent of all container controls programmed directly in Gambas.
UserControl | This class is the parent of all controls programmed in Gambas.
VBox | This class is a container that arranges its children vertically.
VPanel | This class is a container that arranges its children from left to right, and then top to bottom.
VSplit | This control implements a vertical splitter.
Watcher | This class implements an object that can watch any control and raise some events when something happens on it.
Window | This class implements a window.
Windows | Returns a collection of all windows created by your application.