Skip to main content Crate cxx_qt_lib Copy item path Source AspectRatioMode This enum type defines what happens to the aspect ratio when scaling an rectangle. BGMode This enum type specifies the background mode. CaseSensitivity ClipOperation ConnectionType This enum describes the types of connection that can be used with signals. DateFormat FillRule Specifies which method should be used to fill the paths and polygons. GlobalColor Qt’s predefined QColor objects. KeyboardModifier This enum describes the modifier keys. LayoutDirection This enum type specifies the direction of Qt’s layouts and text handling. MouseButton This enum type describes the different mouse buttons. Orientation This type is used to signify an object’s orientation. PenCapStyle This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using QPainter . PenJoinStyle This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter . PenStyle This enum type defines the pen styles that can be drawn using QPainter . QAnyStringView cxxqt_qt_version_major=6The QAnyStringView class provides a unified view of a Latin-1, UTF-8, or UTF-16 string. QByteArray The QByteArray class provides an array of bytes. QByteArrayBase64Option This enum contains the options available for encoding and decoding Base64. Base64 is defined by RFC 4648 . QColor qt_guiThe QColor class provides colors based on RGB, HSL, HSV or CMYK values. QColorNameFormat qt_guiHow to format the output of QColor::name . QColorSpec qt_guiThe type of color specified, either RGB, extended RGB, HSV, CMYK or HSL. QCoreApplication The QCoreApplication class provides an event loop for Qt applications without UI. QDate The QDate class provides date functions. QDateTime Non-Emscripten The QDateTime class provides date and time functions. QFlags The QFlags<T> class is a template class, where T is an enum type.
QFlags are used throughout Qt for storing combinations of enum values. QFont qt_guiThe QFont class specifies a query for a font used for drawing text. QFontCapitalization qt_guiRendering option for text this font applies to. QFontHintingPreference qt_guiThis enum describes the different levels of hinting that can be applied to glyphs
to improve legibility on displays where it might be warranted by the density of pixels. QFontSpacingType qt_guiQFontStyle qt_guiThis enum describes the different styles of glyphs that are used to display text. QFontStyleHint qt_guiStyle hints are used by the font matching algorithm to find an appropriate default
family if a selected font family is not available. QFontStyleStrategy qt_guiThe style strategy tells the font matching algorithm what type of fonts should
be used to find an appropriate default family. QGenericMatrix qt_guiThe QGenericMatrix class is a template class that represents a NxM
transformation matrix with N columns and M rows. QGuiApplication qt_guiThe QGuiApplication class manages the GUI application’s control flow and main settings. QHash The QHash class is a template class that provides a hash-table-based dictionary. QHashPair_QString_QVariant QHashPair_i32_QByteArray QImage qt_guiThe QImage class provides a hardware-independent image representation that allows direct access to the pixel data, and can be used as a paint device. QImageFormat qt_guiThe type of image format available in Qt. QImageInvertMode qt_guiThis enum type is used to describe how pixel values should be inverted in the QImage::invert_pixels function. QLine The QLine class provides a two-dimensional vector using integer precision. QLineF The QLineF class provides a two-dimensional vector using floating point precision. QList The QList class is a template class that provides a dynamic array. QMap The QMap class is a template class that provides an associative array. QMapPair_QString_QVariant QMargins The QMargins class defines the four margins of a rectangle. QMarginsF The QMarginsF class defines the four margins of a rectangle. QMessageLogContext The QMessageLogContext class defines the context passed to the Qt message handler. QMetaObjectConnection Represents a handle to a signal-slot (or signal-functor) connection. QMetaObjectConnectionGuard Represents a guard to a signal-slot (or signal-functor) connection. QMetaTypeType cxxqt_qt_version_major=6Types supported by QMetaType. This enum list is non-exhaustive, as additional types may
be registered during runtime. QModelIndex The QModelIndex class is used to locate data in a data model. QPainter qt_guiThe QPainter class performs low-level painting on widgets and other paint devices. QPainterCompositionMode qt_guiWarning: Only a QPainter operating on a [QImage]
fully supports all composition modes. The RasterOp modes are supported for X11 as described
in QPainter::composition_mode . QPainterPath qt_guiThe QPainterPath class provides a container for painting operations, enabling graphical shapes to be constructed and reused. QPainterRenderHint qt_guiRenderhints are used to specify flags to QPainter that may or may not be respected by any given engine. QPen qt_guiThe QPen class defines how a QPainter should draw lines and outlines of shapes. QPersistentModelIndex The QPersistentModelIndex class is used to locate data in a data model. QPoint The QPoint class defines a point in the plane using integer precision. QPointF The QPointF class defines a point in the plane using floating point precision. QPolygon qt_guiThe QPolygon class provides a list of points using integer precision. QPolygonF qt_guiThe QPolygonF class provides a list of QPointF. QQmlApplicationEngine qt_qmlQQmlApplicationEngine provides a convenient way to load an application from a single QML file.QQmlEngine qt_qmlThe QQmlEngine class provides an environment for instantiating QML components. QQmlImageProviderBase cxxqt_qt_version_major=6 and qt_qmlQQmlImageProviderBaseImageType cxxqt_qt_version_major=6 and qt_qmlQQuaternion qt_guiThe QQuaternion class represents a quaternion consisting of a vector and scalar. QQuickStyle qt_quickcontrolsThe QQuickStyle class allows configuring the application style. QRect The QRect class defines a rectangle in the plane using integer precision. QRectF The QRectF class defines a rectangle in the plane using floating point precision. QRegion qt_guiThe QRegion class specifies a clip region for a painter. QRegionRegionType qt_guiSpecifies the shape of the region to be created. QSet The QSet class is a template class that provides a hash-table-based set. QSize The QSize class defines the size of a two-dimensional object using integer point precision. QSizeF The QSizeF class defines the size of a two-dimensional object using floating point precision. QString The QString class provides a Unicode character string. QStringList The QStringList class provides a list of strings. QTime The QTime class provides clock time functions. QTimeZone Non-Emscripten The QTimeZone class converts between UTC and local time in a specific time zone. QUrl The QUrl class provides a convenient interface for working with URLs. QUuid The QUuid class stores a Universally Unique Identifier (UUID). QUuidVariant This enum defines the values used in the variant field of the UUID. The value in the variant field determines the layout of the 128-bit value. QUuidVersion This enum defines the values used in the version field of the UUID. The version field is meaningful only if the value in the variant field is QUuidVariant::DCE . QVariant The QVariant class acts like a union for the most common Qt data types. QVector The QVector class is a template class that provides a dynamic array. QVector2D qt_guiThe QVector2D class represents a vector or vertex in 2D space. QVector3D qt_guiThe QVector3D class represents a vector or vertex in 3D space. QVector4D qt_guiThe QVector4D class represents a vector or vertex in 4D space. QtMsgType The level the message is sent to the message handler at. SizeMode This enum is used by QPainter::draw_rounded_rect and QPainterPath::add_rounded_rect
functions to specify the radii of rectangle corners with respect to the dimensions
of the bounding rectangles specified. SplitBehaviorFlags This enum specifies how QString::split functions should behave with respect to empty strings. TimeSpec TransformationMode This enum type defines whether image transformations (e.g., scaling) should be smooth or not. c_void This is a workaround for CXX missing support for *mut c_void/*const c_void types. qint64 Typedef for long long int. This type is guaranteed to be 64-bit on all platforms supported by Qt. qintptr Integral type for representing pointers in a signed integer (useful for hashing, etc.). qreal Typedef for double qsizetype Integral type providing Posix’ ssize_t for all platforms. quint64 Typedef for unsigned long long int. This type is guaranteed to be 64-bit on all platforms supported by Qt. quintptr Integral type for representing pointers in an unsigned integer (useful for hashing, etc.). QByteArrayFromBase64Error QFlag Trait implementation for an element in a QFlags . QFlagRepr An integer type that can be used as the backing representation of a T in QFlags<T>. QHashPair Trait implementation for a pair in a QHash . QListElement Trait implementation for an element in a QList . QMapPair Trait implementation for a pair in a QMap . QObjectExt Trait which exposes methods available on a QObject.
Exposes some basic signals and methods for now, more to be added. QSetElement Trait implementation for an element in a QSet . QVariantValue Trait implementation for a value in a QVariant . QVectorElement Trait implementation for an element in a QVector . q_format_log_message Generates a formatted string out of the msg_type, context, str arguments. q_set_message_pattern ⚠ Changes the output of the default message handler.
See the Qt documentation for full details. qt_message_output Outputs a message in the Qt message handler. KeyboardModifiers QFlags of KeyboardModifier .MouseButtons QFlags of MouseButton .Orientations QFlags of Orientation .QByteArrayBase64Options QFlags of QByteArrayBase64Option .QMatrix2x2 qt_guiQMatrix2x3 qt_guiQMatrix2x4 qt_guiQMatrix3x2 qt_guiQMatrix3x3 qt_guiQMatrix3x4 qt_guiQMatrix4x2 qt_guiQMatrix4x3 qt_gui