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