Qt 6.11 中的新类和函数
本页包含 Qt 6.11 中引入的所有新类和函数的综合列表。
新命名空间
(since 6.11) namespace | QtTaskTree |
新类
- A
- Axes (QQuaternion)
- Axis (QQuaternion)
- B
- QBarrier (QtTaskTree)
- C
- ConstIterator: QtCore (QMetaAssociation::Iterable)
- ConstIterator: QtCore (QMetaSequence::Iterable)
- ConstPointer (QVariant)
- ConstReference (QVariant)
- QCanvasBoxGradient
- QCanvasBoxShadow
- QCanvasBrush
- QCanvasConicalGradient
- QCanvasCustomBrush
- QCanvasGradient
- QCanvasGradientStop
- QCanvasGridPattern
- QCanvasImage
- QCanvasImagePattern
- QCanvasLinearGradient
- QCanvasOffscreenCanvas
- QCanvasPainter
- QCanvasPainterFactory
- QCanvasPainterItem
- QCanvasPainterItemRenderer
- QCanvasPainterWidget
- QCanvasPath
- QCanvasRadialGradient
- QCanvasRhiPaintDriver
- QCocoaScreen (QNativeInterface)
- QCustomSeries
- QCustomTask (QtTaskTree)
- E
- Else (QtTaskTree)
- ElseIf (QtTaskTree)
- EulerAngles (QQuaternion)
- ExecutableItem (QtTaskTree)
- ExecutionMode (QtTaskTree)
- F
- FinalizeResultChar (QStringConverter)
- For (QtTaskTree)
- Forever (QtTaskTree)
- ForeverIterator (QtTaskTree)
- G
- Group (QtTaskTree)
- GroupItem (QtTaskTree)
- I
- If (QtTaskTree)
- ItemAccess (QRangeModel)
- Iterable: QtCore (QMetaSequence)
- Iterable: QtCore (QMetaAssociation)
- Iterator: QtTaskTree (QtTaskTree)
- Iterator: QtCore (QMetaAssociation::Iterable)
- Iterator: QtCore (QMetaSequence::Iterable)
- P
- ParallelLimit (QtTaskTree)
- Pointer (QVariant)
- QParallelTaskTreeRunner (QtTaskTree)
- QProcessTaskDeleter (QtTaskTree)
- S
- QSequentialTaskTreeRunner (QtTaskTree)
- QSingleTaskTreeRunner (QtTaskTree)
- QSSGRenderTextureProviderExtension
- QStartedBarrier (QtTaskTree)
- QStyleOptionMenuItemV2
- QSyncTask (QtTaskTree)
- Storage (QtTaskTree)
新成员函数
类QAudioSink :
(since 6.11) void | start(Callback &&cb) |
类QAudioSource :
(since 6.11) void | start(Callback &&cb) |
(since 6.11) void | clear() |
类QByteArray :
(since 6.11) QByteArray | fromPercentEncoding(QByteArray &&input, char percent = '%') |
(since 6.11) QByteArray | percentDecoded(char percent = '%') && |
类QDate :
(since 6.11) QDate & | operator++(QDate &date) |
(since 6.11) QDate | operator++(QDate &date, int) |
(since 6.11) QDate & | operator--(QDate &date) |
(since 6.11) QDate | operator--(QDate &date, int) |
班级QGrpcCallOptions :
(since 6.11) std::optional<bool> | filterServerMetadata() const |
(since 6.11) bool | operator!=(const QGrpcCallOptions &lhs, const QGrpcCallOptions &rhs) |
(since 6.11) bool | operator==(const QGrpcCallOptions &lhs, const QGrpcCallOptions &rhs) |
(since 6.11) QGrpcCallOptions & | setFilterServerMetadata(bool value) |
(since 6.11) std::optional<bool> | filterServerMetadata() const |
(since 6.11) bool | operator!=(const QGrpcChannelOptions &lhs, const QGrpcChannelOptions &rhs) |
(since 6.11) bool | operator==(const QGrpcChannelOptions &lhs, const QGrpcChannelOptions &rhs) |
(since 6.11) QGrpcChannelOptions & | setFilterServerMetadata(bool value) |
班级QGrpcOperation :
(since 6.11) void | serverInitialMetadataReceived(const QMultiHash<QByteArray, QByteArray> &metadata) |
(since 6.11) QtGrpc::RpcDescriptor | descriptor() const |
(since 6.11) quint64 | operationId() const |
(since 6.11) void | serverInitialMetadataReceived(const QMultiHash<QByteArray, QByteArray> &metadata) |
班级QHash :
(since 6.11) QHash<Key, T>::iterator | insert(Key &&key, T &&value) |
(since 6.11) QHash<Key, T>::iterator | insert(Key &&key, const T &value) |
(since 6.11) QHash<Key, T>::iterator | insert(const Key &key, T &&value) |
(since 6.11) qint64 | maximumBodySize() const |
(since 6.11) qint64 | maximumHeaderFieldCount() const |
(since 6.11) qint64 | maximumHeaderFieldSize() const |
(since 6.11) qint64 | maximumTotalHeaderSize() const |
(since 6.11) qint64 | maximumUrlSize() const |
(since 6.11) void | setMaximumBodySize(qint64 maxSize) |
(since 6.11) void | setMaximumHeaderFieldCount(qint64 maxSize) |
(since 6.11) void | setMaximumHeaderFieldSize(qint64 maxSize) |
(since 6.11) void | setMaximumTotalHeaderSize(qint64 maxSize) |
(since 6.11) void | setMaximumUrlSize(qint64 maxSize) |
(since 6.11) bool | isResponseCanceled() const |
班级QMetaProperty :
(since 6.11) bool | isOverride() const |
(since 6.11) bool | isVirtual() const |
班级QMultiHash :
(since 6.11) QMultiHash<Key, T>::iterator | insert(Key &&key, T &&value) |
(since 6.11) QMultiHash<Key, T>::iterator | insert(Key &&key, const T &value) |
(since 6.11) QMultiHash<Key, T>::iterator | insert(const Key &key, T &&value) |
班级QNetworkRequest :
(since 6.11) void | setTcpKeepAliveIdleTimeBeforeProbes(std::chrono::seconds idle) |
(since 6.11) void | setTcpKeepAliveIntervalBetweenProbes(std::chrono::seconds interval) |
(since 6.11) void | setTcpKeepAliveProbeCount(int probes) |
(since 6.11) std::chrono::seconds | tcpKeepAliveIdleTimeBeforeProbes() const |
(since 6.11) std::chrono::seconds | tcpKeepAliveIntervalBetweenProbes() const |
(since 6.11) int | tcpKeepAliveProbeCount() const |
班级QObject :
(since 6.11) bool | isQmlExposed() const |
班级QPainter :
(since 6.11) QPointF | brushOriginF() const |
(since 6.11) void | setBrush(QBrush &&brush) |
(since 6.11) void | setPen(QPen &&pen) |
班级QProtobufMessage :
(since 6.11) To | qprotobufmessage_cast(QProtobufMessage *from) |
(since 6.11) To | qprotobufmessage_cast(const QProtobufMessage *from) |
班级QQmlContext :
(since 6.11) QList<QQmlContext *> | childContexts() const |
(since 6.11) QObject * | findObjectRecursively(const QString &id) const |
(since 6.11) QList<QObject *> | findObjectsRecursively(const QString &id) const |
班级QQuaternion :
(since 6.11) QQuaternion::EulerAngles<float> | eulerAngles() const |
(since 6.11) QQuaternion | fromAxes(QQuaternion::Axes axes) |
(since 6.11) QQuaternion | fromEulerAngles(QQuaternion::EulerAngles<float> angles) |
(since 6.11) QQuaternion::Axes | toAxes() const |
班级Axis :
(since 6.11) bool | qFuzzyIsNull(QQuaternion::Axis axis) |
班级QQuickWindow :
(since 6.11) void | devicePixelRatioChanged() |
班级QRawFont :
(since 6.11) quint32 | glyphCount() const |
(since 6.11) QString | glyphName(quint32 glyphIndex) const |
(since 6.11) bool | hasDepthClamp() const |
(since 6.11) void | setDepthClamp(bool enable) |
班级QSaveFile :
(since 6.11) std::filesystem::path | filesystemFileName() const |
(since 6.11) void | setFileName(const std::filesystem::path &name) |
班级QScopeGuard :
(since 6.11) void | commit() |
班级QStack :
(since 6.11) void | push(T &&t) |
班级QStringDecoder :
(since 6.11) QStringDecoder::FinalizeResult | finalize() |
(since 6.11) QStringDecoder::FinalizeResultQChar | finalize(QChar *out, qsizetype maxlen) |
(since 6.11) QStringDecoder::FinalizeResult | finalize(char16_t *out, qsizetype maxlen) |
班级QStringEncoder :
(since 6.11) QStringEncoder::FinalizeResult | finalize() |
(since 6.11) QStringEncoder::FinalizeResult | finalize(char *out, qsizetype maxlen) |
班级QSvgGenerator :
(since 6.11) virtual void | initPainter(QPainter *painter) const override |
班级QTemporaryFile :
(since 6.11) bool | renameOverwrite(const QString &newName) |
(since 6.11) bool | renameOverwrite(const std::filesystem::path &newName) |
(since 6.11) QTextBoundaryFinder & | operator=(QTextBoundaryFinder &&other) |
(since 6.11) void | swap(QTextBoundaryFinder &other) |
班级QTextCharFormat :
(since 6.11) QMap<QFont::Tag, quint32> | fontFeatures() const |
(since 6.11) QMap<QFont::Tag, float> | fontVariableAxes() const |
(since 6.11) void | setFontFeatures(const QMap<QFont::Tag, quint32> &fontFeatures) |
(since 6.11) void | setFontVariableAxes(const QMap<QFont::Tag, float> &fontVariableAxes) |
班级QWebSocketServer :
(since 6.11) void | sslErrorsOccurred(QSslSocket *socket, const QList<QSslError> &errors) |
类qfloat16 :
命名空间中的新函数
(since 6.11) const char * | currentGlobalDataTag() |
新宏
(since 6.11) | QT_NO_SINGLE_ARGUMENT_QHASH_OVERLOAD |
(since 6.11) void | Q_PRESUME(bool expr) |
新枚举类型
(since 6.11) 枚举类 | LabelPosition{ Center, OnValue } |
(since 6.11) 枚举类 | LineStyle{ 直线, 左移, 右移, 居中 } |
(since 6.11) 枚举类 | StrokeStyle{实线、虚线 } |
(since 6.11) 枚举类 | AutoConnectPolicy{无、满、读取时 } |
(since 6.11) 枚举类 | RpcType{UnaryCall, ServerStreaming, ClientStreaming, BidiStreaming } |
新枚举值
| enum value | Attribute::Orientation |
| enum value | Event::RoleChanged |
| enum value | Language::Ladin |
| enum value | Language::Shan |
| enum value | PersistentCookiesPolicy::OnlyPersistentCookies |
| enum value | PersistentCookiesPolicy::OnlyPersistentCookies |
| enum value | Role::Switch |
| enum value | ScopeType::BindingFunctionScope |
| enum value | ScopeType::SignalHandlerFunctionScope |
| enum value | Script::Script_BeriaErfe |
| enum value | Script::Script_Sidetic |
| enum value | Script::Script_TaiYo |
| enum value | Script::Script_TolongSiki |
| enum value | UnicodeVersion::Unicode_17_0 |
| enum value | WebAttribute::TrimAccessibilityIdentifiers |
新属性
|
|
新变量
(since 6.11) const QOperatingSystemVersionBase | Windows11_25H2 |
(since 6.11) std::atomic<std::chrono::milliseconds> | defaultTryTimeout |
新 QML 类型
- I
- ItemSpy
新 QML 属性
QML 类型AreaSeries :
(since 6.11) | gradient : ShapeGradient |
(since 6.11) | selectedGradient : ShapeGradient |
QML 类型AudioEngine :
(since 6.11) | distanceScale : real |
QML 类型BarCategoryAxis :
(since 6.11) | labelPosition : enumeration |
QML 类型Custom3DItem :
(since 6.11) | rotationAbsolute : bool |
QML 类型DateTimeAxis :
(since 6.11) | pan : real |
(since 6.11) | timeZone : QTimeZone |
(since 6.11) | visualMax : real |
(since 6.11) | visualMin : real |
(since 6.11) | zoom : real |
QML 类型DialogButtonBox :
(since 6.11) | defaultButton : AbstractButton |
(since 6.11) | defaultStandardButton : enumeration |
QML 类型ExtendedSceneEnvironment :
(since 6.11) | ssgiBufferSizeFactor : real |
(since 6.11) | ssgiEnabled : bool |
(since 6.11) | ssgiHitThickness : real |
(since 6.11) | ssgiIndirectLightBoost : real |
(since 6.11) | ssgiIndirectLightEnabled : bool |
(since 6.11) | ssgiSampleCount : int |
(since 6.11) | ssgiSampleRadius : real |
(since 6.11) | ssgiSimulatedBounceEnabled : bool |
(since 6.11) | ssgiSimulatedBounceFactor : real |
(since 6.11) | ssgiSliceCount : int |
(since 6.11) | ssrEnabled : bool |
QML 类型GraphsItem3D :
(since 6.11) | cutoffMargin : real |
QML 类型KeyboardStyle :
(since 6.11) | keyboardDesignMaximumHeight : real |
QML 类型LineSeries :
(since 6.11) | dashOffset : real |
(since 6.11) | dashPattern : list<real> |
(since 6.11) | joinStyle : Qt::PenJoinStyle |
(since 6.11) | lineStyle : QLineSeries::LineStyle |
(since 6.11) | strokeStyle : enumeration |
QML 类型Model :
(since 6.11) | motionVectorEnabled : bool |
(since 6.11) | motionVectorScale : real |
QML 类型RectangularShadow :
(since 6.11) | bottomLeftRadius : real |
(since 6.11) | bottomRightRadius : real |
(since 6.11) | topLeftRadius : real |
(since 6.11) | topRightRadius : real |
QML 类型Rotation :
(since 6.11) | distanceToPlane : real |
QML 类型SceneEnvironment :
(since 6.11) | oitMethod : enumeration |
(since 6.11) | temporalAAMode : enumeration |
QML 类型ShapePath :
(since 6.11) | cosmeticStroke : bool |
QML 类型SplineSeries :
(since 6.11) | optimized : bool |
QML 类型TextSelection :
(since 6.11) | document : TextDocument |
(since 6.11) | selectionEnd : int |
(since 6.11) | selectionStart : int |
QML 类型ValueAxis :
QML 类型VectorImage :
(since 6.11) | asynchronousShapes : bool |
QML 类型VirtualKeyboardSettings :
(since 6.11) | arrowKeyNavigationEnabled : bool |
QML 类型sslConfiguration :
(since 6.11) | sslOptionFlags : QSsl::SslOptions |
QML 类型sslDtlsConfiguration :
(since 6.11) | sslOptionFlags : QSsl::SslOptions |
新 QML 信号
(since 6.11) | dashOffsetChanged(qreal newDashOffset) |
(since 6.11) | dashPatternChanged(QList<qreal> newDashPattern) |
(since 6.11) | gradientChanged() |
(since 6.11) | joinStyleChanged(Qt::PenJoinStyle newJoinStyle) |
(since 6.11) | lineStyleChanged(QLineSeries::LineStyle newLineStyle) |
(since 6.11) | optimizedChanged() |
(since 6.11) | selectedGradientChanged() |
(since 6.11) | strokeStyleChanged(QLineSeries::StrokeStyle newStrokeStyle) |
(since 6.11) | timeZoneChanged() |
(since 6.11) | zoomChanged() |
新 QML 方法
QML 类型DateTimeAxis :
(since 6.11) string | timeZoneAsString() |
(since 6.11) QTimeZone | timeZoneFromString(string zoneId) |
QML 类型Flickable :
(since 6.11) void | flickTo(point position) |
(since 6.11) void | flickToChild(QQuickItem *child, PositionMode mode, point offset) |
(since 6.11) void | positionViewAtChild(QQuickItem *child, PositionMode mode, point offset) |
QML 类型Qt :
(since 6.11) ArrayBuffer | atob(ArrayBuffer data) |
(since 6.11) var | atob(var data) |
(since 6.11) ArrayBuffer | btoa(ArrayBuffer data) |
(since 6.11) var | btoa(var data) |
QML 类型TextSelection :
(since 6.11) void | duplicate() |
(since 6.11) void | linkTo(url destination) |
(since 6.11) void | moveSelectionEnd(MoveOperation op, int n) |
(since 6.11) bool | moveSelectionStart(MoveOperation op, int n) |
QML 类型View3D :
(since 6.11) pickResult | closestPointPick(vector3d origin, float radius, Model model) |
(since 6.11) list<Object3D> | pickInRect(point start, point end) |
(since 6.11) pickResult | rayPick(vector3d origin, vector3d direction, Model model) |
QML 类型XrView :
(since 6.11) pickResult | closestPointPick(vector3d origin, float radius, Model model) |
(since 6.11) pickResult | rayPick(vector3d origin, vector3d direction, Model model) |
© 2026 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.