|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

[Previous: QtCore Module] [Qt's Modules] [Next: QtNetwork Module]

# QtGui Module

The QtGui module extends QtCore with GUI functionality. More...

## Classes

QAbstractButton | The abstract base class of button widgets, providing functionality common to buttons
QAbstractItemDelegate | Used to display and edit data items from a model
QAbstractItemView | The basic functionality for item view classes
QAbstractPrintDialog | Base implementation for print dialogs used to configure printers
QAbstractProxyModel | Base class for proxy item models that can do sorting, filtering or other data processing tasks
QAbstractScrollArea | Scrolling area with on-demand scroll bars
QAbstractSlider | Integer value within a range
QAbstractSpinBox | Spinbox and a line edit to display values
QAbstractTextDocumentLayout | Abstract base class used to implement custom layouts for QTextDocuments
QAccessible | Enums and static functions relating to accessibility
QAccessibleBridge | The base class for accessibility back-ends
QAccessibleBridgePlugin | Abstract base for accessibility bridge plugins
QAccessibleEvent | Used to query addition accessibility information about complex widgets
QAccessibleInterface | Defines an interface that exposes information about accessible objects
QAccessibleObject | Implements parts of the QAccessibleInterface for QObjects
QAccessiblePlugin | Abstract base for accessibility plugins
QAccessibleWidget | Implements the QAccessibleInterface for QWidgets
QAction | Abstract user interface action that can be inserted into widgets
QActionEvent | Event that is generated when a QAction is added, removed, or changed
QActionGroup | Groups actions together
QApplication | Manages the GUI application's control flow and main settings
QBitmap | Monochrome (1-bit depth) pixmaps
QBoxLayout | Lines up child widgets horizontally or vertically
QBrush | Defines the fill pattern of shapes drawn by QPainter
QButtonGroup | Container to organize groups of button widgets
QCDEStyle | CDE look and feel
QCheckBox | Checkbox with a text label
QClipboard | Access to the window system clipboard
QCloseEvent | Parameters that describe a close event
QColor | Colors based on RGB, HSV or CMYK values
QColorDialog | Dialog widget for specifying colors
QColorGroup
QColormap | Maps device independent QColors to device dependent pixel values
QComboBox | Combined button and popup list
QCommonStyle | Encapsulates the common Look and Feel of a GUI
QConicalGradient | Used in combination with QBrush to specify a conical gradient brush
QContextMenuEvent | Parameters that describe a context menu event
QCopChannel | Communication capabilities between clients
QCursor | Mouse cursor with an arbitrary shape
QDateEdit | Widget for editing dates based on the QDateTimeEdit widget
QDateTimeEdit | Widget for editing dates and times
QDecoration | Allows the appearance of top level windows to be customized
QDecorationFactory | Creates QDecoration objects
QDecorationPlugin | Abstract base class for decoration plugins
QDesktopWidget | Access to screen information on multi-head systems
QDial | Rounded range control (like a speedometer or potentiometer)
QDialog | The base class of dialog windows
QDirModel | Data model for the local filesystem
QDirectPainter | Direct access to the video hardware
QDockWidget | Widget that can be docked inside a QMainWindow or floated as a top-level window on the desktop
QDoubleSpinBox | Spin box widget that takes doubles
QDoubleValidator | Range checking of floating-point numbers
QDrag | Support for MIME-based drag and drop data transfer
QDragEnterEvent | Event which is sent to a widget when a drag and drop action enters it
QDragLeaveEvent | Event that is sent to a widget when a drag and drop action leaves it
QDragMoveEvent | Event which is sent while a drag and drop action is in progress
QDropEvent | Event which is sent when a drag and drop action is completed
QErrorMessage | Error message display dialog
QFileDialog | Dialog that allow users to select files or directories
QFileIconProvider | File icon for the QDirModel class
QFileOpenEvent | Event that will be sent when there is a request to open a file
QFocusEvent | Event parameters for widget focus events
QFocusFrame | Focus frame which can be outside of a widget's normal paintable area
QFont | Font used for drawing text
QFontDatabase | Information about the fonts available in the underlying window system
QFontDialog | Dialog widget for selecting a font
QFontInfo | General information about fonts
QFontMetrics | Font metrics information
QFontMetricsF | Font metrics information
QFrame | The base class of widgets that can have a frame
QGradient | Used in combination with QBrush to specify gradient fills
QGridLayout | Lays out widgets in a grid
QGroupBox | Group box frame with a title
QHBoxLayout | Lines up widgets horizontally
QHeaderView | Header row or header column for item views
QHelpEvent | Event that is used to request helpful information about a particular point in a widget
QHideEvent | Event which is sent after a widget is hidden
QHoverEvent | Parameters that describe a mouse event
QIcon | Scalable icons in different modes and states
QIconDragEvent | Indicates that a main icon drag has begun
QIconEngine | Abstract base class for QIcon renderers
QIconEnginePlugin | Abstract base for custom QIconEngine plugins
QImage | Hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device
QImageIOHandler | Defines the common image I/O interface for all image formats in Qt
QImageIOPlugin | Defines an interface for writing an image format plugin
QImageReader | Format independent interface for reading images from files or other devices
QImageWriter | Format independent interface for writing images to files or other devices
QInputContext | Abstracts the input method dependent data and composing state
QInputContextFactory | Creates QInputContext objects
QInputContextPlugin | Abstract base for custom QInputContext plugins
QInputDialog | Simple convenience dialog to get a single value from the user
QInputEvent | The base class for events that describe user input
QInputMethodEvent | Parameters for input method events
QIntValidator | Validator that ensures a string contains a valid integer within a specified range
QItemDelegate | Display and editing facilities for data items from a model
QItemEditorCreatorBase | Abstract base class that must be subclassed when implementing new item editor creators
QItemEditorFactory | Widgets for editing item data in views and delegates
QItemSelection | Manages information about selected items in a model
QItemSelectionModel | Keeps track of a view's selected items
QItemSelectionRange | Manages information about a range of selected items in a model
QKbdDriverFactory | Creates QWSKeyboardHandler objects
QKbdDriverPlugin | Abstract base class for keyboard driver plugins
QKeyEvent | Describes a key event
QKeySequence | Encapsulates a key sequence as used by shortcuts
QLCDNumber | Displays a number with LCD-like digits
QLabel | Text or image display
QLayout | The base class of geometry managers
QLayoutItem | Abstract item that a QLayout manipulates
QLineEdit | One-line text editor
QLinearGradient | Used in combination with QBrush to specify a linear gradient brush
QLinuxFbScreen | Implements a screen driver for the Linux framebuffer
QListView | List or icon view onto a model
QListWidget | Item-based list widget
QListWidgetItem | Item for use with the QListWidget item view class
QMacMime | Maps open-standard MIME to Mac flavors
QMacStyle | Mac OS X style using the Apple Appearance Manager
QMainWindow | Main application window
QMatrix | 2D transformations of a coordinate system
QMenu | Menu widget for use in menu bars, context menus, and other popup menus
QMenuBar | Horizontal menu bar
QMenuItem | Represents an item in a menu
QMessageBox | Modal dialog with a short message, an icon, and some buttons
QMimeSource | Abstraction of objects that provided formatted data of a certain MIME type
QMotifStyle | Motif look and feel
QMouseDriverFactory | Creates QWSMouseHandler objects
QMouseDriverPlugin | Abstract base class for mouse driver plugins
QMouseEvent | Parameters that describe a mouse event
QMoveEvent | Event parameters for move events
QMovie | Convenience class for playing movies with QImageReader
QPageSetupDialog | Configuration dialog for the page-related options on a printer
QPaintDevice | The base class of objects that can be painted
QPaintEngine | Abstract definition of how QPainter draws to a given device on a given platform
QPaintEngineState | Information about the active paint engine's current state
QPaintEvent | Event parameters for paint events
QPainter | Performs low-level painting on widgets and other paint devices
QPainterPath | Container for painting operations, enabling graphical shapes to be constructed and reused
QPainterPathStroker | Used to generate fillable outlines for a given painter path
QPalette | Color groups for each widget state
QPen | Defines how a QPainter should draw lines and outlines of shapes
QPicture | Paint device that records and replays QPainter commands
QPictureFormatPlugin | Abstract base for custom picture format plugins
QPictureIO | Parameters for loading and saving pictures
QPixmap | Off-screen image representation that can be used as a paint device
QPixmapCache | Application-wide cache for pixmaps
QPlastiqueStyle | Widget style similar to the Plastik style available in KDE
QPolygon | Vector of points using integer precision
QPolygonF | Vector of points using floating point precision
QPrintDialog | Dialog for specifying the printer's configuration
QPrintEngine | Defines an interface for how QPrinter interacts with a given printing subsystem
QPrinter | Paint device that paints on a printer
QProgressBar | Horizontal or vertical progress bar
QProgressDialog | Feedback on the progress of a slow operation
QProxyModel | Support for processing data passed between another model and a view
QPushButton | Command button
QRadialGradient | Used in combination with QBrush to specify a radial gradient brush
QRadioButton | Radio button with a text label
QRegExpValidator | Used to check a string against a regular expression
QRegion | Clip region for a painter
QResizeEvent | Event parameters for resize events
QRubberBand | Rectangle or line that can indicate a selection or a boundary
QScreen | Base class for implementing screen drivers in Qtopia Core
QScreenCursor | Manages the onscreen mouse cursor
QScreenDriverFactory | Creates QScreen objects
QScreenDriverPlugin | Abstract base class for graphics driver plugins
QScrollArea | Scrolling view onto another widget
QScrollBar | Vertical or horizontal scroll bar
QSessionManager | Access to the session manager
QShortcut | Used to create keyboard shortcuts
QShortcutEvent | Event which is generated when the user presses a key combination
QShowEvent | Event that is sent when a widget is shown
QSizeGrip | Corner-grip for resizing a top-level window
QSizePolicy | Layout attribute describing horizontal and vertical resizing policy
QSlider | Vertical or horizontal slider
QSortFilterProxyModel | Support for sorting and filtering data passed between another model and a view
QSound | Access to the platform audio facilities
QSpacerItem | Blank space in a layout
QSpinBox | Spin box widget
QSplashScreen | Splash screen that can be shown during application startup
QSplitter | Implements a splitter widget
QSplitterHandle | Handle functionality of the splitter
QStackedLayout | Stack of widgets where only one widget is visible at a time
QStackedWidget | Stack of widgets where only one widget is visible at a time
QStandardItemModel | Generic model for storing custom data
QStatusBar | Horizontal bar suitable for presenting status information
QStatusTipEvent | Event that is used to show messages in a status bar
QStringListModel | Model that supplies strings to views
QStyle | Abstract base class that encapsulates the look and feel of a GUI
QStyleFactory | Creates QStyle objects
QStyleHintReturn | Style hints that return more than basic data types
QStyleHintReturnMask | Style hints that return a QRegion
QStyleOption | Stores the parameters used by QStyle functions
QStyleOptionButton | Used to describe the parameters for drawing buttons
QStyleOptionComboBox | Used to describe the parameter for drawing a combobox
QStyleOptionComplex | Used to hold parameters that are common to all complex controls
QStyleOptionDockWidget | Used to describe the parameters for drawing a dock window
QStyleOptionFocusRect | Used to describe the parameters for drawing a focus rectangle with QStyle
QStyleOptionFrame | Used to describe the parameters for drawing a frame
QStyleOptionFrameV2 | Used to describe the parameters necessary for drawing a frame in Qt 4.1 or above
QStyleOptionGroupBox | Describes the parameters for drawing a group box
QStyleOptionHeader | Used to describe the parameters for drawing a header
QStyleOptionMenuItem | Used to describe the parameter necessary for drawing a menu item
QStyleOptionProgressBar | Used to describe the parameters necessary for drawing a progress bar
QStyleOptionProgressBarV2 | Used to describe the parameters necessary for drawing a progress bar in Qt 4.1 or above
QStyleOptionQ3DockWindow | Used to describe the parameters for drawing various parts of a
QStyleOptionQ3ListView | Used to describe the parameters for drawing a Q3ListView
QStyleOptionQ3ListViewItem | Used to describe an item drawn in a Q3ListView
QStyleOptionRubberBand | Used to describe the parameters needed for drawing a rubber band
QStyleOptionSlider | Used to describe the parameters needed for drawing a slider
QStyleOptionSpinBox | Used to describe the parameters necessary for drawing a spin box
QStyleOptionTab | Used to describe the parameters for drawing a tab bar
QStyleOptionTabBarBase | Used to describe the the base of a tabbar. That is the part that the tabbar usually overlaps with
QStyleOptionTabV2 | Used to describe the parameters necessary for drawing a tabs in Qt 4.1 or above
QStyleOptionTabWidgetFrame | Used to describe the parameters for drawing the frame around a tab widget
QStyleOptionTitleBar | Used to describe the parameters for drawing a title bar
QStyleOptionToolBar | Used to describe the parameters for drawing a toolbar
QStyleOptionToolBox | Used to describe the parameters needed for drawing a tool box
QStyleOptionToolButton | Used to describe the parameters for drawing a tool button
QStyleOptionViewItem | Used to describe the parameters used to draw an item in a view widget
QStylePainter | Convenience class for drawing QStyle elements inside a widget
QStylePlugin | Abstract base for custom QStyle plugins
QSyntaxHighlighter | Allows you to define syntax highlighting rules, and in addition you can use the class to query a document's current formatting or user data
QTabBar | Tab bar, e.g. for use in tabbed dialogs
QTabWidget | Stack of tabbed widgets
QTableView | Default model/view implementation of a table view
QTableWidget | Item-based table view with a default model
QTableWidgetItem | Item for use with the QTableWidget class
QTableWidgetSelectionRange | Container for storing a selection range in a QTableWidget
QTabletEvent | Parameters that describe a Tablet event
QTextBlock | Container for text fragments in a QTextDocument
QTextBlockFormat | Formatting information for blocks of text in a QTextDocument
QTextBlockGroup | Container for text blocks within a QTextDocument
QTextBlockUserData | Used to associate custom data with blocks of text
QTextBrowser | Rich text browser with hypertext navigation
QTextCharFormat | Formatting information for characters in a QTextDocument
QTextCursor | Offers an API to access and modify QTextDocuments
QTextDocument | Holds formatted text that can be viewed and edited using a QTextEdit
QTextDocumentFragment | Represents a piece of formatted text from a QTextDocument
QTextEdit | Widget that is used to edit and display both plain and rich text
QTextFormat | Formatting information for a QTextDocument
QTextFragment | Holds a piece of text in a QTextDocument with a single QTextCharFormat
QTextFrame | Represents a frame in a QTextDocument
QTextFrameFormat | Formatting information for frames in a QTextDocument
QTextImageFormat | Formatting information for images in a QTextDocument
QTextInlineObject | Represents an inline object in a QTextLayout
QTextLayout | Used to lay out and paint a single paragraph of text
QTextLength | Encapsulates the different types of length used in a QTextDocument
QTextLine | Represents a line of text inside a QTextLayout
QTextList | Decorated list of items in a QTextDocument
QTextListFormat | Formatting information for lists in a QTextDocument
QTextObject | Base class for different kinds of objects that can group parts of a QTextDocument together
QTextOption | Description of general rich text properties
QTextTable | Represents a table in a QTextDocument
QTextTableCell | Represents the properties of a cell in a QTextTable
QTextTableFormat | Formatting information for tables in a QTextDocument
QTimeEdit | Widget for editing times based on the QDateTimeEdit widget
QToolBar | Movable panel that contains a set of controls
QToolBox | Column of tabbed widget items
QToolButton | Quick-access button to commands or options, usually used inside a QToolBar
QToolTip | Tool tips (balloon help) for any widget
QTransformedScreen | Implements a screen driver for a transformed screen
QTreeView | Default model/view implementation of a tree view
QTreeWidget | Tree view that uses a predefined tree model
QTreeWidgetItem | Item for use with the QTreeWidget convenience class
QTreeWidgetItemIterator | Way to iterate over the items in a QTreeWidget instance
QVBoxLayout | Lines up widgets vertically
QVFbScreen | Implements a screen driver for the virtual framebuffer
QVNCScreen | Implements a screen driver for VNC servers
QValidator | Validation of input text
QWSCalibratedMouseHandler | Implements a mouse driver providing calibration and noise reduction
QWSClient | Encapsulates a client process in Qtopia Core
QWSEvent | Encapsulates an event in Qtopia Core
QWSInputMethod | International input methods in Qtopia Core
QWSKeyboardHandler | Implements a keyboard driver in Qtopia Core
QWSMouseHandler | Implements a mouse driver in Qtopia Core
QWSPointerCalibrationData | Container for data used in calibration of a mouse handler
QWSScreenSaver | Implements a screensaver in Qtopia Core
QWSServer | Server-specific functionality in Qtopia Core
QWSTslibMouseHandler | Implements a mouse driver for the Universal Touch Screen Library, tslib
QWSWindow | Encapsulates a top-level window in Qtopia Core
QWhatsThis | Simple description of any widget, i.e. answering the question "What's This?"
QWhatsThisClickedEvent | Event that can be used to handle hyperlinks in a "What's This?" text
QWheelEvent | Parameters that describe a wheel event
QWidget | The base class of all user interface objects
QWidgetItem | Layout item that represents a widget
QWindowStateChangeEvent | The window state before a window state change
QWindowsMime | Maps open-standard MIME to Window Clipboard formats
QWindowsStyle | Microsoft Windows-like look and feel
QWindowsXPStyle | Microsoft WindowsXP-like look and feel
QWorkspace | Workspace window that can be used in an MDI application
QX11EmbedContainer | XEmbed container widget
QX11EmbedWidget | XEmbed client widget
QX11Info | Information about the X display configuration

## Detailed Description

The QtGui module extends QtCore with GUI functionality.

To include the definitions of both modules' classes, use the following directive:

        #include <QtGui>

The QtGui module is part of the Qt Desktop Light Edition, the Qt Desktop Edition, and the Qt Open Source Edition.

[Previous: QtCore Module] [Qt's Modules] [Next: QtNetwork Module]