QtGUI Module's Classes

Qt GUI C++ Classes

The Qt GUI module provides the basic enablers for graphical applications written with Qt. More...

Reference

Event Classes

These Qt Core classes are used to create and handle events.

For more information see the Event System page.

QAbstractEventDispatcher

Interface to manage Qt's event queue

QActionEvent

Event that is generated when a QAction is added, removed, or changed

QBasicTimer

Timer events for objects

QChildEvent

Contains event parameters for child object events

QCloseEvent

Contains parameters that describe a close event

QContextMenuEvent

Contains parameters that describe a context menu event

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

QDynamicPropertyChangeEvent

Contains event parameters for dynamic property change events

QEnterEvent

Contains parameters that describe an enter event

QEvent

The base class of all event classes. Event objects contain event parameters

QExposeEvent

Contains event parameters for expose events

QFileOpenEvent

Event that will be sent when there is a request to open a file or a URL

QFocusEvent

Contains event parameters for widget focus events

QGestureEvent

The description of triggered gestures

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

Contains parameters that describe a mouse event

QIconDragEvent

Indicates that a main icon drag has begun

QInputEvent

The base class for events that describe user input

QInputMethodEvent

Parameters for input method events

QKeyEvent

Describes a key event

QMouseEvent

Contains parameters that describe a mouse event

QMoveEvent

Contains event parameters for move events

QNativeGestureEvent

Contains parameters that describe a gesture event

QPaintEvent

Contains event parameters for paint events

QResizeEvent

Contains event parameters for resize events

QScrollEvent

Sent when scrolling

QScrollPrepareEvent

Sent in preparation of scrolling

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

QStatusTipEvent

Event that is used to show messages in a status bar

QTabletEvent

Contains parameters that describe a Tablet event

QTimer

Repetitive and single-shot timers

QTimerEvent

Contains parameters that describe a timer event

QTouchEvent

Contains parameters that describe a touch event

QWhatsThisClickedEvent

Event that can be used to handle hyperlinks in a "What's This?" text

QWheelEvent

Contains parameters that describe a wheel event

QWindowStateChangeEvent

The window state before a window state change

Painting Classes

See also this introduction to the Qt coordinate system.

QBitmap

Monochrome (1-bit depth) pixmaps

QBrush

Defines the fill pattern of shapes drawn by QPainter

QColor

Colors based on RGB, HSV or CMYK values

QColormap

Maps device independent QColors to device dependent pixel values

QConicalGradient

Used in combination with QBrush to specify a conical gradient brush

QFont

Specifies a font used for drawing text

QFontMetrics

Font metrics information

QFontMetricsF

Font metrics information

QGenericMatrix

Template class that represents a NxM transformation matrix with N columns and M rows

QGradient

Used in combination with QBrush to specify gradient fills

QIcon

Scalable icons in different modes and states

QIconEngine

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

QImageReader

Format independent interface for reading images from files or other devices

QImageWriter

Format independent interface for writing images to files or other devices

QLine

Two-dimensional vector using integer precision

QLineF

Two-dimensional vector using floating point precision

QLinearGradient

Used in combination with QBrush to specify a linear gradient brush

QMargins

Defines the four margins of a rectangle

QMarginsF

Defines the four margins of a rectangle

QPagedPaintDevice

Represents a paintdevice that supports multiple pages

QPaintDevice

The base class of objects that can be painted on with QPainter

QPaintEngine

Abstract definition of how QPainter draws to a given device on a given platform

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

QPdfWriter

Class to generate PDFs that can be used as a paint device

QPen

Defines how a QPainter should draw lines and outlines of shapes

QPixmap

Off-screen image representation that can be used as a paint device

QPoint

Defines a point in the plane using integer precision

QPointF

Defines a point in the plane using floating point precision

QPolygon

Vector of points using integer precision

QPolygonF

Vector of points using floating point precision

QRadialGradient

Used in combination with QBrush to specify a radial gradient brush

QRect

Defines a rectangle in the plane using integer precision

QRectF

Defines a rectangle in the plane using floating point precision

QRegion

Specifies a clip region for a painter

QSize

Defines the size of a two-dimensional object using integer point precision

QSizeF

Defines the size of a two-dimensional object using floating point precision

QStylePainter

Convenience class for drawing QStyle elements inside a widget

QSupportedWritingSystems

Used when registering fonts with the internal Qt fontdatabase

QSvgGenerator

Paint device that is used to create SVG drawings

QSvgRenderer

Used to draw the contents of SVG files onto paint devices

QSvgWidget

Widget that is used to display the contents of Scalable Vector Graphics (SVG) files

QTransform

Specifies 2D transformations of a coordinate system

QVector2D

Represents a vector or vertex in 2D space

Rendering in 3D

QGenericMatrix

Template class that represents a NxM transformation matrix with N columns and M rows

QMatrix4x4

Represents a 4x4 transformation matrix in 3D space

QOpenGLBuffer

Functions for creating and managing OpenGL buffer objects

QOpenGLDebugLogger

Enables logging of OpenGL debugging messages

QOpenGLDebugMessage

Wraps an OpenGL debug message

QOpenGLFramebufferObject

Encapsulates an OpenGL framebuffer object

QOpenGLFramebufferObjectFormat

Specifies the format of an OpenGL framebuffer object

QOpenGLFunctions

Cross-platform access to the OpenGL ES 2.0 API

QOpenGLPaintDevice

Enables painting to an OpenGL context using QPainter

QOpenGLShader

Allows OpenGL shaders to be compiled

QOpenGLShaderProgram

Allows OpenGL shader programs to be linked and used

QOpenGLTimeMonitor

Wraps a sequence of OpenGL timer query objects

QOpenGLTimerQuery

Wraps an OpenGL timer query object

QOpenGLVertexArrayObject

Wraps an OpenGL Vertex Array Object

QOpenGLVertexArrayObject::Binder

QOpenGLVertexArrayObject::Binder class is a convenience class to help with the binding and releasing of OpenGL Vertex Array Objects

QQuaternion

Represents a quaternion consisting of a vector and scalar

QVector2D

Represents a vector or vertex in 2D space

QVector3D

Represents a vector or vertex in 3D space

QVector4D

Represents a vector or vertex in 4D space

上一篇:[HNOI2008]玩具装箱TOY


下一篇:iOS开发传感器相关