New Classes and Functions in Qt 6.2
This page contains a comprehensive list of all new classes and functions introduced in Qt 6.2.
New Namespaces
New Classes
New Member Functions
Class QAbstractAxis:
Class QAbstractProxyModel:
Class QAbstractSocket:
bool |
bind(QHostAddress::SpecialAddress addr, quint16 port, QAbstractSocket::BindMode mode) |
Class QBarSet:
Class QBluetoothDeviceDiscoveryAgent:
Class QBluetoothDeviceInfo:
Class QBluetoothLocalDevice:
Class QBluetoothServer:
Class QBluetoothServiceDiscoveryAgent:
Class QBluetoothSocket:
Class QByteArray:
Class QByteArrayView:
int |
compare(QByteArrayView bv, Qt::CaseSensitivity cs) const |
qsizetype |
lastIndexOf(QByteArrayView bv) const |
Class QCanBusDevice:
Class QCanBusDeviceInfo:
Class QColorSpace:
Class QFileInfo:
Class QFlags:
Class QGeoAddress:
Class QGeoAreaMonitorInfo:
QGeoAreaMonitorInfo & |
operator=(QGeoAreaMonitorInfo &&other) |
Class QGeoAreaMonitorSource:
Class QGeoCoordinate:
QGeoCoordinate & |
operator=(QGeoCoordinate &&other) |
Class QGeoLocation:
Class QGeoPositionInfo:
QGeoPositionInfo & |
operator=(QGeoPositionInfo &&other) |
Class QGeoSatelliteInfo:
QGeoSatelliteInfo & |
operator=(QGeoSatelliteInfo &&other) |
Class QGeoSatelliteInfoSource:
Class QGraphicsSceneEvent:
Class QGraphicsSceneWheelEvent:
Class QImage:
Class QJSEngine:
Class QJniEnvironment:
jfieldID |
findField(jclass clazz, const char *fieldName, const char *signature) |
jmethodID |
findMethod(jclass clazz, const char *methodName, const char *signature) |
jfieldID |
findStaticField(jclass clazz, const char *fieldName, const char *signature) |
jmethodID |
findStaticMethod(jclass clazz, const char *methodName, const char *signature) |
bool |
isValid() const |
Class QJniObject:
Class QLatin1StringView:
qsizetype |
lastIndexOf(QStringView str, Qt::CaseSensitivity cs) const |
qsizetype |
lastIndexOf(QLatin1StringView l1, Qt::CaseSensitivity cs) const |
Class QLegend:
Class QLocale:
Class QLockFile:
Class QLowEnergyCharacteristic:
Class QLowEnergyController:
QLowEnergyController * |
createPeripheral(const QBluetoothAddress &localDevice, QObject *parent) |
void |
errorOccurred(QLowEnergyController::Error newError) |
int |
mtu() const |
Class QLowEnergyService:
Class QMetaMethod:
Class QMetaObject:
Class QModbusRtuSerialServer:
Class QNativeGestureEvent:
Class QAndroidApplication:
Class QNdefFilter:
bool |
match(const QNdefMessage &message) const |
Class QNdefMessage:
QNdefMessage & |
operator=(const QNdefMessage &other) |
QNdefMessage & |
operator=(QNdefMessage &&other) |
Class QNdefRecord:
Class QNearFieldManager:
Class QNetworkAddressEntry:
QDebug |
operator<<(QDebug debug, const QNetworkAddressEntry &entry) |
Class QNetworkRequest:
Class QPixmap:
Class QQmlContext:
Class QQmlListReference:
Class QQuickItemGrabResult:
Class QQuickRenderTarget:
Class QSqlQuery:
QSqlQuery & |
operator=(QSqlQuery &&other) |
void |
swap(QSqlQuery &other) |
Class QSqlQueryModel:
Class QString:
qsizetype |
lastIndexOf(QLatin1StringView str, Qt::CaseSensitivity cs) const |
qsizetype |
lastIndexOf(const QString &str, Qt::CaseSensitivity cs) const |
qsizetype |
lastIndexOf(QStringView str, Qt::CaseSensitivity cs) const |
qsizetype |
lastIndexOf(const QRegularExpression &re, QRegularExpressionMatch *rmatch) const |
Class QStringView:
qsizetype |
lastIndexOf(QStringView str, Qt::CaseSensitivity cs) const |
qsizetype |
lastIndexOf(QLatin1StringView l1, Qt::CaseSensitivity cs) const |
qsizetype |
lastIndexOf(const QRegularExpression &re, QRegularExpressionMatch *rmatch) const |
Class QTimeZone:
Class QUntypedBindable:
Class QWebEnginePage:
Class QWebEngineProfile:
void |
requestIconForIconURL(const QUrl &url, int desiredSizeInPixel, std::function<void (const QIcon
&, const QUrl &)> iconAvailableCallback) const |
void |
requestIconForPageURL(const QUrl &url, int desiredSizeInPixel, std::function<void (const QIcon
&, const QUrl &, const QUrl &)> iconAvailableCallback) const |
Class QWebEngineView:
Class QWebSocket:
Class QWebSocketServer:
Class QXYSeries:
QPair<qreal, qreal> |
bestFitLineEquation(bool &ok) const |
void |
clearPointConfiguration(const int index) |
void |
clearPointConfiguration(const int index, const QXYSeries::PointConfiguration key) |
void |
clearPointsConfiguration() |
void |
clearPointsConfiguration(const QXYSeries::PointConfiguration key) |
void |
colorBy(const QList<qreal> &sourceData, const QLinearGradient &gradient) |
void |
deselectAllPoints() |
void |
deselectPoint(int index) |
void |
deselectPoints(const QList<int> &indexes) |
bool |
isPointSelected(int index) |
const QImage & |
lightMarker() const |
void |
lightMarkerChanged(const QImage &lightMarker) |
qreal |
markerSize() const |
QHash<QXYSeries::PointConfiguration, QVariant> |
pointConfiguration(const int index) const |
QHash<int, QHash<QXYSeries::PointConfiguration, QVariant>> |
pointsConfiguration() const |
void |
selectAllPoints() |
void |
selectPoint(int index) |
void |
selectPoints(const QList<int> &indexes) |
const QImage & |
selectedLightMarker() const |
QList<int> |
selectedPoints() const |
void |
setLightMarker(const QImage &lightMarker) |
void |
setMarkerSize(qreal size) |
void |
setPointConfiguration(const int index, const QHash<QXYSeries::PointConfiguration, QVariant>
&configuration) |
void |
setPointConfiguration(const int index, const QXYSeries::PointConfiguration key, const QVariant
&value) |
void |
setPointSelected(int index, bool selected) |
void |
setPointsConfiguration(const QHash<int, QHash<QXYSeries::PointConfiguration, QVariant>>
&pointsConfiguration) |
void |
setSelectedLightMarker(const QImage &selectedLightMarker) |
void |
sizeBy(const QList<qreal> &sourceData, const qreal minSize, const qreal maxSize) |
void |
toggleSelection(const QList<int> &indexes) |
New Functions in Namespaces
void |
beginPropertyUpdateGroup() |
bool |
bindService(const QAndroidIntent &serviceIntent, const QAndroidServiceConnection &serviceConnection,
QtAndroidPrivate::BindFlags flags) |
(preliminary) QFuture<QtAndroidPrivate::PermissionResult> |
checkPermission(const QString &permission) |
(preliminary) QFuture<QtAndroidPrivate::PermissionResult> |
checkPermission(QtAndroidPrivate::PermissionType permission) |
void |
endPropertyUpdateGroup() |
(preliminary) QFuture<QtAndroidPrivate::PermissionResult> |
requestPermission(const QString &permission) |
(preliminary) QFuture<QtAndroidPrivate::PermissionResult> |
requestPermission(QtAndroidPrivate::PermissionType permission) |
void |
startActivity(const QJniObject &intent, int receiverRequestCode, std::function<void (int, int, const
QJniObject &)> callbackFunc) |
void |
startActivity(const QAndroidIntent &intent, int receiverRequestCode, QAndroidActivityResultReceiver
*resultReceiver) |
void |
startActivity(const QJniObject &intent, int receiverRequestCode, QAndroidActivityResultReceiver
*resultReceiver) |
void |
startIntentSender(const QJniObject &intentSender, int receiverRequestCode, QAndroidActivityResultReceiver
*resultReceiver) |
New Global Functions
New Macros
New Enum Types
enum |
RubberBand { NoRubberBand, VerticalRubberBand, HorizontalRubberBand, RectangleRubberBand, ClickThroughRubberBand } |
enum |
SocketOption { NoOptions, AbstractNamespaceOption } |
enum |
DiscoveryMode { FullDiscovery, SkipValueDiscovery } |
enum |
EditFlag { CanUndo, CanRedo, CanCut, CanCopy, CanPaste, …, CanEditRichly } |
enum |
MediaFlag { MediaInError, MediaPaused, MediaMuted, MediaLoop, MediaCanSave, …, MediaCanRotate } |
enum |
MediaType { MediaTypeNone, MediaTypeImage, MediaTypeVideo, MediaTypeAudio, MediaTypeCanvas, …, MediaTypePlugin
} |
enum class |
BindFlag { None, AutoCreate, DebugUnbind, NotForeground, AboveClient, …, ExternalService } |
New Properties
New Variables
New QML Types
New QML Properties
QML Type ColorGroup:
QML Type Image:
QML Type SystemPalette:
QML Type TableView:
QML Type Texture:
New QML Methods
QML Type Locale:
QML Type TableView:
QML Type View3D:
List<PickResult> |
pickAll(float x, float y) |
PickResult |
rayPick(vector3d origin, vector3d direction) |
List<PickResult> |
rayPickAll(vector3d origin, vector3d direction) |