Qt GUI 模塊為采用 Qt 編寫圖形應用程序提供基本的使能器。 更多...
| QAccessible | 與可訪問性相關的枚舉和靜態函數 |
| QAccessibleEditableTextInterface | 實現對具有可編輯文本的對象的支持 |
| QAccessibleEvent | 用於可訪問性通知的基類 |
| QAccessibleImageInterface | Implements support for the IAccessibleImage interface |
| QAccessibleInterface | 定義暴露有關可訪問對象的信息的接口 |
| QAccessibleStateChangeEvent | 通知可訪問性框架對象的狀態已改變 |
| QAccessibleTableCellInterface | 實現對 IAccessibleTable2 單元格接口的支持 |
| QAccessibleTableModelChangeEvent | 錶示錶格、列錶或樹中被添加 (或移除) 單元格的變化。若改變影響多行,firstColumn 和 lastColumn 將返迴 -1。同樣,對於列,行函數可能返迴 -1 |
| QAccessibleTextCursorEvent | 光標移動的通知 |
| QAccessibleTextInsertEvent | 正在插入文本的通知 |
| QAccessibleTextInterface | 實現對文本處理的支持 |
| QAccessibleTextRemoveEvent | 正被刪除文本的通知 |
| QAccessibleTextSelectionEvent | 對象文本選定改變的信號 |
| QAccessibleTextUpdateEvent | 有關文本改變的通知。這用於支持可編輯文本 (譬如:行編輯) 的可訪問。例如,此事件發生,當選中文本的一部分被粘貼新文本或在編輯器覆蓋模式下被替換時。 |
| QAccessibleValueChangeEvent | 描述可訪問對象的值改變 |
| QAccessibleValueInterface | 實現對操縱值對象的支持 |
| QAccessible::State | |
| QAccessibleObject | 為 QObjects 實現 QAccessibleInterface 部分 |
| QBitmap | 單色 (1 位深度) 像素圖 |
| QIcon | 在不同模式和狀態下的可伸縮圖標 |
| QIconEngine::AvailableSizesArgument | |
| QIconEngine | 用於 QIcon 渲染器的抽象基類 |
| QIconEngine::ScaledPixmapArgument | |
| QIconEnginePlugin | 用於自定義 QIconEngine 插件的抽象基 |
| QImage | 獨立於硬件的圖像錶示 (允許直接訪問像素數據,且可以被用作描繪設備) |
| QImageIOHandler | 定義用於 Qt 中所有圖像格式的常見圖像 I/O 接口 |
| QImageIOPlugin | 定義用於編寫圖像格式插件的接口 |
| QImageReader | 用於從文件 (或其它設備) 讀取圖像的格式獨立接口 |
| QImageWriter | 用於將圖像寫入文件 (或其它設備) 的格式獨立接口 |
| QMovie | 采用 QImageReader 播放影片的方便類 |
| QPicture | 用於記錄和重演 QPainter 命令的描繪設備 |
| QPixmap | 可以用作描繪設備的離屏圖像錶示 |
| QPixmapCache::Key | QPixmapCache::Key 類可用於有效訪問 QPixmapCache |
| QPixmapCache | 應用程序範圍像素圖緩存 |
| QStandardItem | 用於 QStandardItemModel 類的項 |
| QStandardItemModel | 用於存儲自定義數據的一般模型 |
| QClipboard | 訪問窗口係統剪貼闆 |
| QCursor | 具有任意形狀的鼠標光標 |
| QDrag | 支持基於 MIME 的拖放數據傳輸 |
| QInputMethodEvent::Attribute | QInputMethodEvent::Attribute 類存儲輸入法屬性 |
| QActionEvent | 當添加、移除或改變 QAction 時生成的事件 |
| QCloseEvent | 包含關閉事件的描述參數 |
| QContextMenuEvent | 包含上下文菜單事件的描述參數 |
| QDragEnterEvent | 被發送給 Widget 的事件當拖放動作進入時 |
| QDragLeaveEvent | 被發送給 Widget 的事件當拖放動作離開時 |
| QDragMoveEvent | 發送的事件,在拖放動作進行期間 |
| QDropEvent | 被發送的事件當拖放操作完成時 |
| QEnterEvent | 包含進入事件的描述參數 |
| QExposeEvent | 包含用於暴露事件的事件參數 |
| QFileOpenEvent | 當有打開文件或 URL 的請求時會發送的事件 |
| QFocusEvent | 包含 Widget 聚焦事件的事件參數 |
| QHelpEvent | 用於在 Widget 中有關特定點請求有幫助信息的事件 |
| QHideEvent | 在 Widget 被隱藏後發送的事件 |
| QHoverEvent | 包含鼠標事件的描述參數 |
| QIconDragEvent | 指示已開始拖拽主圖標 |
| QInputEvent | 描述用戶輸入事件的基類 |
| QInputMethodEvent | 用於輸入法事件的參數 |
| QInputMethodQueryEvent | 通過輸入上下文發送給輸入對象的事件 |
| QKeyEvent | 描述鍵事件 |
| QMouseEvent | 包含鼠標事件的描述參數 |
| QMoveEvent | 包含用於移動事件的事件參數 |
| QNativeGestureEvent | 包含手勢事件的描述參數 |
| QPaintEvent | 包含用於描繪事件的事件參數 |
| QPlatformSurfaceEvent | 用於通知有關本機平颱錶麵事件 |
| QPointingDeviceUniqueId | 標識用於指嚮設備的唯一對象 (譬如:令牌或手寫筆) |
| QResizeEvent | 包含用於重置大小事件的事件參數 |
| QScrollEvent | 發送當捲動時 |
| QScrollPrepareEvent | 在預備滾動時發送 |
| QShortcutEvent | 當用戶按下組閤鍵時生成的事件 |
| QShowEvent | 當展示 Widget 時發送的事件 |
| QStatusTipEvent | 用於在狀態欄展示消息的事件 |
| QTabletEvent | 包含數位闆事件的描述參數 |
| QTouchEvent | 包含觸摸事件的描述參數 |
| QWhatsThisClickedEvent | 可用於處理 What's This? 文本中的超鏈接的事件 |
| QWheelEvent | 包含滾輪事件的描述參數 |
| QWindowStateChangeEvent | 在窗口狀態改變之前的窗口狀態 |
| QTouchEvent::TouchPoint | Information about a touch point in a QTouchEvent |
| QGenericPlugin | 用於插件的抽象基類 |
| QGenericPluginFactory | 創建插件驅動程序 |
| QGuiApplication | 管理 GUI 應用程序的控製流和主要設置 |
| QInputMethod | 訪問活動文本輸入法 |
| QKeySequence | 封裝作為快捷鍵使用的鍵序列 |
| QOffscreenSurface | 錶示底層平颱的離屏錶麵 |
| QOpenGLContext | 錶示本機 OpenGL 上下文,使 OpenGL 能夠渲染在 QSurface |
| QOpenGLContextGroup | 錶示共享 OpenGL 資源的上下文組 |
| QOpenGLVersionProfile | Represents the version and if applicable the profile of an OpenGL context |
| QOpenGLWindow | 履行 OpenGL 描繪的 QWindow 方便子類 |
| QPaintDeviceWindow | 也是 QPaintDevice 的 QWindow 方便子類 |
| QPalette | 包含各 Widget 狀態的顔色組 |
| QPixelFormat | 用於描述圖形緩衝中不同像素布局的類 |
| QRasterWindow | 在 QWindow 使用 QPainter 的方便類 |
| QScreen | 用於查詢屏幕特性 |
| QSessionManager | 訪問會話管理器 |
| QStyleHints | 包含平颱特定提示及設置 |
| QSurface | Qt 中可渲染錶麵的抽象 |
| QSurfaceFormat | 錶示 QSurface 的格式 |
| QTouchDevice | Describes the device from which touch events originate |
| QWindow | 錶示在底層窗口係統中的窗口 |
| QGenericMatrix | 錶示具有 N 列和 M 行的 NxM 變換矩陣的模闆類 |
| QMatrix4x4 | 錶示 3D 空間中的 4x4 變換矩陣 |
| QQuaternion | 錶示由嚮量和標量組成的四元數 |
| QVector2D | 錶示 2D 空間中的嚮量或頂點 |
| QVector3D | 錶示 3D 空間中的嚮量或頂點 |
| QVector4D | 錶示 4D 空間中的嚮量或頂點 |
| QOpenGLBuffer | 用於創建和管理 OpenGL 緩衝對象的函數 |
| QOpenGLDebugLogger | 啓用 OpenGL 調試消息的日誌 |
| QOpenGLDebugMessage | 包裹 OpenGL 調試消息 |
| QOpenGLExtraFunctions | Cross-platform access to the OpenGL ES 3.0 and 3.1 API |
| QOpenGLFramebufferObject | 封裝 OpenGL 幀緩衝對象 |
| QOpenGLFramebufferObjectFormat | 指定 OpenGL 幀緩衝對象的格式 |
| QOpenGLFunctions | 跨平颱訪問 OpenGL ES 2.0 API |
| QOpenGLFunctions_1_0 | All functions for OpenGL 1.0 specification |
| QOpenGLFunctions_1_1 | All functions for OpenGL 1.1 specification |
| QOpenGLFunctions_1_2 | 用於 OpenGL 1.2 規範的所有函數 |
| QOpenGLFunctions_1_3 | 用於 OpenGL 1.3 規範的所有函數 |
| QOpenGLFunctions_1_4 | 用於 OpenGL 1.4 規範的所有函數 |
| QOpenGLFunctions_1_5 | 用於 OpenGL 1.5 規範的所有函數 |
| QOpenGLFunctions_2_0 | 用於 OpenGL 2.0 規範的所有函數 |
| QOpenGLFunctions_2_1 | 用於 OpenGL 2.1 規範的所有函數 |
| QOpenGLFunctions_3_0 | All functions for OpenGL 3.0 specification |
| QOpenGLFunctions_3_1 | All functions for OpenGL 3.1 specification |
| QOpenGLFunctions_3_2_Compatibility | All functions for OpenGL 3.2 compatibility profile |
| QOpenGLFunctions_3_2_Core | All functions for OpenGL 3.2 core profile |
| QOpenGLFunctions_3_3_Compatibility | All functions for OpenGL 3.3 compatibility profile |
| QOpenGLFunctions_3_3_Core | All functions for OpenGL 3.3 core profile |
| QOpenGLFunctions_4_0_Compatibility | All functions for OpenGL 4.0 compatibility profile |
| QOpenGLFunctions_4_0_Core | All functions for OpenGL 4.0 core profile |
| QOpenGLFunctions_4_1_Compatibility | All functions for OpenGL 4.1 compatibility profile |
| QOpenGLFunctions_4_1_Core | All functions for OpenGL 4.1 core profile |
| QOpenGLFunctions_4_2_Compatibility | All functions for OpenGL 4.2 compatibility profile |
| QOpenGLFunctions_4_2_Core | All functions for OpenGL 4.2 core profile |
| QOpenGLFunctions_4_3_Compatibility | All functions for OpenGL 4.3 compatibility profile |
| QOpenGLFunctions_4_3_Core | All functions for OpenGL 4.3 core profile |
| QOpenGLFunctions_4_4_Compatibility | All functions for OpenGL 4.4 compatibility profile |
| QOpenGLFunctions_4_4_Core | All functions for OpenGL 4.4 core profile |
| QOpenGLFunctions_4_5_Compatibility | All functions for OpenGL 4.5 compatibility profile |
| QOpenGLFunctions_4_5_Core | All functions for OpenGL 4.5 core profile |
| QOpenGLFunctions_ES2 | All functions for OpenGL ES 2 |
| QOpenGLPaintDevice | 啓用使用 QPainter 描繪到 OpenGL 上下文 |
| QOpenGLShader | 允許編譯 OpenGL 著色器 |
| QOpenGLShaderProgram | 允許鏈接和使用 OpenGL 著色器程序 |
| QOpenGLTexture | 封裝 OpenGL 紋理對象 |
| QOpenGLTextureBlitter | 憑藉 OpenGL 繪製紋理四邊形的方便手段 |
| QOpenGLTimeMonitor | 包裹一係列 OpenGL 計時器查詢對象 |
| QOpenGLTimerQuery | 包裹 OpenGL 計時器查詢對象 |
| QAbstractOpenGLFunctions | 暴露各 OpenGL 版本及 Profile (配置文件) 所有功能的一係列類的基類 |
| QOpenGLVertexArrayObject::Binder | QOpenGLVertexArrayObject::Binder 類是有助於綁定和釋放 OpenGL 頂點數組對象的方便類 |
| QOpenGLVertexArrayObject | 包裹 OpenGL 頂點數組對象 |
| QBackingStore | 用於 QWindow 的繪製區域 |
| QBrush | 定義 QPainter 繪製形狀的填充圖案 |
| QConicalGradient | 用於組閤 QBrush 以指定錐形漸變筆刷 |
| QGradient | 用於組閤 QBrush 以指定漸變填充 |
| QLinearGradient | 用於組閤 QBrush 以指定綫性漸變筆刷 |
| QRadialGradient | 用於組閤 QBrush 以指定徑嚮漸變筆刷 |
| QColor | 基於 RGB、HSV 或 CMYK 值的顔色 |
| QPagedPaintDevice | Represents a paintdevice that supports multiple pages |
| QPageLayout | 描述頁麵大小、取嚮及邊距 |
| QPageSize | 描述定義頁麵尺寸的大小和名稱 |
| QPaintDevice | 可以采用 QPainter 進行描繪的對象的基類 |
| QPaintEngine | QPainter 如何在給定平颱繪製給定設備的抽象定義 |
| QPaintEngineState | 活動描繪引擎當前狀態的有關信息 |
| QTextItem | 在自定義描繪引擎中描繪文本所需的所有信息 |
| QRasterPaintEngine | 啓用描繪操作硬件加速 (在 Qt for Embedded Linux 中) |
| QPainter::PixmapFragment | 此類用於結閤 QPainter::drawPixmapFragments() 函數,以指定如何繪製像素圖或像素圖子矩形 |
| QPainter | 在 Widget 和其它描繪設備上履行低級描繪 |
| QPainterPath::Element | QPainterPath::Element 類指定子路徑的位置及類型 |
| QPainterPath | 用於描繪操作的容器,使圖形形狀能夠被構造和重用 |
| QPainterPathStroker | 用於為給定描繪器路徑生成可填充輪廓 |
| QPdfWriter | 生成可用作描繪設備的 PDF 的類 |
| QPen | 定義 QPainter 如何繪製綫條和形狀的輪廓 |
| QPolygon | 使用整數精度的點嚮量 |
| QPolygonF | 使用浮點精度的點嚮量 |
| QRegion | 為描繪器指定裁剪區域 |
| QRgba64 | 包含 64 位 RGB 顔色的結構 |
| QTransform | 指定坐標係的 2D 變換 |
| QAbstractTextDocumentLayout::PaintContext | QAbstractTextDocumentLayout::PaintContext 類是定義使用參數的方便類,當描繪文檔布局時 |
| QAbstractTextDocumentLayout | 用於實現 QTextDocument 自定義布局的抽象基類 |
| QTextObjectInterface | 允許在 QTextDocument 中繪製自定義文本對象 |
| QAbstractTextDocumentLayout::Selection | QAbstractTextDocumentLayout::Selection 類是定義選定參數的方便類 |
| QFont | Specifies a font used for drawing text |
| QFontDatabase | 底層窗口係統中可用字體的有關信息 |
| QFontInfo | 有關字體的一般信息 |
| QFontMetrics | 字體規格信息 |
| QFontMetricsF | 字體規格信息 |
| QGlyphRun | 直接訪問字體中的內部字形 |
| QSupportedWritingSystems | 當采用內部 Qt fontdatabase (字體數據庫) 注冊字體時使用 |
| QRawFont | 訪問字體的單物理實例 |
| QStaticText | 當文本及其布局很少更新時,啓用優化文本繪製 |
| QSyntaxHighlighter | 允許您定義句法高亮規則,此外,還可以使用該類查詢文檔的當前格式或用戶數據 |
| QTextCursor | 提供訪問和修改 QTextDocument 的 API |
| QTextDocument | 保持格式化文本 |
| QTextDocumentFragment | 錶示一塊來自 QTextDocument 的格式化文本 |
| QTextDocumentWriter | 用於將 QTextDocument 寫入文件或其它設備的格式無關接口 |
| QTextBlockFormat | 用於 QTextDocument 文本塊的格式化信息 |
| QTextCharFormat | 用於 QTextDocument 字符的格式化信息 |
| QTextFormat | 用於 QTextDocument 的格式化信息 |
| QTextFrameFormat | 用於 QTextDocument 框架的格式化信息 |
| QTextImageFormat | 用於 QTextDocument 圖像的格式化信息 |
| QTextLength | 封裝用於 QTextDocument 中的不同長度類型 |
| QTextListFormat | 用於 QTextDocument 列錶的格式化信息 |
| QTextTableCellFormat | 用於 QTextDocument 中錶格單元格的格式化信息 |
| QTextTableFormat | 用於 QTextDocument 中錶格的格式化信息 |
| QTextLayout::FormatRange | QTextLayout::FormatRange 結構用於為文本布局內容中的指定區域應用額外格式信息 |
| QTextInlineObject | 錶示 QAbstractTextDocumentLayout 內聯對象及其實現 |
| QTextLayout | 用於布置和渲染文本 |
| QTextLine | 錶示一行 QTextLayout 文本 |
| QTextList | QTextDocument 項的裝飾列錶 |
| QTextBlock | 用於 QTextDocument 中文本片段的容器 |
| QTextBlockGroup | QTextDocument 的文本塊容器 |
| QTextBlockUserData | 用於將自定義數據關聯文本塊 |
| QTextFragment | 采用單 QTextCharFormat 保存一塊 QTextDocument 文本 |
| QTextFrame | 錶示 QTextDocument 框架 |
| QTextObject | 可以將 QTextDocument 各部分分組在一起的不同種類對象的基類 |
| QTextBlock::iterator | QTextBlock::iterator 類提供用於讀取 QTextBlock 內容的迭代器 |
| QTextOption | 一般富文本特性的描述 |
| QTextOption::Tab | |
| QTextTable | 錶示 QTextDocument 中的錶格 |
| QTextTableCell | 錶示 QTextTable 中單元格的特性 |
| QDesktopServices | 用於訪問常見桌麵服務的方法 |
| QDoubleValidator | 浮點數的範圍校驗 |
| QIntValidator | 確保字符串包含指定範圍內有效整數的驗證器 |
| QRegExpValidator | Used to check a string against a regular expression |
| QValidator | 輸入文本的驗證 |
The Qt GUI module provides classes for windowing system integration, event handling, OpenGL and OpenGL ES integration, 2D graphics, imaging, fonts and typography. These classes are used internally by Qt's user interface technologies and can also be used directly, for instance to write applications using low-level OpenGL ES graphics APIs.
要包括模塊類定義,使用以下指令:
#include <QtGui>
若使用
qmake
to build your projects,
Qt GUI
is included by default. To disable Qt GUI, add the following line to your
.pro
文件:
QT -= gui