|  | 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
QAbstractFontEngine | The base class for font engine plugins in Qtopia Core
QAbstractGraphicsShapeItem | Common base for all path items
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
QCalendarWidget | Monthly based calendar widget allowing the user to select a date
QCheckBox | Checkbox with a text label
QCleanlooksStyle | Widget style similar to the Clearlooks style available in GNOME
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 | Color groups for each widget state
QColormap | Maps device independent QColors to device dependent pixel values
QColumnView | Model/view implementation of a column view
QComboBox | Combined button and popup list
QCommonStyle | Encapsulates the common Look and Feel of a GUI
QCompleter | Completions based on an item model
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 in Qtopia Core
QCursor | Mouse cursor with an arbitrary shape
QCustomRasterPaintDevice | Provided to activate hardware accelerated paint engines in Qtopia Core
QDataWidgetMapper | Mapping between a section of a data model to widgets
QDateEdit | Widget for editing dates based on the QDateTimeEdit widget
QDateTimeEdit | Widget for editing dates and times
QDecoration | Base class for window decorations in Qtopia Core
QDecorationFactory | Creates window decorations in Qtopia Core
QDecorationPlugin | Abstract base class for window decoration plugins in Qtopia Core
QDesktopServices | Methods for accessing common desktop services
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
QDialogButtonBox | Widget that presents buttons in a layout that is appropriate to the current widget style
QDirModel | Data model for the local filesystem
QDirectPainter | Direct access to the underlying hardware in Qtopia Core
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
QFontComboBox | Combobox that lets the user select a font family
QFontDatabase | Information about the fonts available in the underlying window system
QFontDialog | Dialog widget for selecting a font
QFontEngineInfo | Describes a specific font provided by a font engine plugin
QFontEnginePlugin | The base class for font engine factory plugins in Qtopia Core
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
QGraphicsEllipseItem | Ellipse item that you can add to a QGraphicsScene
QGraphicsItem | The base class for all graphical items in a QGraphicsScene
QGraphicsItemAnimation | Simple animation support for QGraphicsItem
QGraphicsItemGroup | Treating a group of items as one
QGraphicsLineItem | Line item that you can add to a QGraphicsScene
QGraphicsPathItem | Path item that you can add to a QGraphicsScene
QGraphicsPixmapItem | Pixmap item that you can add to a QGraphicsScene
QGraphicsPolygonItem | Polygon item that you can add to a QGraphicsScene
QGraphicsRectItem | Rectangle item that you can add to a QGraphicsScene
QGraphicsScene | Surface for managing a large number of 2D graphical items
QGraphicsSceneContextMenuEvent | Context menu events in the graphics view framework
QGraphicsSceneDragDropEvent | Events for drag and drop in the graphics view framework
QGraphicsSceneEvent | Base class for all graphics view related events
QGraphicsSceneHelpEvent | Events when a tooltip is requested
QGraphicsSceneHoverEvent | Hover events in the graphics view framework
QGraphicsSceneMouseEvent | Mouse events in the graphics view framework
QGraphicsSceneWheelEvent | Wheel events in the graphics view framework
QGraphicsSimpleTextItem | Simple text path item that you can add to a QGraphicsScene
QGraphicsTextItem | Text item that you can add to a QGraphicsScene to display formatted text
QGraphicsView | Widget for displaying the contents of a QGraphicsScene
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
QIconEnginePluginV2 | Abstract base for custom QIconEngineV2 plugins
QIconEngineV2 | Abstract base class for QIcon renderers
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
QItemEditorCreator | Makes it possible to create item editor creator bases without subclassing QItemEditorCreatorBase
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 keyboard drivers in Qtopia Core
QKbdDriverPlugin | Abstract base class for keyboard driver plugins in Qtopia Core
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
QListView | List or icon view onto a model
QListWidget | Item-based list widget
QListWidgetItem | Item for use with the QListWidget item view class
QMacPasteboardMime | 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
QMdiArea | Area in which MDI windows are displayed
QMdiSubWindow | Subwindow class for QMdiArea
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 buttons laid out depending on the current style
QMimeSource | Abstraction of objects that provided formatted data of a certain MIME type
QMotifStyle | Motif look and feel
QMouseDriverFactory | Creates mouse drivers in Qtopia Core
QMouseDriverPlugin | Abstract base class for mouse driver plugins in Qtopia Core
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
QRasterPaintEngine | Enables hardware acceleration of painting operations in Qtopia Core
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 screen drivers in Qtopia Core
QScreenCursor | Base class for screen cursors in Qtopia Core
QScreenDriverFactory | Creates screen drivers in Qtopia Core
QScreenDriverPlugin | Abstract base class for screen driver plugins in Qtopia Core
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 | Resize handle for resizing top-level windows
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
QStandardItem | Item for use with the QStandardItemModel class
QStandardItemEditorCreator | The possibility to register widgets without having to subclass QItemEditorCreatorBase
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
QStyleHintReturnVariant | Style hints that return a QVariant
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 widget
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
QStyleOptionGraphicsItem | Used to describe the parameters needed to draw a QGraphicsItem
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
QStyleOptionSizeGrip | Used to describe the parameter for drawing a size grip
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 base of a tab bar, i.e. the part that the tab bar 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
QStyleOptionToolBoxV2 | Used to describe the parameters necessary for drawing a frame in Qt 4.3 or above
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
QStyleOptionViewItemV2 | Used to describe the parameters necessary for drawing a frame in Qt 4.2 or above
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
QSystemTrayIcon | Icon for an application in the system tray
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
QTransform | 2D transformations of a coordinate system
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
QUndoCommand | The base class of all commands stored on a QUndoStack
QUndoGroup | Group of QUndoStack objects
QUndoStack | Stack of QUndoCommand objects
QUndoView | Displays the contents of a QUndoStack
QVBoxLayout | Lines up widgets vertically
QValidator | Validation of input text
QWSCalibratedMouseHandler | Mouse calibration and noise reduction in Qtopia Core
QWSClient | Encapsulates a client process in Qtopia Core
QWSEmbedWidget | Enabels embedded top-level widgets in Qtopia Core
QWSEvent | Encapsulates an event in Qtopia Core
QWSInputMethod | International input methods in Qtopia Core
QWSKeyboardHandler | Base class for keyboard drivers in Qtopia Core
QWSMouseHandler | Base class for mouse drivers in Qtopia Core
QWSPointerCalibrationData | Container for mouse calibration data in Qtopia Core
QWSScreenSaver | Base class for screensavers in Qtopia Core
QWSServer | Encapsulates a server process in Qtopia Core
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
QWidgetAction | Extends QAction by an interface for inserting custom widgets into action based containers, such as toolbars
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
QWindowsVistaStyle | Look and feel suitable for applications on Microsoft Windows Vista
QWindowsXPStyle | Microsoft Windows XP-like look and feel
QWizard | Framework for wizards
QWizardPage | The base class for wizard pages
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

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]