Qt GUI Reference Documentation

Adobe Glyph List For New Fonts, version 1.7

Advanced Rich Text Processing

Handling Large Files

Android: FileProvider

Android: Setting up file sharing

Anti-aliasing rasterizer from FreeType 2

Changes to Qt GUI

Kernel classes

The QBitmap class

The QCursor class

The QKeyCombination class

Text classes

The QFontDatabase class

The QFont class

Painting classes

Utility classes

QIntValidator and QDoubleValidator

OpenGL classes

The QOpenGLContext class

ANGLE

Native clipboard integration

Cocoa Platform Plugin

Common Rich Text Editing Tasks

Using QTextEdit

Selecting Text

Finding Text

Printing Documents

Coordinate System

Rendering

Logical Representation

Aliased Painting

Anti-aliased Painting

Transformations

Window-Viewport Conversion

D3D12 Memory Allocator, version f128d39b7a95b4235bd228d231646278dc6c24b2

DejaVu Fonts, version 2.37

Document Layouts

Overview

Example - Shaped Text Layout

Drag and Drop

Drag and Drop in Qt

Drag and Drop Classes

Configuration

Drag and Drop in Qt Quick

Dragging

Dropping

Overriding Proposed Actions

Subclassing Complex Widgets

Drag and Drop Actions

Adding New Drag and Drop Types

Drop Actions

Drop Rectangles

The Clipboard

Examples

Interoperating with Other Applications

Drawing and Filling

Drawing

Filling

Emoji Segmenter, version 0.4.0

Freedesktop

Freedesktop Icon Naming Specification

Freedesktop Icon Theme Specification

Freetype 2 - Bitmap Distribution Format (BDF) support

Freetype 2 - Portable Compiled Format (PCF) support

Freetype 2 - zlib

Freetype 2, version 2.14.1

HarfBuzz-NG, version 11.5.0

Hello Vulkan Cubes Example

Running the Example

Hello Vulkan Triangle Example

Startup

The QVulkanWindow Subclass

The Actual Rendering

Running the Example

Hello Vulkan Widget Example

Running the Example

IAccessible2 Specification

Icon Theme Specification - Directory Layout

LibJPEG-turbo, version 3.1.2

LibPNG, version 1.6.50

LunarG Vulkan SDK

MD4C, version 0.5.2

Mipmap generator for D3D12, version 0aa79bad78992da0b6a8279ddb9002c1753cb849

Native Style for Android

OpenGL ES 2 Headers, version Revision 27673

OpenGL Headers, version Revision 27684

OpenGL Tessellation Shaders

Paint Devices and Backends

Creating a Paint Device

Paint System

Topics

Classes for Painting

Pixman, version 0.17.12

Relationships and Navigation

Properties

Interfaces

QAction in widget applications

Notes for X11 Users

Notes for macOS Users

Notes for Windows and macOS Users

Notes for Android Users

clipboard mode

Integer vs. Floating Point Precision

Alpha-Blended Drawing

Predefined Colors

The Extended RGB Color Model

The HSV Color Model

The HSL Color Model

The CMYK Color Model

Qt Colors

SVG Colors

A Note for X11 Users

URL Handlers

configuring qdesktopservices url handler on ios and macos

configuring qdesktopservices url handler on android

macOS Example

Example Usage

Caching and Performance

Checking for the existence of a font

Creating an icon from image files

Creating an icon from a theme or icon library

Icon Engines

Using QIcon in the User Interface

High DPI Icons

Reading and Writing Image Files

Image Information

Pixel Manipulation

Image Formats

Image Transformations

Formats

High Resolution Versions of Images

Standard Shortcuts

Keyboard Layout Issues

GNU Emacs Style Key Sequences

Thread Affinity

Context Resource Sharing

Default Framebuffer

GetFunction

Automatic Clipping

Composition Modes

Limitations

Settings

Drawing

Drawing Pixmaps and Images

Drawing High Resolution Versions of Pixmaps and Images

Rendering Quality

Coordinate Transformations

Clipping

Composition Modes

Limitations

Performance

Composing a QPainterPath

QPainterPath Information

QPainterPath Conversion

Examples

Pen Style

Cap Style

Join Style

Reading and Writing Image Files

Pixmap Information

Pixmap Conversion

Pixmap Transformations

Creating and Using Regions

An Impression of the API

Security Considerations

Design Fundamentals

Resources

Command buffers and deferred command execution

Threading

Resource synchronization

Resource reuse

Pooled objects

Swapchain specifics

Ownership

Troubleshooting and Profiling

Error reporting

Investigating rendering problems

Frame captures and performance profiling

Resource leak checking

Example usage

Common patterns

Working with existing Direct3D 11 devices

Working with existing Direct3D 12 devices

Working with existing OpenGL contexts

Example usage

Working with existing Metal devices

Advanced usage

Example usage

Common patterns

Working with existing Vulkan devices

Example

Subclassing

QSyntaxHighlighter multiblock

Notes for X11 Users

Notes for Windows Users

Enabling Touch Events

Event Handling

Event Delivery and Propagation

Touch Point Grouping

Mouse Events and Touch Event Synthesizing

Caveats

Rendering Graphics

Basic Matrix Operations

Combining Transforms

Relation to Matrix Notation

Undo and Redo Actions

Command Compression and Macros

Clean State

Obsolete Commands

Initialization

Configuration

Adopting an Existing Instance

Accessing Core Vulkan Commands

Getting a Native Vulkan Surface for a Window

Troubleshooting

Example

Using C++ Bindings for Vulkan

Coordinate system differences between OpenGL and Vulkan

Multisampling

Reading images back

sRGB support

Validation layers

Layers, device features, and extensions

Resource Management

Content Orientation

Visibility and Windowing System Exposure

Rendering

Initial Geometry

Qt GUI

Using the Module

Building with CMake

Building with qmake

Articles and Guides

Reference

Module Evolution

Licenses and Attributions

Qt GUI Overview

Application Windows

2D Graphics

RHI Graphics

3D Matrix and Vector Math

OpenGL and OpenGL ES Integration

Vulkan Integration

Drag and Drop

Qt GUI module topics

RHI Window Example

3D API Support

Build System Notes

Features

Shaders

API-specific Initialization

Expose Events

Swapchain, Depth-Stencil buffer, and Resizing

Render Loop

Resource and Pipeline Setup

Rendering

Raster Window Example

Application Entry Point

RasterWindow Declaration

RasterWindow Implementation

Rendering Asynchronously

Reading and Writing Image Files

Rich Text Document Structure

Rich Text Documents

Document Elements

Text Blocks

Frames

Tables

Lists

Images

Rich Text Processing

Rich Text Processing APIs

Smooth Scaling Algorithm

Supported HTML Subset

Using HTML Markup in Text Widgets

Supported Tags

Block Attributes

List Attributes

Table Cell Attributes

CSS Properties

Qt-specific CSS properties

Supported CSS Selectors

The QTextCursor Interface

Cursor-Based Editing

Using a Cursor

Grouping Cursor Operations

Multiple Cursors

Inserting Document Elements

Text and Text Fragments

Blocks

Frames

Tables

Lists

Images

Examples

Manipulating Rich Text

Generating a Calendar

UTR17

Vulkan

Vulkan API Registry, version 1.3.223

Vulkan Memory Allocator, version 3.1.0

WebGradients

Wintab API

X Server helper

XCB-XInput

Xcursor

comp.fonts FAQ

sRGB color profile icc file

Painting Classes

Rendering in 3D

Rich Text Processing APIs

Qt GUI C++ Classes

Qt GUI Private C++ Classes