Qt 5.13 中的新类和函数
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.13. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
新名称空间
新类
-
C
-
QCompressedHelpInfo
-
QConcatenateTablesProxyModel
-
G
-
QGeoJson
-
H
-
QHelpFilterData
-
QHelpFilterEngine
-
K
-
QKnxNetIpSecureConfiguration
-
QKnxSecureKey
-
M
-
QModbusTcpConnectionObserver
-
O
-
QOcspResponse
-
S
-
QSetFence
(
Qt3DRender
)
-
QSharedGLTexture
(
Qt3DRender
)
-
T
-
QTransposeProxyModel
-
W
-
QWaitFence
(
Qt3DRender
)
-
QWaylandViewporter
-
QWaylandWlScaler
-
QWebEngineClientCertificateStore
-
QWebEngineNotification
新成员函数
类
QAxBase
:
类
QAxSelect
:
类
QAbstractTexture
:
|
QVariant
|
handle
() const
|
|
Qt3DRender::QAbstractTexture::HandleType
|
handleType
() const
|
类
QObjectPicker
:
类
QBluetoothDeviceInfo
:
类
QAbstractAxis
:
类
QByteArrayList
:
|
int
|
indexOf
(const char *
needle
, int
from
) const
|
类
QCollator
:
|
int
|
compare
(QStringView
s1
, QStringView
s2
) const
|
类
QDebug
:
类
QList
:
类
QLocale
:
|
QLocale
|
collation
() const
|
|
long
|
toLong
(const QString &
s
, bool *
ok
) const
|
|
long
|
toLong
(const QStringRef &
s
, bool *
ok
) const
|
|
long
|
toLong
(QStringView
s
, bool *
ok
) const
|
|
ulong
|
toULong
(const QString &
s
, bool *
ok
) const
|
|
ulong
|
toULong
(const QStringRef &
s
, bool *
ok
) const
|
|
ulong
|
toULong
(QStringView
s
, bool *
ok
) const
|
类
QMetaType
:
类
QMultiHash
:
|
QList<Key>
|
uniqueKeys
() const
|
|
QMultiHash<K, V> &
|
unite
(const QMultiHash<K, V> &
other
)
|
类
QResource
:
类
QStringListModel
:
|
virtual QMap<int, QVariant>
|
itemData
(const QModelIndex &
index
) const override
|
|
virtual bool
|
moveRows
(const QModelIndex &
sourceParent
, int
sourceRow
, int
count
, const QModelIndex &
destinationParent
, int
destinationChild
) override
|
|
virtual bool
|
setItemData
(const QModelIndex &
index
, const QMap<int, QVariant> &
roles
) override
|
类
QStringList
:
|
int
|
indexOf
(QStringView
str
, int
from
) const
|
|
int
|
indexOf
(QLatin1String
str
, int
from
) const
|
|
int
|
lastIndexOf
(QStringView
str
, int
from
) const
|
|
int
|
lastIndexOf
(QLatin1String
str
, int
from
) const
|
类
QFont
:
类
QImage
:
|
void
|
convertTo
(QImage::Format
format
, Qt::ImageConversionFlags
flags
)
|
类
QPainterPath
:
类
QTextCharFormat
:
类
QHelpEngineCore
:
类
QKnxNetIpEndpointConnection
:
类
QKnxServiceInfo
:
|
bool
|
operator!=
(const QKnxServiceInfo &
other
) const
|
|
bool
|
operator==
(const QKnxServiceInfo &
other
) const
|
类
QGeoRoute
:
类
QGeoRouteRequest
:
类
QGeoServiceProvider
:
类
QVideoFrame
:
|
QAbstractVideoBuffer *
|
buffer
() const
|
类
QAbstractSocket
:
类
QHostAddress
:
|
uint
|
qHash
(const QOcspResponse &
response
, uint
seed
)
|
类
QNetworkAccessManager
:
|
void
|
connectToHostEncrypted
(const QString &
hostName
, quint16
port
, const QSslConfiguration &
sslConfiguration
, const QString &
peerName
)
|
类
QNetworkRequest
:
类
QOcspResponse
:
|
QOcspCertificateStatus
|
certificateStatus
() const
|
|
bool
|
operator!=
(const QOcspResponse &
lhs
, const QOcspResponse &
rhs
)
|
|
QOcspResponse &
|
operator=
(const QOcspResponse &
other
)
|
|
QOcspResponse &
|
operator=
(QOcspResponse &&
other
)
|
|
bool
|
operator==
(const QOcspResponse &
lhs
, const QOcspResponse &
rhs
)
|
|
class QSslCertificate
|
responder
() const
|
|
QOcspRevocationReason
|
revocationReason
() const
|
|
QSslCertificate
|
subject
() const
|
|
void
|
swap
(QOcspResponse &
other
)
|
类
QSslConfiguration
:
类
QSslDiffieHellmanParameters
:
|
uint
|
qHash
(const QOcspResponse &
response
, uint
seed
)
|
类
QSslPreSharedKeyAuthenticator
:
|
bool
|
operator!=
(const QOcspResponse &
lhs
, const QOcspResponse &
rhs
)
|
|
bool
|
operator==
(const QOcspResponse &
lhs
, const QOcspResponse &
rhs
)
|
类
QSslSocket
:
类
QAbstractOAuth
:
|
void
|
prepareRequest
(QNetworkRequest *
request
, const QByteArray &
verb
, const QByteArray &
body
)
|
类
QOAuth1
:
|
void
|
setup
(QNetworkRequest *
request
, const QVariantMap &
signingParameters
, const QByteArray &
operationVerb
)
|
类
QOAuth1Signature
:
类
QOpcUaExtensionObject
:
类
QWindowsWindowFunctions
:
类
QGeoLocation
:
类
QPrinterInfo
:
类
QModbusRtuSerialMaster
:
类
QModbusTcpServer
:
类
QSqlDatabase
:
|
QSqlDatabase
|
cloneDatabase
(const QString &
other
, const QString &
connectionName
)
|
类
QWaylandQuickItem
:
类
QQuickWebEngineProfile
:
类
QWebEngineUrlRequestJob
:
类
QFileDialog
:
|
void
|
getOpenFileContent
(const QString &
nameFilter
, const std::function<void (const QString &, const QByteArray &)> &
fileOpenCompleted
)
|
类
QListModel
:
|
virtual bool
|
moveRows
(const QModelIndex &
sourceParent
, int
sourceRow
, int
count
, const QModelIndex &
destinationParent
, int
destinationChild
) override
|
类
QPlainTextEdit
:
|
bool
|
find
(const QRegularExpression &
exp
, QTextDocument::FindFlags
options
)
|
类
QTextEdit
:
|
bool
|
find
(const QRegularExpression &
exp
, QTextDocument::FindFlags
options
)
|
类
QTreeView
:
名称空间中的新函数
|
QString
|
fromId
(const QString &
id
, const QString &
defaultValue
)
|
|
QString
|
fromId
(int
id
, const QString &
defaultValue
)
|
|
bool
|
isSecureUserId
(QKnx::NetIp::SecureUserId
userId
)
|
|
QOpcUa::Types
|
metaTypeToQOpcUaType
(QMetaType::Type
type
)
|
|
bool
|
qIsPolishScheduled
(const QQuickItem *
item
)
|
|
bool
|
qWaitForItemPolished
(const QQuickItem *
item
, int
timeout
)
|
|
void
|
startActivity
(const QAndroidJniObject &
intent
, int
receiverRequestCode
, std::function<void (int, int, const QAndroidJniObject &)>
callbackFunc
)
|
|
void
|
startActivity
(const QAndroidIntent &
intent
, int
receiverRequestCode
, QAndroidActivityResultReceiver *
resultReceiver
)
|
新全局函数
|
bool
|
operator!=
(const QOcspResponse &
lhs
, const QOcspResponse &
rhs
)
|
|
bool
|
operator==
(const QOcspResponse &
lhs
, const QOcspResponse &
rhs
)
|
|
uint
|
qHash
(const QOcspResponse &
response
, uint
seed
)
|
|
uint
|
qHash
(const QOcspResponse &
response
, uint
seed
)
|
新宏
新枚举类型
|
enum
|
SecureUserId
{ Reserved, Management, UserRole, Invalid }
|
|
enum
|
SandboxingLevel
{ SandboxingNone, SandboxingProcess, SandboxingLowIntegrity }
|
|
enum
|
VerbosityLevel
{ MinimumVerbosity, DefaultVerbosity, MaximumVerbosity }
|
|
枚举类
|
QOcspCertificateStatus
{ Good, Revoked, Unknown }
|
|
枚举类
|
QOcspCertificateStatus
{ Good, Revoked, Unknown }
|
|
枚举类
|
QOcspRevocationReason
{ None, Unspecified, KeyCompromise, CACompromise, AffiliationChanged, …, RemoveFromCRL }
|
|
枚举类
|
QOcspRevocationReason
{ None, Unspecified, KeyCompromise, CACompromise, AffiliationChanged, …, RemoveFromCRL }
|
|
enum
|
压缩
{ NoCompression, ZlibCompression, ZstdCompression }
|
新类型别名
新特性
新 QML 类型
-
L
-
LottieAnimation
-
S
-
SharedGLTexture
-
SplitHandle
-
SplitView
-
W
-
WlScaler
新 QML 特性
新 QML 信号
新 QML 方法
其它 Qt 5 发行的补充