Implicitly Shared Classes

These Qt Core classes provides a safe and efficient way of sharing and manipulating data by implicitly sharing data.

QBitArray

Array of bits

QBitmap

Monochrome (1-bit depth) pixmaps

QBrush

Defines the fill pattern of shapes drawn by QPainter

QByteArray

Array of bytes

QByteArrayList

List of byte arrays

QByteArrayView

View on an array of bytes with a read-only subset of the QByteArray API

QCache

Template class that provides a cache

QCollator

Compares strings according to a localized collation algorithm

QCollatorSortKey

Can be used to speed up string collation

QCommandLineOption

Defines a possible command-line option

QContiguousCache

Template class that provides a contiguous cache

QCursor

Mouse cursor with an arbitrary shape

QDBusPendingCall

Refers to one pending asynchronous call

QDBusUnixFileDescriptor

Holds one Unix file descriptor

QDateTime

Date and time functions

QDebug

Output stream for debugging information

QDir

Access to directory structures and their contents

QDnsDomainNameRecord

Stores information about a domain name record

QDnsHostAddressRecord

Stores information about a host address record

QDnsMailExchangeRecord

Stores information about a DNS MX record

QDnsServiceRecord

Stores information about a DNS SRV record

QDnsTextRecord

Stores information about a DNS TXT record

QFileInfo

System-independent file information

QFont

Specifies a query for a font used for drawing text

QFontInfo

General information about fonts

QFontMetrics

Font metrics information

QFontMetricsF

Font metrics information

QGeoAreaMonitorInfo

Describes the parameters of an area or region to be monitored for proximity

QGeoPositionInfo

Contains information gathered on a global position, direction and velocity at a particular point in time

QGeoSatelliteInfo

Contains basic information about a satellite

QGlyphRun

Direct access to the internal glyphs in a font

QGradient

Used in combination with QBrush to specify gradient fills

QHash

Template class that provides a hash-table-based dictionary

QHostAddress

IP address

QHttp1Configuration

Controls HTTP/1 parameters and settings

QHttp2Configuration

Controls HTTP/2 parameters and settings

QHttpPart

Holds a body part to be used inside a HTTP multipart MIME message

QIcon

Scalable icons in different modes and states

QImage

Hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device

QJsonArray

Encapsulates a JSON array

QJsonDocument

Way to read and write JSON documents

QJsonObject

Encapsulates a JSON object

QJsonParseError

Used to report errors during JSON parsing

QJsonValue

Encapsulates a value in JSON

QKeySequence

Encapsulates a key sequence as used by shortcuts

QLinkedList

Template class that provides linked lists

QList

Template class that provides a dynamic array

QLocale

Converts between numbers and their string representations in various languages

QLowEnergyAdvertisingData

Represents the data to be broadcast during Bluetooth Low Energy advertising

QLowEnergyAdvertisingParameters

Represents the parameters used for Bluetooth Low Energy advertising

QLowEnergyCharacteristicData

Used to set up GATT service data

QLowEnergyConnectionParameters

Used when requesting or reporting an update of the parameters of a Bluetooth LE connection

QLowEnergyDescriptorData

Used to create GATT service data

QLowEnergyServiceData

Used to set up GATT service data

QMap

Template class that provides an associative array

QMimeType

Describes types of file or data, represented by a MIME type string

QMqttTopicFilter

Represents a MQTT topic filter

QMqttTopicName

Represents a MQTT topic name

QMultiHash

Convenience QHash subclass that provides multi-valued hashes

QMultiMap

Template class that provides an associative array with multiple equivalent keys

QNetworkAddressEntry

Stores one IP address supported by a network interface, along with its associated netmask and broadcast address

QNetworkCacheMetaData

Cache information

QNetworkCookie

Holds one network cookie

QNetworkInterface

Listing of the host's IP addresses and network interfaces

QNetworkProxy

Network layer proxy

QNetworkProxyQuery

Used to query the proxy settings for a socket

QNetworkRequest

Holds a request to be sent with QNetworkAccessManager

QOpenGLDebugMessage

Wraps an OpenGL debug message

QPageRanges

Represents a collection of page ranges

QPainterPath

Container for painting operations, enabling graphical shapes to be constructed and reused

QPalette

Contains color groups for each widget state

QPen

Defines how a QPainter should draw lines and outlines of shapes

QPersistentModelIndex

Used to locate data in a data model

QPicture

Paint device that records and replays QPainter commands

QPixmap

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

QPolygon

List of points using integer precision

QPolygonF

List of points using floating point precision

QProcessEnvironment

Holds the environment variables that can be passed to a program

QQueue

Generic container that provides a queue

QRawFont

Access to a single physical instance of a font

QRegExp

Pattern matching using regular expressions

QRegion

Specifies a clip region for a painter

QRegularExpression

Pattern matching using regular expressions

QRegularExpressionMatch

The results of a matching a QRegularExpression against a string

QRegularExpressionMatchIterator

Iterator on the results of a global match of a QRegularExpression object against a string

QSet

Template class that provides a hash-table-based set

QSqlField

Manipulates the fields in SQL database tables and views

QSqlQuery

Means of executing and manipulating SQL statements

QSqlRecord

Encapsulates a database record

QSslCertificate

Convenient API for an X509 certificate

QSslCertificateExtension

API for accessing the extensions of an X509 certificate

QSslCipher

Represents an SSL cryptographic cipher

QSslConfiguration

Holds the configuration and state of an SSL connection

QSslDiffieHellmanParameters

Interface for Diffie-Hellman parameters for servers

QSslError

SSL error

QSslKey

Interface for private and public keys

QSslPreSharedKeyAuthenticator

Authentication data for pre shared keys (PSK) ciphersuites

QStack

Template class that provides a stack

QStaticText

Enables optimized drawing of text when the text and its layout is updated rarely

QStorageInfo

Provides information about currently mounted storage and drives

QString

Unicode character string

QStringList

List of strings

QTextBlockFormat

Formatting information for blocks of text in a QTextDocument

QTextBoundaryFinder

Way of finding Unicode text boundaries in a string

QTextCharFormat

Formatting information for characters in a QTextDocument

QTextCursor

Offers an API to access and modify QTextDocuments

QTextDocumentFragment

Represents a piece of formatted text from a QTextDocument

QTextFormat

Formatting information for a QTextDocument

QTextFrameFormat

Formatting information for frames in a QTextDocument

QTextImageFormat

Formatting information for images in a QTextDocument

QTextListFormat

Formatting information for lists in a QTextDocument

QTextTableCellFormat

Formatting information for table cells in a QTextDocument

QTextTableFormat

Formatting information for tables in a QTextDocument

QUrl

Convenient interface for working with URLs

QUrlQuery

Way to manipulate a key-value pairs in a URL's query

QVariant

Acts like a union for the most common Qt data types

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.