Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.ext
gb.gui.qt.opengl
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.highlight
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mongodb
gb.mysql
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
.combobox.item
.container.children
.Menu.Children
.TabStripContainer
.TabStripContainer.Children
.TextArea.Selection
.TextBox.Selection
.Window.Controls
.Window.Menus
_ColumnView_Columns
_ComboBox_Item
_ComboBox_Selection
_Draw_Clip
_Draw_Style
_GridView_Cell
_GridView_Column
_GridView_Columns
_GridView_Data
_GridView_Row
_GridView_Rows
_Gui
_IconView_Item
_ListBox_Item
_split
_TreeView
_TreeView_Item
Action
Align
Animation
Application
Arrange
Border
Button
CheckBox
Clipboard
Color
ColumnView
ComboBox
Container
ContainerChildren
Control
Cursor
Desktop
Dialog
Direction
Drag
Draw
DrawingArea
embedder
Fill
Font
Fonts
Form
Frame
GridView
HBox
HPanel
HSplit
IconView
Image
Key
Label
Line
ListBox
ListView
Menu
Message
Mouse
MovieBox
Paint
PaintBrush
PaintExtents
PaintMatrix
Panel
Picture
PictureBox
Point
Pointer
PointF
Printer
ProgressBar
RadioButton
Rect
RectF
Screen
Screens
Scroll
ScrollArea
ScrollBar
ScrollView
Select
Separator
Slider
SpinBox
Splitter
Spring
Style
SvgImage
TabStrip
TextArea
TextBox
TextLabel
ToggleButton
ToolButton
trayicon
trayicons
TreeView
UserContainer
UserControl
VBox
VPanel
VSplit
Watcher
Window
Windows
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.qt6
gb.qt6.ext
gb.qt6.opengl
gb.qt6.webview
gb.report
gb.report2
gb.scanner
gb.sdl
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

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...
Animation This class represents an animated picture.
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.
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.
ContainerChildren This virtual class returns a virtual collection of all children of a container.
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.
Direction This class provides the constants for defining the Direction property of a control.
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.
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 class implements a container with a border and a title on top.
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 displays a piece of 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.
MovieBox This class provides a control that displays animated GIF or MNG pictures.
Paint This class is used for doing anti-aliased painting on various targets.
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.
Splitter This class implements a horizontal or vertical splitter container.
Spring This class implements an invisible control that push objects around according to the arrangement property of its container.
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.
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.