Qt 6.0 中的新类和函数
本节提供了 Qt 6.0 中所有新引入的类和函数的完整列表。
新命名空间
(自 6.0) 命名空间 | QNativeInterface |
(自 6.0) 命名空间 | QQuickOpenGLUtils |
新类
- A
- QAbstractFileIconProvider
- QAction
- QActionGroup
- QAdoptSharedDataTag
- QAndroidOffscreenSurface (QNativeInterface)
- QAnyStringView
- QAxBaseObject
- QAxBaseWidget
- QAxObjectInterface
- P
- QPageRanges
- QPartialOrdering
- QPickingProxy (Qt3DRender)
- QPointerEvent
- QPointingDevice
- QPromise
- QProperty
- QPropertyBindingError
- QPropertyData
新成员函数
(自6.0) virtual bool | clearItemData(const QModelIndex &index) |
(自6.0) virtual void | multiData(const QModelIndex &index, QModelRoleDataSpan roleDataSpan) const |
(自6.0) virtual void | initViewItemOption(QStyleOptionViewItem *option) const |
(自6.0) virtual QAbstractItemDelegate * | itemDelegateForIndex(const QModelIndex &index) const |
(自6.0) virtual bool | clearItemData(const QModelIndex &index) override |
类 QAction
(自6.0) QList<QObject *> | associatedObjects() const |
(自6.0) quint32 | toUInt32(QSysInfo::Endian endianness, bool *ok) const |
类 QBitmap
(自6.0) QBitmap | fromPixmap(const QPixmap &pixmap) |
(自6.0) QList<QBluetoothUuid> | serviceUuids() const |
(自6.0) int | compare(QByteArrayView bv, Qt::CaseSensitivity cs) const |
(自6.0) bool | contains(QByteArrayView bv) const |
(自6.0) qsizetype | count(QByteArrayView bv) const |
(自6.0) bool | endsWith(QByteArrayView bv) const |
(自6.0) QByteArray | first(qsizetype n) const & |
(自6.0) QByteArray | first(qsizetype n) && |
(自6.0) qsizetype | indexOf(QByteArrayView bv, qsizetype from) const |
(自6.0) QByteArray & | insert(qsizetype i, QByteArrayView data) |
(自6.0) QByteArray | last(qsizetype n) const & |
(自6.0) QByteArray | last(qsizetype n) && |
(自6.0) qsizetype | lastIndexOf(QByteArrayView bv, qsizetype from) const |
(自6.0) void | push_back(QByteArrayView str) |
(自6.0) void | push_front(QByteArrayView str) |
(自6.0) QByteArray & | replace(QByteArrayView before, QByteArrayView after) |
(自6.0) QByteArray | sliced(qsizetype pos, qsizetype n) const & |
(自6.0) QByteArray | sliced(qsizetype pos) const & |
(自6.0) QByteArray | sliced(qsizetype pos) && |
(自6.0) QByteArray | sliced(qsizetype pos, qsizetype n) && |
(自6.0) bool | startsWith(QByteArrayView bv) const |
(自6.0) QString | alias() const |
类 QChar
(since 6.0) QDataStream & | operator<<(char16_t c) |
(since 6.0) QDataStream & | operator<<(char32_t c) |
(since 6.0) QDataStream & | operator>>(char16_t &c) |
(since 6.0) QDataStream & | operator>>(char32_t &c) |
类 QDate
(since 6.0) QDate | fromString(QStringView string, Qt::DateFormat format) |
(since 6.0) QDate | fromString(QStringView string, QStringView format, QCalendar cal) |
(since 6.0) QDate | fromString(const QString &string, QStringView format, QCalendar cal) |
(since 6.0) QDate | fromString(const QString &string, QStringView format, int baseYear, QCalendar cal) |
(since 6.0) QDateTime | fromString(QStringView string, Qt::DateFormat format) |
(since 6.0) QDateTime | fromString(QStringView string, QStringView format, QCalendar cal) |
(since 6.0) QDateTime | fromString(const QString &string, QStringView format, QCalendar cal) |
(since 6.0) QDateTime | fromString(const QString &string, QStringView format, int baseYear, QCalendar cal) |
类 QDebug
(since 6.0) QDebug & | operator<<(const char16_t *t) |
(since 6.0) QDebug & | operator<<(QUtf8StringView s) |
(since 6.0) QDebug & | operator<<(QByteArrayView t) |
(自6.0) QString | toString(T &&object) |
类 QDir
(自6.0) void | addSearchPath(const QString &prefix, const std::filesystem::path &path) |
(since 6.0) std::filesystem::path | filesystemAbsolutePath() const |
(since 6.0) std::filesystem::path | filesystemCanonicalPath() const |
(since 6.0) std::filesystem::path | filesystemPath() const |
(自6.0) void | setPath(const std::filesystem::path &path) |
(since 6.0) Qt::MouseButtons | buttons() const |
(since 6.0) Qt::KeyboardModifiers | modifiers() const |
(since 6.0) QPointF | position() const |
类 QEvent
(since 6.0) virtual QEvent * | clone() const |
(自6.0) bool | isInputEvent() const |
(自6.0) bool | isPointerEvent() const |
(自6.0) bool | isSinglePointEvent() const |
类 QExplicitlySharedDataPointer
类 QFile
(自6.0) bool | copy(const std::filesystem::path &newName) |
(since 6.0) std::filesystem::path | filesystemFileName() const |
(自6.0) bool | link(const std::filesystem::path &newName) |
(since 6.0) QFileDevice::Permissions | permissions(const std::filesystem::path &filename) |
(自6.0) bool | rename(const std::filesystem::path &newName) |
(自6.0) void | setFileName(const std::filesystem::path &name) |
(自6.0) bool | setPermissions(const std::filesystem::path &filename, QFileDevice::Permissions permissionSpec) |
(since 6.0) std::filesystem::path | filesystemAbsoluteFilePath() const |
(since 6.0) std::filesystem::path | filesystemAbsolutePath() const |
(since 6.0) std::filesystem::path | filesystemCanonicalFilePath() const |
(since 6.0) std::filesystem::path | filesystemCanonicalPath() const |
(since 6.0) std::filesystem::path | filesystemFilePath() const |
(since 6.0) std::filesystem::path | filesystemPath() const |
(since 6.0) std::filesystem::path | filesystemSymLinkTarget() const |
(自6.0) void | setFile(const std::filesystem::path &path) |
(自6.0) void | stat() |
类 QFuture
(自6.0) bool | isSuspended() const |
(自6.0) bool | isSuspending() const |
(自6.0) bool | isValid() const |
(since 6.0) QFuture | onCanceled(Function &&handler) |
(since 6.0) QFuture | onFailed(Function &&handler) |
(自6.0) void | setSuspended(bool suspend) |
(自6.0) void | Suspend() |
(since 6.0) T | takeResult() |
(since 6.0) QFuture | then(Function &&function) |
(since 6.0) QFuture | then(QtFuture::Launch policy, Function &&function) |
(since 6.0) QFuture | then(QThreadPool *pool, Function &&function) |
(自6.0) void | toggleSuspended() |
(自6.0) bool | isSuspended() const |
(自6.0) bool | isSuspending() const |
(自6.0) void | setSuspended(bool suspend) |
(自6.0) void | Suspend() |
(自6.0) void | Suspended() |
(自6.0) void | Suspending() |
(自6.0) void | toggleSuspended() |
(自6.0) virtual bool | isEmpty() const |
类 QHash
(since 6.0) size_t | qHashMulti(size_t seed, const T &... args) |
(since 6.0) size_t | qHashMultiCommutative(size_t seed, const T &... args) |
(自6.0) virtual void | initStyleOptionForIndex(QStyleOptionHeader *option, int logicalIndex) const |
(since 6.0) virtual qint64 | skipData(qint64 maxSize) |
类 QIcon
(since 6.0) QPixmap | pixmap(const QSize &size, qreal devicePixelRatio, QIcon::Mode mode, QIcon::State state) const |
类 QImage
(since 6.0) QImage | convertedTo(QImage::Format format, Qt::ImageConversionFlags flags) const & |
(since 6.0) QImage | convertedTo(QImage::Format format, Qt::ImageConversionFlags flags) && |
(since 6.0) QImage | fromHBITMAP(HBITMAP hbitmap) |
(since 6.0) QImage | fromHICON(HICON icon) |
(自6.0) void | mirror(bool horizontal, bool vertical) |
(自6.0) void | rgbSwap() |
(自 6.0) HBITMAP | toHBITMAP() const |
(自 6.0) HICON | toHICON(const QImage &mask) const |
(自6.0) bool | allocateImage(QSize size, QImage::Format format, QImage *image) |
(自6.0) int | 分配限制() |
(自6.0) void | setAllocationLimit(int mbLimit) |
(自 6.0) const QInputDevice * | device() const |
(自 6.0) qint64 | toInteger(qint64 defaultValue) const |
(自 6.0) QKeyCombination | keyCombination() const |
类 QLabel
(自 6.0) QPicture | picture() const |
(自 6.0) QLatin1StringView | first(qsizetype n) const |
(自 6.0) QLatin1StringView | last(qsizetype n) const |
(自 6.0) QLatin1StringView | sliced(qsizetype pos) const |
(自 6.0) QLatin1StringView | sliced(qsizetype pos, qsizetype n) const |
(自6.0) QString | toString() const |
(自 6.0) decltype(qTokenize(*this, std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const |
(自6.0) QString | path(QLibraryInfo::LibraryPath p) |
类 QList
(自6.0) void | append(QList<T> &&value) |
(自 6.0) QList<T> | first(qsizetype n) const |
(自 6.0) QList<T> | last(qsizetype n) const |
(自 6.0) QList<T> & | operator+=(QList<T> &&other) |
(自 6.0) QList<T> & | operator<<(QList<T> &&other) |
(自6.0) void | resize(qsizetype size) |
(自6.0) void | resize(qsizetype size, QList<T>::parameter_type c) |
(自 6.0) QList<T> | sliced(qsizetype pos, qsizetype n) const |
(自 6.0) QList<T> | sliced(qsizetype pos) const |
类 QLocale
(自6.0) QString | quoteString(QStringView str, QLocale::QuotationStyle style) const |
类 QMap
(自 6.0) QMap<;Key,T>::iterator | erase(QMap<Key, T>::const_iterator first, QMap<Key, T>::const_iterator last) |
(自 6.0) std::map<Key, T> | toStdMap() && |
类 QMargins
(自 6.0) QMargins | operator|(const QMargins &m1, const QMargins &m2) |
(自 6.0) QMarginsF | operator|(const QMarginsF &m1, const QMarginsF &m2) |
(自 6.0 开始) QMetaType | parameterMetaType(int index) const |
(自6.0) QByteArray | parameterTypeName(int index) const |
(自6.0) int | relativeMethodIndex() const |
(自 6.0 开始) QMetaType | returnMetaType() const |
(自 6.0 开始) QUntypedBindable | bindable(QObject *object) const |
(自6.0) bool | isBindable() const |
(自 6.0 开始) QMetaType | metaType() const |
(自6.0) int | typeId() const |
(自 6.0 开始) QMetaSequence | fromContainer() |
(自6.0) qsizetype | alignOf() const |
(自 6.0 开始) QPartialOrdering | compare(const void *lhs, const void *rhs) const |
(自6.0) bool | equals(const void *lhs, const void *rhs) const |
(自6.0) bool | hasRegisteredDebugStreamOperator() const |
(自6.0) bool | hasRegisteredMutableViewFunction() |
(自6.0) bool | registerMutableView(To (From::*)() function) |
(自6.0) bool | registerMutableView(UnaryFunction function) |
(自6.0) bool | view(QMetaType fromType, void *from, QMetaType toType, void *to) |
(自 6.0 开始) QList<QModbusDevice::IntermediateError> | intermediateErrors() const |
(自6.0) void | multiData(QModelRoleDataSpan roleDataSpan) const |
(自 6.0 开始) QMultiHash<Key, T> & | unite(const QHash<Key, T> &other) |
(自 6.0 开始) QMultiMap<Key, T>::iterator | erase(QMultiMap<Key, T>::const_iterator first, QMultiMap<Key, T>::const_iterator last) |
(自 6.0 开始) QSGTexture * | fromNative(void *texture, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options) |
(自 6.0 开始) QSGTexture * | fromNative(int texture, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options) |
(自 6.0 开始) QSGTexture * | fromNative(GLuint textureId, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options) |
(自 6.0 开始) QSGTexture * | fromNative(VkImage image, VkImageLayout layout, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options) |
(自 6.0 开始) QPageRanges | pageRanges() const |
(自6.0) virtual void | setPageRanges(const QPageRanges &ranges) |
(自6.0) void | multiData(QModelRoleDataSpan roleDataSpan) const |
类 QPointer
(since 6.0) T * | get() const |
类 QProcess
(since 6.0) std::function<void ()> | childProcessModifier() const |
(自6.0) void | setChildProcessModifier(const std::function<void ()> &modifier) |
(自6.0) void | startCommand(const QString &command, QIODeviceBase::OpenMode mode) |
(自6.0) void | setExtraFileSelectors(const QStringList &extraFileSelectors) |
(自6.0) virtual void | unregisterTypes() |
(自6.0) virtual void | geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) |
(自6.0) void | beginFrame() |
(自6.0) void | endFrame() |
(自6.0) bool | initialize() |
(自6.0) int | samples() const |
(自6.0) void | setSamples(int sampleCount) |
(since 6.0) QQuickWindow * | window() const |
(自6.0) void | afterFrameEnd() |
(自6.0) void | beforeFrameBegin() |
(since 6.0) QSGRendererInterface::GraphicsApi | graphicsApi() |
(since 6.0) QQuickGraphicsConfiguration | graphicsConfiguration() const |
(since 6.0) QQuickGraphicsDevice | graphicsDevice() const |
(since 6.0) QQuickRenderTarget | renderTarget() const |
(自6.0) void | setGraphicsApi(QSGRendererInterface::GraphicsApi api) |
(自6.0) void | setGraphicsConfiguration(const QQuickGraphicsConfiguration &config) |
(自6.0) void | setGraphicsDevice(const QQuickGraphicsDevice &device) |
(自6.0) void | setRenderTarget(const QQuickRenderTarget &target) |
类 QRect
(since 6.0) QRect | span(const QPoint &p1, const QPoint &p2) |
类 QRegion
(since 6.0) QRegularExpression | fromWildcard(QStringView pattern, Qt::CaseSensitivity cs, QRegularExpression::WildcardConversionOptions options) |
(自6.0) virtual void | prepare() |
(自6.0) virtual void | commitTextureOperations(QRhi *rhi, QRhiResourceUpdateBatch *resourceUpdates) |
(since 6.0) virtual QRhiTexture * | rhiTexture() const |
(since 6.0) T * | get() |
(since 6.0) const T * | get() const |
(自6.0) void | reset(T *ptr) |
(since 6.0) T * | take() |
(since 6.0) QList<QKeySequence> | keys() const |
(自6.0) void | setKeys(QKeySequence::StandardKey key) |
(自6.0) void | setKeys(const QList<QKeySequence> &keys) |
(自6.0) void | autoAcceptChildRowsChanged(bool autoAcceptChildRows) |
(自6.0) void | invalidateColumnsFilter() |
(自6.0) void | invalidateRowsFilter() |
(since 6.0) virtual int | maximumIdentifierLength(QSqlDriver::IdentifierType type) const |
(since 6.0) QVariantList | boundValues() const |
(自6.0) bool | handshakeMustInterruptOnError() const |
(自6.0) bool | missingCertificateIsFatal() const |
(自6.0) void | setCiphers(const QString &ciphers) |
(自6.0) void | setHandshakeMustInterruptOnError(bool interrupt) |
(自6.0) void | setMissingCertificateIsFatal(bool cannotRecover) |
(自6.0) void | continueInterruptedHandshake() |
(自6.0) virtual void | multiData(QModelRoleDataSpan roleDataSpan) const |
类 QString
(since 6.0) QString & | append(QStringView v) |
(自6.0) qsizetype | count(QStringView str, Qt::CaseSensitivity cs) const |
(自6.0) QString | first(qsizetype n) const & |
(自6.0) QString | first(qsizetype n) && |
(自6.0) QString | fromLatin1(QByteArrayView str) |
(自6.0) QString | fromLocal8Bit(QByteArrayView str) |
(自6.0) QString | fromUtf8(QByteArrayView str) |
(自6.0) QString | fromUtf8(const char8_t *str, qsizetype size) |
(since 6.0) QString & | insert(qsizetype position, QStringView str) |
(自6.0) QString | last(qsizetype n) const & |
(自6.0) QString | last(qsizetype n) && |
(自6.0) int | localeAwareCompare(QStringView other) const |
(自6.0) int | localeAwareCompare(QStringView s1, QStringView s2) |
(since 6.0) QString & | operator+=(QStringView str) |
(since 6.0) QString & | prepend(QStringView str) |
(自6.0) QString | sliced(qsizetype pos, qsizetype n) const & |
(自6.0) QString | sliced(qsizetype pos) const & |
(自6.0) QString | sliced(qsizetype pos) && |
(自6.0) QString | sliced(qsizetype pos, qsizetype n) && |
(自 6.0) decltype(qTokenize(*this, std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const & |
(since 6.0) decltype(qTokenize(std::move(*this), std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const && |
(since 6.0) decltype(qTokenize(std::move(*this), std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) && |
(自6.0) virtual bool | clearItemData(const QModelIndex &index) override |
(since 6.0) decltype(QtPrivate::Tok::TokenizerResult<Haystack, Needle>{std::forward<Haystack>(h), std::forward<Needle>(n), flags...}) | qTokenize(Haystack &&haystack, Needle &&needle, Flags... flags) |
(自6.0起) QStringView::const_pointer | constData() const |
(自6.0) qsizetype | count(QChar ch, Qt::CaseSensitivity cs) const |
(自6.0) qsizetype | count(QStringView str, Qt::CaseSensitivity cs) const |
(自6.0起) QStringView | first(qsizetype n) const |
(自6.0起) QStringView | last(qsizetype n) const |
(自6.0起) QStringView | sliced(qsizetype pos, qsizetype n) const |
(自6.0起) QStringView | sliced(qsizetype pos) const |
(自6.0起) QList | split(QStringView sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const |
(自6.0起) QList | split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const |
(自6.0起) QList | split(const QRegularExpression &re, Qt::SplitBehavior behavior) const |
(自6.0起) CFStringRef | toCFString() const |
(自6.0起) double | toDouble(bool *ok) const |
(自6.0起) float | toFloat(bool *ok) const |
(自6.0) int | toInt(bool *ok, int base) const |
(自6.0起) long | toLong(bool *ok, int base) const |
(自6.0起) qlonglong | toLongLong(bool *ok, int base) const |
(自6.0起) NSString * | toNSString() const |
(自6.0起) short | toShort(bool *ok, int base) const |
(自6.0起) uint | toUInt(bool *ok, int base) const |
(自6.0起) ulong | toULong(bool *ok, int base) const |
(自6.0起) qulonglong | toULongLong(bool *ok, int base) const |
(自6.0起) ushort | toUShort(bool *ok, int base) const |
(自 6.0) decltype(qTokenize(*this, std::forward<Needle>(needle), flags...)) | tokenize(Needle &&sep, Flags... flags) const |
(自6.0) void | setColorSpace(const QColorSpace &colorSpace) |
(自6.0起) qreal | baselineOffset() const |
(自6.0) void | setBaselineOffset(qreal baseline) |
(自6.0) void | setSubScriptBaseline(qreal baseline) |
(自6.0) void | setSuperScriptBaseline(qreal baseline) |
(自6.0起) qreal | subScriptBaseline() const |
(自6.0起) qreal | superScriptBaseline() const |
(自6.0起) qreal | baselineOffset() const |
(自6.0) void | setBaselineOffset(qreal baseline) |
(自6.0) void | setSubScriptBaseline(qreal baseline) |
(自6.0) void | setSuperScriptBaseline(qreal baseline) |
(自6.0起) qreal | subScriptBaseline() const |
(自6.0起) qreal | superScriptBaseline() const |
(自6.0) bool | contains(const QThread *thread) const |
类 QTime
(since 6.0) QTime | fromString(QStringView string, Qt::DateFormat format) |
(since 6.0) QTime | fromString(QStringView string, QStringView format) |
(since 6.0) QTime | fromString(const QString &string, QStringView format) |
(since 6.0) QDataStream & | operator<<(QDataStream &out, const QTypeRevision &revision) |
(since 6.0) QDataStream & | operator>>(QDataStream &in, QTypeRevision &revision) |
(since 6.0) std::__exception_ptr::exception_ptr | exception() const |
(自6.0) void | swap(QUnhandledException &other) |
类 QUuid
(since 6.0) size_t | qHash(char8_t key, size_t seed) |
(since 6.0) size_t | qHash(char16_t key, size_t seed) |
(since 6.0) size_t | qHash(char32_t key, size_t seed) |
(since 6.0) size_t | qHash(wchar_t key, size_t seed) |
(since 6.0) size_t | qHash(std::nullptr_t key, size_t seed) |
(since 6.0) size_t | qHash(QPoint key, size_t seed) |
(since 6.0) size_t | qHash(const QTypeRevision &key, size_t seed) |
(since 6.0) QVarLengthArray<T, Prealloc> & | operator=(QVarLengthArray<T, Prealloc> &&other) |
类 QVariant
(自6.0) bool | canConvert(QMetaType type) const |
(自 6.0 开始) QPartialOrdering | compare(const QVariant &lhs, const QVariant &rhs) |
(自6.0) bool | convert(QMetaType targetType) |
(自 6.0 开始) QMetaType | metaType() const |
(since 6.0) QDataStream & | operator<<(QDataStream &out, const std::pair<T1, T2> &pair) |
(since 6.0) QDataStream & | operator>>(QDataStream &in, std::pair<T1, T2> &pair) |
类 QWidget
(since 6.0) QPointF | mapFrom(const QWidget *parent, const QPointF &pos) const |
(since 6.0) QPointF | mapFromGlobal(const QPointF &pos) const |
(since 6.0) QPointF | mapFromParent(const QPointF &pos) const |
(since 6.0) QPointF | mapTo(const QWidget *parent, const QPointF &pos) const |
(since 6.0) QPointF | mapToGlobal(const QPointF &pos) const |
(since 6.0) QPointF | mapToParent(const QPointF &pos) const |
类 QWindow
(since 6.0) QPointF | mapFromGlobal(const QPointF &pos) const |
(since 6.0) QPointF | mapToGlobal(const QPointF &pos) const |
(自6.0) virtual void | paintEvent(QPaintEvent *ev) |
命名空间中的新函数
(自6.0) void | resetOpenGLState() |
(since 6.0) QtConcurrent::QTaskBuilder<Task> | task(Task &&task) |
新全局函数
(自6.0起) long double | qDegreesToRadians(long double degrees) |
(自6.0起) long double | qRadiansToDegrees(long double radians) |
新宏
(自6.0起) | QT_IMPLICIT_QCHAR_CONSTRUCTION |
(自6.0起) | QT_IMPLICIT_QFILEINFO_CONSTRUCTION |
(自6.0起) | QT_NO_FOREACH |
(自6.0起) | Q_MOC_INCLUDE |
(自6.0起) | Q_OBJECT_BINDABLE_PROPERTY(containingClass, type, name, signal) |
(自6.0起) | Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(containingClass, type, name, initialvalue, signal) |
(自6.0起) | Q_OBJECT_COMPUTED_PROPERTY(containingClass, type, name, callback) |
新枚举类型
(自6.0起) enum | IntermediateError { ResponseCrcError, ResponseRequestMismatch } |
(自6.0起) enum | WildcardConversionOption { DefaultWildcardConversion, UnanchoredWildcardConversion, NonPathWildcardConversion } |
(自6.0起) enum class | AlertLevel { Warning, Fatal, Unknown } |
(自6.0起) enum class | AlertType { CloseNotify, UnexpectedMessage, BadRecordMac, RecordOverflow, DecompressionFailure, …, UnknownAlertMessage } |
(自6.0起) enum class | Launch { Sync, Async, Inherit } |
新枚举值
新类型别名
新属性
(自6.0起)
sortIndex : const(自6.0起)
readOnly : const(自6.0起)
autoAcceptChildRows(自6.0起)
additionalShmFormats : const
新变量
(自6.0起) | MacOSBigSur |
新QML类型
新QML属性
QML类型 FontLoader
(自6.0起) | font : font |
QML类型 GeometryRenderer
(自6.0起) | sortIndex : float |
QML类型 Item
(自6.0起) | palette : Palette |
QML类型 SceneEnvironment
(自6.0起) | tonemapMode : enumeration |
QML类型 Text
(自6.0起) | renderTypeQuality : int |
QML类型 WaylandCompositor
(自6.0起) | additionalShmFormats : 列表<枚举> |
QML 类型 Window
(自6.0起) | palette : Palette |
© 2024 Qt 公司。本文件中的文档贡献均为各自所有者的版权。本文件中的文档是根据自由软件基金会发布的 GNU 免费文档许可协议版本 1.3 许可的。Qt 及相关标志是芬兰和/或其他全球国家的 Qt 公司的商标。所有其他商标均为各自所有者的财产。