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 發行的補充