Skip to main content

Crate cxx_qt_lib

Crate cxx_qt_lib 

Source

Structs§

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.
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.
QAnyStringViewcxxqt_qt_version_major=6
The 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
The QColor class provides colors based on RGB, HSL, HSV or CMYK values.
QColorNameFormat
How to format the output of QColor::name.
QColorSpec
The 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.
QDateTimeNon-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
The QFont class specifies a query for a font used for drawing text.
QFontCapitalization
Rendering option for text this font applies to.
QFontHintingPreference
This 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
QFontStyle
This enum describes the different styles of glyphs that are used to display text.
QFontStyleHint
Style hints are used by the font matching algorithm to find an appropriate default family if a selected font family is not available.
QFontStyleStrategy
The style strategy tells the font matching algorithm what type of fonts should be used to find an appropriate default family.
QGenericMatrix
The QGenericMatrix class is a template class that represents a NxM transformation matrix with N columns and M rows.
QGuiApplication
The 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
The 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
The type of image format available in Qt.
QImageInvertMode
This 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.
QModelIndex
The QModelIndex class is used to locate data in a data model.
QPainter
The QPainter class performs low-level painting on widgets and other paint devices.
QPainterCompositionMode
Warning: 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
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be constructed and reused.
QPainterRenderHint
Renderhints are used to specify flags to QPainter that may or may not be respected by any given engine.
QPen
The 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
The QPolygon class provides a list of points using integer precision.
QPolygonF
The QPolygonF class provides a list of QPointF.
QQmlApplicationEngine
QQmlApplicationEngine provides a convenient way to load an application from a single QML file.
QQmlEngine
The QQmlEngine class provides an environment for instantiating QML components.
QQuaternion
The QQuaternion class represents a quaternion consisting of a vector and scalar.
QQuickStyle
The 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
The QRegion class specifies a clip region for a painter.
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.
QTimeZoneNon-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
The QVector2D class represents a vector or vertex in 2D space.
QVector3D
The QVector3D class represents a vector or vertex in 3D space.
QVector4D
The 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.).

Enums§

QByteArrayFromBase64Error

Traits§

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.

Functions§

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.

Type Aliases§

KeyboardModifiers
QFlags of KeyboardModifier.
MouseButtons
QFlags of MouseButton.
Orientations
QFlags of Orientation.
QByteArrayBase64Options
QFlags of QByteArrayBase64Option.
QMatrix2x2
QMatrix2x3
QMatrix2x4
QMatrix3x2
QMatrix3x3
QMatrix3x4
QMatrix4x2
QMatrix4x3