Qt 6.5 中的新类和函数
This page contains a comprehensive list of all new classes and functions introduced in Qt 6.5.
新名称空间
新类
-
A
-
QAbstractGrpcChannel
-
QAbstractGrpcClient
-
QAbstractGrpcCredentials
-
QAbstractProtobufSerializer
-
QAccessibleSelectionInterface
-
B
-
QBluetoothPermission
-
C
-
QCalendarPermission
-
QCameraPermission
-
QCanDbcFileParser
-
QCanFrameProcessor
-
QCanMessageDescription
-
QCanSignalDescription
-
QCanUniqueIdDescription
-
QContactsPermission
-
G
-
QGrpcCallCredentials
-
QGrpcCallReply
-
QGrpcChannel
-
QGrpcChannelCredentials
-
QGrpcCredentials
-
QGrpcHttp2Channel
-
QGrpcInsecureCallCredentials
-
QGrpcInsecureChannelCredentials
-
QGrpcOperation
-
QGrpcSslCredentials
-
QGrpcStatus
-
QGrpcStream
-
QGrpcUserPasswordCredentials
-
H
-
QHttp1Configuration
-
L
-
QLatin1StringMatcher
-
QLocationPermission
-
M
-
MultiplexValueRange
(
QCanSignalDescription
)
-
QMicrophonePermission
-
P
-
ParseResult
(
QDomDocument
)
-
ParseResult
(
QCanFrameProcessor
)
-
QPermission
-
QProtobufMessage
-
QProtobufMessageDeleter
-
QProtobufSerializer
-
Q
-
QQuickAttachedPropertyPropagator
-
S
-
QScreenCapture
-
U
-
QUtiMimeConverter
-
W
-
QWaylandApplication
(
QNativeInterface
)
新成员函数
类
QAbstractOAuth2
:
类
QAccessibleInterface
:
类
QAnyStringView
:
void
|
chop
(qsizetype
n
)
|
QAnyStringView
|
chopped
(qsizetype
n
) const
|
QAnyStringView
|
first
(qsizetype
n
) const
|
QAnyStringView
|
last
(qsizetype
n
) const
|
QAnyStringView
|
sliced
(qsizetype
pos
) const
|
QAnyStringView
|
sliced
(qsizetype
pos
, qsizetype
n
) const
|
void
|
truncate
(qsizetype
n
)
|
类
QBasicTimer
:
void
|
start
(std::chrono::milliseconds
duration
, QObject *
object
)
|
void
|
start
(std::chrono::milliseconds
duration
, Qt::TimerType
timerType
, QObject *
obj
)
|
类
QByteArray
:
类
QCoreApplication
:
Qt::PermissionStatus
|
checkPermission
(const QPermission &
permission
)
|
void
|
requestPermission
(const QPermission &
permission
, const QObject *
context
, Functor
functor
)
|
类
QCryptographicHash
:
QCryptographicHash::Algorithm
|
algorithm
() const
|
QCryptographicHash &
|
operator=
(QCryptographicHash &&
other
)
|
bool
|
supportsAlgorithm
(QCryptographicHash::Algorithm
method
)
|
void
|
swap
(QCryptographicHash &
other
)
|
类
QDate
:
类
QDateTime
:
类
QDebug
:
QDebug &
|
operator<<
(const std::basic_string<Char, Args...> &
s
)
|
QDebug &
|
operator<<
(std::basic_string_view<Char, Args...>
s
)
|
类
QDomDocument
:
QDomDocument::ParseResult
|
setContent
(const QByteArray &
data
, QDomDocument::ParseOptions
options
)
|
QDomDocument::ParseResult
|
setContent
(QAnyStringView
data
, QDomDocument::ParseOptions
options
)
|
QDomDocument::ParseResult
|
setContent
(QIODevice *
device
, QDomDocument::ParseOptions
options
)
|
QDomDocument::ParseResult
|
setContent
(QXmlStreamReader *
reader
, QDomDocument::ParseOptions
options
)
|
类
QGlyphRun
:
类
QGuiApplication
:
类
QHttp1Configuration
:
bool
|
operator!=
(const QHttp1Configuration &
lhs
, const QHttp1Configuration &
rhs
)
|
bool
|
operator==
(const QHttp1Configuration &
lhs
, const QHttp1Configuration &
rhs
)
|
size_t
|
qHash
(const QHttp1Configuration &
key
, size_t
seed
)
|
类
QHttpServerRequest
:
类
QHttpServerResponder
:
类
QLatin1StringView
:
int
|
compare
(QUtf8StringView
str
, Qt::CaseSensitivity
cs
) const
|
类
QLibraryInfo
:
类
QLowEnergyController
:
类
QMessageLogger
:
void
|
fatal
(const QLoggingCategory &
cat
, const char *
msg
, ...) const
|
void
|
fatal
(QMessageLogger::CategoryFunction
catFunc
, const char *
msg
, ...) const
|
QDebug
|
fatal
() const
|
QDebug
|
fatal
(const QLoggingCategory &
cat
) const
|
QDebug
|
fatal
(QMessageLogger::CategoryFunction
catFunc
) const
|
类
QMetaMethod
:
bool
|
invoke
(QObject *
obj
, Qt::ConnectionType
type
, QMetaMethodReturnArgument
ret
, Args &&...
arguments
) const
|
bool
|
invoke
(QObject *
obj
, Qt::ConnectionType
type
, Args &&...
arguments
) const
|
bool
|
invoke
(QObject *
obj
, QMetaMethodReturnArgument
ret
, Args &&...
arguments
) const
|
bool
|
invoke
(QObject *
obj
, Args &&...
arguments
) const
|
bool
|
invokeOnGadget
(void *
gadget
, QMetaMethodReturnArgument
ret
, Args &&...
arguments
) const
|
bool
|
invokeOnGadget
(void *
gadget
, Args &&...
arguments
) const
|
类
QMetaObject
:
bool
|
invokeMethod
(QObject *
obj
, const char *
member
, Qt::ConnectionType
type
, QMetaMethodReturnArgument
r
, Args &&...
args
)
|
bool
|
invokeMethod
(QObject *
obj
, const char *
member
, Qt::ConnectionType
type
, Args &&...
args
)
|
bool
|
invokeMethod
(QObject *
obj
, const char *
member
, QMetaMethodReturnArgument
r
, Args &&...
args
)
|
bool
|
invokeMethod
(QObject *
obj
, const char *
member
, Args &&...
args
)
|
QObject *
|
newInstance
(Args &&...
arguments
) const
|
类
QMetaType
:
类
QEGLContext
:
类
QNetworkRequest
:
类
QOpenGLBuffer
:
QOpenGLBuffer &
|
operator=
(QOpenGLBuffer &&
other
)
|
void
|
swap
(QOpenGLBuffer &
other
)
|
类
QOpenGLWidget
:
类
QQmlApplicationEngine
:
类
QQmlComponent
:
bool
|
isBound
() const
|
void
|
loadFromModule
(QAnyStringView
uri
, QAnyStringView
typeName
, QQmlComponent::CompilationMode
mode
)
|
类
QQmlEngine
:
类
QQuickGraphicsConfiguration
:
类
QRectF
:
类
QRegularExpression
:
QRegularExpressionMatchIterator
|
globalMatchView
(QStringView
subjectView
, qsizetype
offset
, QRegularExpression::MatchType
matchType
, QRegularExpression::MatchOptions
matchOptions
) const
|
QRegularExpressionMatch
|
matchView
(QStringView
subjectView
, qsizetype
offset
, QRegularExpression::MatchType
matchType
, QRegularExpression::MatchOptions
matchOptions
) const
|
类
QSGRenderNode
:
类
QString
:
QString &
|
append
(QUtf8StringView
str
)
|
QString::iterator
|
erase
(QString::const_iterator
it
)
|
QString &
|
insert
(qsizetype
position
, QUtf8StringView
str
)
|
QString &
|
operator+=
(QUtf8StringView
str
)
|
QString &
|
prepend
(QUtf8StringView
str
)
|
QString &
|
removeAt
(qsizetype
pos
)
|
QString &
|
removeFirst
()
|
QString &
|
removeLast
()
|
类
QStringView
:
int
|
compare
(QUtf8StringView
str
, Qt::CaseSensitivity
cs
) const
|
类
QSvgGenerator
:
类
QTextLayout
:
QList<QGlyphRun>
|
glyphRuns
(int
from
, int
length
, QTextLayout::GlyphRunRetrievalFlags
retrievalFlags
) const
|
类
QTextLine
:
QList<QGlyphRun>
|
glyphRuns
(int
from
, int
length
, QTextLayout::GlyphRunRetrievalFlags
retrievalFlags
) const
|
类
QTimeZone
:
类
QTransform
:
QTransform &
|
rotate
(qreal
a
, Qt::Axis
axis
, qreal
distanceToPlane
)
|
QTransform &
|
rotateRadians
(qreal
a
, Qt::Axis
axis
, qreal
distanceToPlane
)
|
类
QUtf8StringView
:
int
|
compare
(QUtf8StringView
str
, Qt::CaseSensitivity
cs
) const
|
int
|
compare
(QStringView
str
, Qt::CaseSensitivity
cs
) const
|
int
|
compare
(QLatin1StringView
str
, Qt::CaseSensitivity
cs
) const
|
类
QVulkanInstance
:
类
QWebEngineProfile
:
类
QWebEngineUrlRequestInfo
:
类
QWebSocket
:
名称空间中的新函数
新宏
新枚举类型
enum class
|
ParseOption
{ Default, UseNamespaceProcessing, PreserveSpacingOnlyNodes }
|
enum
|
TargetBuffer
{ LeftBuffer, RightBuffer }
|
enum class
|
SvgVersion
{ SvgTiny12, Svg11 }
|
enum
|
GlyphRunRetrievalFlag
{ RetrieveGlyphIndexes, RetrieveGlyphPositions, RetrieveStringIndexes, RetrieveString, DefaultRetrievalFlags, RetrieveAll }
|
enum
|
Initialization
{ LocalTime, UTC }
|
enum
|
DebugMessageSeverityFlag
{ VerboseSeverity, InfoSeverity, WarningSeverity, ErrorSeverity }
|
enum
|
DebugMessageTypeFlag
{ GeneralMessage, ValidationMessage, PerformanceMessage }
|
enum class
|
PermissionStatus
{ Undetermined, Granted, Denied }
|
新类型别名
新特性
新的变量
新 QML 类型
-
E
-
ExtendedSceneEnvironment
-
F
-
Fog
-
G
-
geoSatelliteInfo
-
I
-
InfiniteGrid
-
S
-
SatelliteSource
-
ScreenCapture
-
设置
新 QML 特性
QML 类型
Camera
:
QML 类型
CaptureSession
:
QML 类型
DebugSettings
:
QML 类型
DynamicRigidBody
:
QML 类型
Item
:
QML 类型
MediaPlayer
:
QML 类型
Model
:
QML 类型
PickResult
:
QML 类型
PrincipledMaterial
:
QML 类型
ReflectionProbe
:
QML 类型
RenderStats
:
QML 类型
SceneEnvironment
:
QML 类型
SpecularGlossyMaterial
:
QML 类型
TableView
:
QML 类型
TapHandler
:
QML 类型
TreeViewDelegate
:
新 QML 信号
新 QML 方法
QML 类型
Locale
:
string
|
toString
(int
i
)
|
string
|
toString
(double
f
, char
format
, int
precision
)
|
string
|
toString
(Date
date
, string
format
)
|
string
|
toString
(Date
date
, FormatType
format
)
|
QML 类型
TableView
:
QML 类型
TestCase
: