Qt 6.6 中的新类和函数
This page contains a comprehensive list of all new classes and functions introduced in Qt 6.6.
新名称空间
新类
-
A
-
Any
(
QtProtobuf
)
-
B
-
BlockVariable
(
QShaderDescription
)
-
BuiltinVariable
(
QShaderDescription
)
-
C
-
QCapturableWindow
-
D
-
DnsMode
(
QWebEngineGlobalSettings
)
-
I
-
Id128Bytes
(
QUuid
)
-
InOutVariable
(
QShaderDescription
)
-
N
-
QNativeIpcKey
-
O
-
QOpcUaConnectionSettings
-
P
-
PushConstantBlock
(
QShaderDescription
)
-
QPdfLinkModel
-
QPdfPageSelector
-
Q
-
QQuick3DExtensionHelpers
-
QQuick3DRenderExtension
-
R
-
QRhi
-
QRhiBuffer
-
QRhiColorAttachment
-
QRhiCommandBuffer
-
QRhiComputePipeline
-
QRhiD3D11InitParams
-
QRhiD3D11NativeHandles
-
QRhiDepthStencilClearValue
-
QRhiDriverInfo
-
QRhiGles2InitParams
-
QRhiGles2NativeHandles
-
QRhiGraphicsPipeline
-
QRhiInitParams
-
QRhiMetalCommandBufferNativeHandles
-
QRhiMetalInitParams
-
QRhiMetalNativeHandles
-
QRhiNativeHandles
-
QRhiNullInitParams
-
QRhiNullNativeHandles
-
QRhiReadbackDescription
-
QRhiReadbackResult
-
QRhiRenderBuffer
-
QRhiRenderPassDescriptor
-
QRhiRenderTarget
-
QRhiResource
-
QRhiResourceUpdateBatch
-
QRhiSampler
-
QRhiScissor
-
QRhiShaderResourceBinding
-
QRhiShaderResourceBindings
-
QRhiShaderStage
-
QRhiStats
-
QRhiSwapChain
-
QRhiSwapChainHdrInfo
-
QRhiSwapChainProxyData
-
QRhiSwapChainRenderTarget
-
QRhiTexture
-
QRhiTextureCopyDescription
-
QRhiTextureRenderTarget
-
QRhiTextureRenderTargetDescription
-
QRhiTextureSubresourceUploadDescription
-
QRhiTextureUploadDescription
-
QRhiTextureUploadEntry
-
QRhiVertexInputAttribute
-
QRhiVertexInputBinding
-
QRhiVertexInputLayout
-
QRhiViewport
-
QRhiVulkanCommandBufferNativeHandles
-
QRhiVulkanInitParams
-
QRhiVulkanNativeHandles
-
QRhiVulkanRenderPassNativeHandles
-
S
-
QScopedPropertyUpdateGroup
-
QSGD3D12Texture
(
QNativeInterface
)
-
QShader
-
QShaderBaker
-
QShaderCode
-
QShaderDescription
-
QShaderKey
-
QShaderVersion
-
StencilOpState
(
QRhiGraphicsPipeline
)
-
StorageBlock
(
QShaderDescription
)
-
T
-
TargetBlend
(
QRhiGraphicsPipeline
)
-
U
-
UniformBlock
(
QShaderDescription
)
-
UnixProcessParameters
(
QProcess
)
-
W
-
QWindowCapture
新成员函数
类
QAbstractOAuthReplyHandler
:
类
QBluetoothPermission
:
类
QBluetoothUuid
:
类
QByteArray
:
QByteArray &
|
assign
(QByteArrayView
v
)
|
QByteArray &
|
assign
(qsizetype
n
, char
c
)
|
QByteArray &
|
assign
(InputIterator
first
, InputIterator
last
)
|
类
QDebug
:
QDebug &
|
operator<<
(std::chrono::duration<Rep, Period>
duration
)
|
类
QDnsLookup
:
void
|
setNameserver
(const QHostAddress &
nameserver
, quint16
port
)
|
类
QElapsedTimer
:
类
QFileInfo
:
类
QFileSystemModel
:
QDateTime
|
lastModified
(const QModelIndex &
index
, const QTimeZone &
tz
) const
|
类
QFont
:
类
QHostAddress
:
类
QJSPrimitiveValue
:
void *
|
data
()
|
QMetaType
|
metaType
() const
|
QJSPrimitiveValue
|
to
() const
|
类
QList
:
QList<T> &
|
assign
(qsizetype
n
, QList::parameter_type
t
)
|
QList<T> &
|
assign
(InputIterator
first
, InputIterator
last
)
|
QList<T> &
|
assign
(std::initializer_list<T>
l
)
|
类
QMessageAuthenticationCode
:
QMessageAuthenticationCode &
|
operator=
(QMessageAuthenticationCode &&
other
)
|
QByteArrayView
|
resultView
() const
|
void
|
swap
(QMessageAuthenticationCode &
other
)
|
类
QMessageBox
:
void
|
setOption
(QMessageBox::Option
option
, bool
on
)
|
bool
|
testOption
(QMessageBox::Option
option
) const
|
类
QMetaEnum
:
类
QMetaProperty
:
bool
|
write
(QObject *
object
, QVariant &&
v
) const
|
bool
|
writeOnGadget
(void *
gadget
, QVariant &&
value
) const
|
类
QMetaType
:
类
QMutex
:
bool
|
tryLock
(QDeadlineTimer
timer
)
|
类
QSGD3D12Texture
:
QSGTexture *
|
fromNative
(void *
texture
, int
resourceState
, QQuickWindow *
window
, const QSize &
size
, QQuickWindow::CreateTextureOptions
options
)
|
类
QObject
:
bool
|
setProperty
(const char *
name
, QVariant &&
value
)
|
类
QOpcUaClient
:
类
QPalette
:
类
QPdfDocument
:
类
QPointer
:
QPointer<T> &
|
operator=
(const QPointer<X> &
other
)
|
类
QProcess
:
类
QPromise
:
类
QProtobufMessage
:
bool
|
setProperty
(QAnyStringView
propertyName
, QVariant &&
value
)
|
类
QQmlEngine
:
类
QQuick3DGeometry
:
类
QQuickGraphicsConfiguration
:
类
QQuickGraphicsDevice
:
QQuickGraphicsDevice
|
fromRhi
(QRhi *
rhi
)
|
类
QQuickRenderControl
:
类
QQuickRenderTarget
:
QQuickRenderTarget
|
fromD3D12Texture
(void *
texture
, int
resourceState
, uint
format
, const QSize &
pixelSize
, int
sampleCount
)
|
QQuickRenderTarget
|
fromRhiRenderTarget
(QRhiRenderTarget *
renderTarget
)
|
类
QQuickWindow
:
类
QReadWriteLock
:
类
QRecursiveMutex
:
bool
|
tryLock
(QDeadlineTimer
timeout
)
|
类
QSGRenderNode
:
类
QSemaphore
:
类
QSharedMemory
:
类
QSignalSpy
:
bool
|
wait
(std::chrono::milliseconds
timeout
)
|
类
QSqlField
:
void
|
swap
(QSqlField &
other
)
|
类
QSqlIndex
:
类
QSqlQuery
:
类
QSqlRecord
:
QSqlRecord &
|
operator=
(QSqlRecord &&
other
)
|
void
|
swap
(QSqlRecord &
other
)
|
类
QString
:
QString &
|
assign
(QAnyStringView
v
)
|
QString &
|
assign
(qsizetype
n
, QChar
c
)
|
QString &
|
assign
(InputIterator
first
, InputIterator
last
)
|
QString
|
fromEcmaString
(emscripten::val
jsString
)
|
emscripten::val
|
toEcmaString
() const
|
类
QStringDecoder
:
类
QTextListFormat
:
类
QTextToSpeech
:
void
|
aboutToSynthesize
(qsizetype
id
)
|
qsizetype
|
enqueue
(const QString &
utterance
)
|
QList<QVoice>
|
findVoices
(Args &&...
args
) const
|
void
|
sayingWord
(const QString &
word
, qsizetype
id
, qsizetype
start
, qsizetype
length
)
|
类
QThread
:
void
|
sleep
(std::chrono::nanoseconds
nsecs
)
|
类
QUuid
:
QUuid
|
fromBytes
(const void *
bytes
, QSysInfo::Endian
order
)
|
QUuid
|
fromUInt128
(quint128
uuid
, QSysInfo::Endian
order
)
|
QUuid::Id128Bytes
|
toBytes
(QSysInfo::Endian
order
) const
|
quint128
|
toUInt128
(QSysInfo::Endian
order
) const
|
类
Id128Bytes
:
类
QVarLengthArray
:
QVarLengthArray<T, Prealloc> &
|
assign
(qsizetype
n
, const T &
t
)
|
QVarLengthArray<T, Prealloc> &
|
assign
(InputIterator
first
, InputIterator
last
)
|
QVarLengthArray<T, Prealloc> &
|
assign
(std::initializer_list<T>
list
)
|
类
QVariant
:
T &
|
emplace
(Args &&...
args
)
|
T &
|
emplace
(std::initializer_list<U>
list
, Args &&...
args
)
|
QVariant
|
fromStdVariant
(std::variant<Types...> &&
value
)
|
QVariant
|
fromValue
(T &&
value
)
|
类
QWebEnginePage
:
类
QWebEngineUrlRequestJob
:
类
QWebSocket
:
类
QWidget
:
void
|
setTabOrder
(std::initializer_list<QWidget *>
widgets
)
|
类
QXmlStreamReader
:
名称空间中的新函数
新全局函数
新宏
新枚举类型
enum
|
CommunicationMode
{ Access, Advertise, Default }
|
enum class
|
ReferenceSurface
{ Map, Globe }
|
enum class
|
Option
{ DontUseNativeDialog }
|
enum class
|
UnixProcessFlag
{ ResetSignalHandlers, IgnoreSigPipe, CloseFileDescriptors, UseVFork }
|
enum class
|
Capability
{ None, Speak, PauseResume, WordByWordProgress, Synthesize }
|
New Enum Values
新类型别名
新特性
新 QML 类型
-
B
-
BluetoothPermission
-
C
-
CalendarPermission
-
CameraPermission
-
CapturableWindow
-
ContactsPermission
-
L
-
LocationPermission
-
M
-
MicrophonePermission
-
V
-
VoiceSelector
-
W
-
WindowCapture
新 QML 特性
QML Type
CaptureSession
:
QML Type
CharacterController
:
QML Type
ColorGroup
:
QML Type
Dial
:
QML Type
MediaRecorder
:
QML Type
Path
:
QML Type
PathText
:
QML Type
RenderStats
:
QML Type
ScrollView
:
QML Type
形状
:
QML Type
SpinBox
:
QML Type
TableView
:
QML Type
文本
:
QML Type
TextEdit
:
QML Type
TextInput
:
QML Type
TextToSpeech
:
QML Type
TreeView
:
QML Type
XMLHttpRequest
:
QML Type
voice
:
新 QML 信号
|
aboutToSynthesize
(number
id
)
|
|
sayingWord
(string
word
, int
id
, int
start
, int
length
)
|
|
shapeHit
(PhysicsNode *
body
, vector3D
position
, vector3D
impulse
, vector3D
normal
)
|
|
wrapped
(Dial.WrapDirection
direction
)
|
新 QML 方法
QML Type
TextToSpeech
:
QML Type
XMLHttpRequest
: