Qt 5.9 中的新类和函数
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.9. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
新类
-
A
-
QAbstractAnimation
(
Qt3DAnimation
)
-
QAbstractAnimationClip
(
Qt3DAnimation
)
-
QAbstractClipAnimator
(
Qt3DAnimation
)
-
QAbstractClipBlendNode
(
Qt3DAnimation
)
-
QAdditiveClipBlend
(
Qt3DAnimation
)
-
QAnimationAspect
(
Qt3DAnimation
)
-
QAnimationController
(
Qt3DAnimation
)
-
QAnimationGroup
(
Qt3DAnimation
)
-
B
-
QBlendedClipAnimator
(
Qt3DAnimation
)
-
C
-
QCanBusDeviceInfo
-
QCanBusFactoryV2
-
QClipAnimator
(
Qt3DAnimation
)
-
E
-
QEnvironmentLight
(
Qt3DRender
)
-
QExtrudedTextGeometry
(
Qt3DExtras
)
-
F
-
qfloat16
-
G
-
QGeoPath
-
H
-
QHelpSearchResult
-
QHstsPolicy
-
QHumidityFilter
-
QHumidityReading
-
QHumiditySensor
-
K
-
QKeyframeAnimation
(
Qt3DAnimation
)
-
L
-
QLerpClipBlend
(
Qt3DAnimation
)
-
QLevelOfDetail
(
Qt3DRender
)
-
QLevelOfDetailBoundingSphere
(
Qt3DRender
)
-
QLevelOfDetailSwitch
(
Qt3DRender
)
-
QLidFilter
-
QLidReading
-
QLidSensor
-
M
-
QMemoryBarrier
(
Qt3DRender
)
-
QMetalRoughMaterial
(
Qt3DExtras
)
-
QMorphingAnimation
(
Qt3DAnimation
)
-
QMorphTarget
(
Qt3DAnimation
)
-
O
-
QOperatingSystemVersion
-
Q
-
QQuickWebEngineScript
-
S
-
QScene2D
(
Qt3DRender::Quick
)
-
QStaticByteArrayMatcher
-
ScaledPixmapArgument
(
QIconEngine
)
-
T
-
QTexturedMetalRoughMaterial
(
Qt3DExtras
)
-
QTextureMaterial
(
Qt3DExtras
)
-
V
-
QVertexBlendAnimation
(
Qt3DAnimation
)
-
W
-
QWebEngineHttpRequest
新成员函数
类
QSkyboxEntity
:
类
QRenderCaptureReply
:
bool
|
saveImage
(const QString &
fileName
) const
|
类
QAbstractFileEngine
:
virtual QByteArray
|
id
() const
|
类
QByteArray
:
quint16
|
qChecksum
(const char *
data
, uint
len
, Qt::ChecksumType
standard
)
|
QByteArray
|
toHex
(char
separator
) const
|
类
QDataStream
:
类
QDir
:
bool
|
isEmpty
(QDir::Filters
filters
) const
|
类
QObject
:
int
|
startTimer
(std::chrono::milliseconds
time
, Qt::TimerType
timerType
)
|
类
QStaticByteArrayMatcher
:
类
QStorageInfo
:
类
QStringRef
:
类
QTemporaryDir
:
QString
|
filePath
(const QString &
fileName
) const
|
类
QThreadPool
:
bool
|
tryTake
(QRunnable *
runnable
)
|
类
QTimeZone
:
类
QVarLengthArray
:
类
QIconEngine
:
QPixmap
|
scaledPixmap
(const QSize &
size
, QIcon::Mode
mode
, QIcon::State
state
, qreal
scale
)
|
类
QImage
:
类
QOffscreenSurface
:
类
QOpenGLShaderProgram
:
类
QOpenGLTexture
:
void
|
setCompressedData
(int
mipLevel
, int
layer
, int
layerCount
, QOpenGLTexture::CubeMapFace
cubeFace
, int
dataSize
, const void *
data
, const QOpenGLPixelTransferOptions *const
options
)
|
void
|
setData
(int
mipLevel
, int
layer
, int
layerCount
, QOpenGLTexture::CubeMapFace
cubeFace
, QOpenGLTexture::PixelFormat
sourceFormat
, QOpenGLTexture::PixelType
sourceType
, const void *
data
, const QOpenGLPixelTransferOptions *const
options
)
|
类
QPlatformScreen
:
类
QPlatformTheme
:
类
QTextDocument
:
类
TouchPoint
:
类
QWindow
:
QWindow *
|
parent
(QWindow::AncestorMode
mode
) const
|
void
|
setFlag
(Qt::WindowType
flag
, bool
on
)
|
类
QHelpSearchEngine
:
类
QHelpSearchQueryWidget
:
类
QGeoCameraCapabilities
:
类
QGeoCodeReply
:
类
QGeoRouteReply
:
类
QPlaceReply
:
类
QHostInfo
:
int
|
lookupHost
(const QString &
name
, Functor
functor
)
|
int
|
lookupHost
(const QString &
name
, const QObject *
context
, Functor
functor
)
|
类
QNetworkAccessManager
:
类
QNetworkConfiguration
:
类
QNetworkReply
:
类
QNearFieldTarget
:
类
QWindowsWindowFunctions
:
类
QGeoCircle
:
类
QGeoRectangle
:
类
QGeoShape
:
类
QQmlEngine
:
类
QQmlError
:
类
QQuickWindow
:
类
QSGTexture
:
类
QQuickStyle
:
类
QCanBus
:
QList<QCanBusDeviceInfo>
|
availableDevices
(const QString &
plugin
, QString *
errorMessage
) const
|
类
QCanBusFrame
:
类
QWebSocketServer
:
类
QFileDialog
:
类
QSizePolicy
:
类
QSplitter
:
类
QSystemTrayIcon
:
void
|
showMessage
(const QString &
title
, const QString &
message
, const QIcon &
icon
, int
millisecondsTimeoutHint
)
|
类
QUndoCommand
:
类
QWidget
:
名称空间中的新函数
QTestData &
|
addRow
(const char *
format
,
...
)
|
QQmlInfo
|
qmlDebug
(const QObject *
object
)
|
QQmlInfo
|
qmlWarning
(const QObject *
object
)
|
新全局函数
bool
|
operator!=
(QHostAddress::SpecialAddress
lhs
, const QHostAddress &
rhs
)
|
quint16
|
qChecksum
(const char *
data
, uint
len
, Qt::ChecksumType
standard
)
|
QStaticByteArrayMatcher<N>
|
qMakeStaticByteArrayMatcher
(const char (&)[N]
pattern
)
|
void
|
qmlRegisterModule
(const char *
uri
, int
versionMajor
, int
versionMinor
)
|
新枚举类型
enum
|
RedirectPolicy
{ ManualRedirectPolicy, NoLessSafeRedirectPolicy, SameOriginRedirectPolicy, UserVerifiedRedirectPolicy }
|
enum
|
AnisotropyLevel
{ AnisotropyNone, Anisotropy2x, Anisotropy4x, Anisotropy8x, Anisotropy16x }
|
enum
|
ChecksumType
{ ChecksumIso3309, ChecksumItuV41 }
|
新类型别名
新特性
新的变量
新 QML 类型
-
A
-
AbstractAnimation
-
AbstractClipAnimator
-
AbstractClipBlendNode
-
AdditiveClipBlend
-
AnimationController
-
AnimationGroup
-
B
-
BlendedClipAnimator
-
C
-
ClipAnimator
-
D
-
DelayButton
-
E
-
EnvironmentLight
-
K
-
KeyframeAnimation
-
L
-
LerpClipBlend
-
LevelOfDetail
-
LevelOfDetailLoader
-
LevelOfDetailSwitch
-
M
-
MemoryBarrier
-
MorphingAnimation
-
MorphTarget
-
S
-
Scene2D
-
ScrollView
-
T
-
TouchEventSequence
-
V
-
VertexBlendAnimation
新 QML 特性
新 QML 信号
新 QML 方法
其它 Qt 5 发行的补充