This page contains a comprehensive list of all new classes and functions introduced in Qt 6.4.
| void | setUseFetchMore (bool value ) |
类 QByteArray :
| QByteArray | percentDecoded (char percent ) const |
| void | resize (qsizetype newSize , char c ) |
类 QColor :
| QColor | fromString (QAnyStringView name ) |
| bool | isValidColorName (QAnyStringView name ) |
类 QColorTransform :
| bool | isIdentity () const |
| QRgbaFloat16 | map (QRgbaFloat16 rgbafp16 ) const |
| QRgbaFloat32 | map (QRgbaFloat32 rgbafp32 ) const |
| bool | operator!= (const QColorTransform & ct1 , const QColorTransform & ct2 ) |
| bool | operator== (const QColorTransform & ct1 , const QColorTransform & ct2 ) |
类 QDate :
| QDate | addDuration (std::chrono::days ndays ) const |
| QDate | fromStdSysDays (const std::chrono::sys_days & days ) |
类 QDateTime :
| QDateTime | addDuration (std::chrono::milliseconds msecs ) const |
| QDateTime | fromStdLocalTime (const std::chrono::local_time<std::chrono::milliseconds> & time ) |
| QDateTime | fromStdTimePoint (const std::chrono::time_point<Clock, Duration> & time ) |
| QDateTime | fromStdTimePoint (const std::chrono::local_time<std::chrono::milliseconds> & time ) |
| QDateTime | fromStdZonedTime (const int & time ) |
| QDateTime | operator+ (const QDateTime & dateTime , std::chrono::milliseconds duration ) |
| QDateTime | operator+ (std::chrono::milliseconds duration , const QDateTime & dateTime ) |
| QDateTime & | operator+= (std::chrono::milliseconds duration ) |
| std::chrono::milliseconds | operator- (const QDateTime & lhs , const QDateTime & rhs ) |
| QDateTime | operator- (const QDateTime & dateTime , std::chrono::milliseconds duration ) |
| QDateTime & | operator-= (std::chrono::milliseconds duration ) |
| std::chrono::sys_time<std::chrono::milliseconds> | toStdSysMilliseconds () const |
| std::chrono::sys_seconds | toStdSysSeconds () const |
类 QFileInfo :
| bool | isAlias () const |
类 QFormLayout :
| bool | isRowVisible (int row ) const |
| bool | isRowVisible (QWidget * widget ) const |
| bool | isRowVisible (QLayout * layout ) const |
| void | setRowVisible (int row , bool on ) |
| void | setRowVisible (QWidget * widget , bool on ) |
| void | setRowVisible (QLayout * layout , bool on ) |
类 QFuture :
| QFuture<U> | unwrap () |
类 QHash :
| auto | asKeyValueRange () & |
| auto | asKeyValueRange () const & |
| auto | asKeyValueRange () && |
| auto | asKeyValueRange () const && |
类 QImage :
| QImage | colorTransformed (const QColorTransform & transform ) const & |
| QImage | colorTransformed (const QColorTransform & transform ) && |
类 QJniEnvironment :
| jfieldID | findField (jclass clazz , const char * fieldName ) |
| jmethodID | findMethod (jclass clazz , const char * methodName ) |
| jfieldID | findStaticField (jclass clazz , const char * fieldName ) |
| jmethodID | findStaticMethod (jclass clazz , const char * methodName ) |
类 QJniObject :
| auto | callMethod (const char * methodName , const char * signature , Args &&... args ) const |
| auto | callMethod (const char * methodName , Args &&... args ) const |
| QJniObject | callObjectMethod (const char * methodName , Args &&... args ) const |
| auto | callStaticMethod (const char * className , const char * methodName , const char * signature , Args &&... args ) |
| auto | callStaticMethod (jclass clazz , jmethodID methodId , Args &&... args ) |
| auto | callStaticMethod (const char * className , const char * methodName , Args &&... args ) |
| auto | callStaticMethod (jclass clazz , const char * methodName , Args &&... args ) |
| QJniObject | callStaticObjectMethod (const char * className , const char * methodName , Args &&... args ) |
| QJniObject | callStaticObjectMethod (jclass clazz , const char * methodName , Args &&... args ) |
| QJniObject | construct (Args &&... args ) |
类 QLatin1Char :
| QLatin1Char | operator""_L1 (char ch ) |
| const char * | constBegin () const |
| const char * | constData () const |
| const char * | constEnd () const |
| qsizetype | count (QStringView str , Qt::CaseSensitivity cs ) const |
| qsizetype | count (QLatin1StringView l1 , Qt::CaseSensitivity cs ) const |
| qsizetype | count (QChar ch , Qt::CaseSensitivity cs ) const |
| bool | empty () const |
| QLatin1Char | first () const |
| QLatin1Char | last () const |
| qsizetype | length () const |
| QLatin1StringView | operator""_L1 (const char * str , size_t size ) |
| double | toDouble (bool * ok ) const |
| float | toFloat (bool * ok ) const |
| int | toInt (bool * ok , int base ) const |
| long | toLong (bool * ok , int base ) const |
| qlonglong | toLongLong (bool * ok , int base ) const |
| short | toShort (bool * ok , int base ) const |
| uint | toUInt (bool * ok , int base ) const |
| ulong | toULong (bool * ok , int base ) const |
| qulonglong | toULongLong (bool * ok , int base ) const |
| ushort | toUShort (bool * ok , int base ) const |
类 QLine :
| QLineF | toLineF () const |
类 QListWidgetItem :
| void | setTextAlignment (Qt::Alignment alignment ) |
类 QMap :
| auto | asKeyValueRange () & |
| auto | asKeyValueRange () const & |
| auto | asKeyValueRange () && |
| auto | asKeyValueRange () const && |
类 QMargins :
| QMarginsF | toMarginsF () const |
类 QMetaType :
| size_t | qHash (QMetaType type , size_t seed ) |
类 QMqttSubscriptionProperties :
| bool | noLocal () const |
| void | setNoLocal (bool noloc ) |
类 QMultiHash :
| auto | asKeyValueRange () & |
| auto | asKeyValueRange () const & |
| auto | asKeyValueRange () && |
| auto | asKeyValueRange () const && |
类 QMultiMap :
| auto | asKeyValueRange () & |
| auto | asKeyValueRange () const & |
| auto | asKeyValueRange () && |
| auto | asKeyValueRange () const && |
类 QMutexLocker :
| bool | isLocked () const |
| QMutexLocker<Mutex> & | operator= (QMutexLocker<Mutex> && other ) |
| void | swap (QMutexLocker<Mutex> & other ) |
| bool | loadBackendByFeatures (QNetworkInformation::Features features ) |
| bool | loadBackendByName (QStringView backend ) |
类 QObject :
| bool | isQuickItemType () const |
| void | setObjectName (QAnyStringView name ) |
类 QPoint :
| QPointF | toPointF () const |
类 QPolygon :
| QPolygonF | toPolygonF () const |
| void | objectCreationFailed (const QUrl & url ) |
| QQuickRenderTarget | fromD3D11Texture (void * texture , uint format , const QSize & pixelSize , int sampleCount ) |
| QQuickRenderTarget | fromMetalTexture (MTLTexture * texture , uint format , const QSize & pixelSize , int sampleCount ) |
| QQuickRenderTarget | fromOpenGLTexture (uint textureId , uint format , const QSize & pixelSize , int sampleCount ) |
| QQuickRenderTarget | fromPaintDevice (QPaintDevice * device ) |
| QQuickRenderTarget | fromVulkanImage (VkImage image , VkImageLayout layout , VkFormat format , const QSize & pixelSize , int sampleCount ) |
| bool | mirrorVertically () const |
| void | setMirrorVertically (bool enable ) |
类 QRect :
| QRectF | toRectF () const |
| int | combinedImageSamplerCount (int binding ) const |
类 QSize :
| QSizeF | toSizeF () const |
类 QStringView :
| qsizetype | count (QLatin1StringView l1 , Qt::CaseSensitivity cs ) const |
| int | localeAwareCompare (QStringView other ) const |
类 QTableWidgetItem :
| void | setTextAlignment (Qt::Alignment alignment ) |
类 QTcpServer :
| void | pendingConnectionAvailable () |
类 QTemporaryDir :
| QTemporaryDir & | operator= (QTemporaryDir && other ) |
| void | swap (QTemporaryDir & other ) |
类 QTextCursor :
| void | insertMarkdown (const QString & markdown , QTextDocument::MarkdownFeatures features ) |
| QTextDocumentFragment | fromMarkdown (const QString & markdown , QTextDocument::MarkdownFeatures features ) |
| QString | toMarkdown (QTextDocument::MarkdownFeatures features ) const |
| QString | toRawText () const |
类 QTextStream :
| QTextStream & | operator>> (char16_t & c ) |
类 QTextToSpeech :
| bool | setEngine (const QString & engine , const QVariantMap & params ) |
类 QTimeZone :
| QTimeZone | fromStdTimeZonePtr (const int * timeZone ) |
类 QTreeWidgetItem :
| void | setTextAlignment (int column , Qt::Alignment alignment ) |
类 QVarLengthArray :
| void | resize (qsizetype size , const T & v ) |
类 QVersionNumber :
| QVersionNumber | fromString (QAnyStringView string , qsizetype * suffixIndex ) |
类 QVoice :
| QDataStream & | operator<< (QDataStream & stream , const QVoice & voice ) |
| QDebug | operator<< (QDebug debug , const QVoice & voice ) |
| QDataStream & | operator>> (QDataStream & stream , QVoice & voice ) |
| void | swap (QVoice & other ) |
类 QVulkanWindow :
| void | setEnabledFeaturesModifier (const QVulkanWindow::EnabledFeaturesModifier & modifier ) |
类 QWebSocket :
| QWebSocketHandshakeOptions | handshakeOptions () const |
| void | open (const QUrl & url , const QWebSocketHandshakeOptions & options ) |
| void | open (const QNetworkRequest & request , const QWebSocketHandshakeOptions & options ) |
| QString | subprotocol () const |
类 QWebSocketServer :
| void | setSupportedSubprotocols (const QStringList & protocols ) |
| QStringList | supportedSubprotocols () const |
| QByteArray | operator""_ba (const char * str , size_t size ) |
| QString | operator""_s (const char16_t * str , size_t size ) |
| bool | qIsPolishScheduled (const QQuickWindow * window ) |
| bool | qWaitForPolish (const QQuickWindow * window , int timeout ) |
| bool | qWaitForPolish (const QQuickItem * item , int timeout ) |
| QCOMPARE_EQ ( left , right ) | |
| QCOMPARE_GE ( left , right ) | |
| QCOMPARE_GT ( left , right ) | |
| QCOMPARE_LE ( left , right ) | |
| QCOMPARE_LT ( left , right ) | |
| QCOMPARE_NE ( left , right ) | |
| QTRY_COMPARE_EQ ( left , right ) | |
| QTRY_COMPARE_EQ_WITH_TIMEOUT ( left , right , timeout ) | |
| QTRY_COMPARE_GE ( left , right ) | |
| QTRY_COMPARE_GE_WITH_TIMEOUT ( left , right , timeout ) | |
| QTRY_COMPARE_GT ( left , right ) | |
| QTRY_COMPARE_GT_WITH_TIMEOUT ( left , right , timeout ) | |
| QTRY_COMPARE_LE ( left , right ) | |
| QTRY_COMPARE_LE_WITH_TIMEOUT ( left , right , timeout ) | |
| QTRY_COMPARE_LT ( left , right ) | |
| QTRY_COMPARE_LT_WITH_TIMEOUT ( left , right , timeout ) | |
| QTRY_COMPARE_NE ( left , right ) | |
| QTRY_COMPARE_NE_WITH_TIMEOUT ( left , right , timeout ) | |
| Q_CONSTINIT |
| enum | PolygonMode { Fill, Line } |
|
| polygonMode | |
| MacOSVentura | |
| Windows11_21H2 | |
| Windows11_22H2 |
QML 类型 Model :
| castsReflections : bool |
QML 类型 ReflectionProbe :
| debugView : bool |
QML 类型 SceneEnvironment :
| skyBoxCubeMap : QtQuick3D::CubeMapTexture | |
| skyboxBlurAmount : float | |
| specularAAEnabled : bool |
QML 类型 SpriteParticle3D :
| castsReflections : bool |
QML 类型 TableView :
| animate : bool | |
| keyNavigationEnabled : bool | |
| pointerNavigationEnabled : bool | |
| selectionBehavior : enumeration |
QML 类型 View3D :
| renderFormat : enumeration |
QML 类型 WaylandSurface :
| isOpaque : bool |
QML 类型 WebSocket :
| negotiatedSubprotocol : QString | |
| requestedSubprotocols : QStringList |
QML 类型 WebSocketServer :
| supportedSubprotocols : QStringList |
QML 类型 TableView :
| point | cellAtIndex (QModelIndex modelIndex ) |
| int | columnAtIndex (QModelIndex modelIndex ) |
| QModelIndex | modelIndex (point cell ) |
| int | rowAtIndex (QModelIndex modelIndex ) |
QML 类型 TreeView :
| collapseRecursively ( row ) | |
| expandRecursively ( row , depth ) | |
| expandToIndex (QModelIndex index ) |