New Classes and Functions in 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.
- New Classes
- New Member Functions
- New Functions in Namespaces
- New Global Functions
- New Enum Types
- New Type Aliases
- New Properties
- New Variables
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods
New Classes
- A
- QAbstractAnimation (Qt3DAnimation)
- QAbstractAnimationClip (Qt3DAnimation)
- QAbstractClipAnimator (Qt3DAnimation)
- QAbstractClipBlendNode (Qt3DAnimation)
- QAdditiveClipBlend (Qt3DAnimation)
- QAnimationAspect (Qt3DAnimation)
- QAnimationController (Qt3DAnimation)
- QAnimationGroup (Qt3DAnimation)
- F
- qfloat16
- G
- QGeoPath
- L
- QLerpClipBlend (Qt3DAnimation)
- QLevelOfDetail (Qt3DRender)
- QLevelOfDetailBoundingSphere (Qt3DRender)
- QLevelOfDetailSwitch (Qt3DRender)
- QLidFilter
- QLidReading
- QLidSensor
New Member Functions
Class QAbstractFileEngine:
virtual QByteArray | id() const |
Class QByteArray:
quint16 | qChecksum(const char *data, uint len, Qt::ChecksumType standard) |
QByteArray | toHex(char separator) const |
Class QDataStream:
QDataStream & | operator<<(std::nullptr_t ptr) |
QDataStream & | operator<<(qfloat16 f) |
QDataStream & | operator>>(std::nullptr_t &ptr) |
QDataStream & | operator>>(qfloat16 &f) |
Class QDir:
bool | isEmpty(Filters filters) const |
Class QObject:
int | startTimer(std::chrono::milliseconds time, Qt::TimerType timerType) |
Class QStaticByteArrayMatcher:
QStaticByteArrayMatcher<N> | qMakeStaticByteArrayMatcher(const char (&)[N] pattern) |
Class QStorageInfo:
QByteArray | subvolume() const |
Class QStringRef:
const_iterator | constBegin() const |
const_iterator | constEnd() const |
bool | isRightToLeft() const |
Class QTemporaryDir:
QString | filePath(const QString &fileName) const |
Class QThreadPool:
bool | tryTake(QRunnable *runnable) |
Class QTimeZone:
QTimeZone | fromCFTimeZone(CFTimeZoneRef timeZone) |
QTimeZone | fromNSTimeZone(const NSTimeZone *timeZone) |
CFTimeZoneRef | toCFTimeZone() const |
NSTimeZone * | toNSTimeZone() const |
Class QVarLengthArray:
Class QIconEngine:
QPixmap | scaledPixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) |
Class QImage:
bool | reinterpretAsFormat(Format format) |
Class QOffscreenSurface:
void * | nativeHandle() const |
void | setNativeHandle(void *handle) |
Class QOpenGLShaderProgram:
bool | addCacheableShaderFromSourceCode(QOpenGLShader::ShaderType type, const char *source) |
bool | addCacheableShaderFromSourceCode(QOpenGLShader::ShaderType type, const QByteArray &source) |
bool | addCacheableShaderFromSourceCode(QOpenGLShader::ShaderType type, const QString &source) |
bool | addCacheableShaderFromSourceFile(QOpenGLShader::ShaderType type, const QString &fileName) |
Class QOpenGLTexture:
void | setCompressedData(int mipLevel, int layer, int layerCount, CubeMapFace cubeFace, int dataSize, const void *data, const QOpenGLPixelTransferOptions *const options) |
void | setData(int mipLevel, int layer, int layerCount, CubeMapFace cubeFace, PixelFormat sourceFormat, PixelType sourceType, const void *data, const QOpenGLPixelTransferOptions *const options) |
Class QPlatformScreen:
virtual int | currentMode() const |
virtual QString | manufacturer() const |
virtual QString | model() const |
virtual QVector<Mode> | modes() const |
virtual int | preferredMode() const |
virtual QString | serialNumber() const |
Class QPlatformTheme:
virtual QKeySequence | standardButtonShortcut(int button) const |
Class QTextDocument:
QString | toRawText() const |
Class TouchPoint:
QSizeF | ellipseDiameters() const |
Class QWindow:
Class QHostInfo:
int | lookupHost(const QString &name, Functor functor) |
int | lookupHost(const QString &name, const QObject *context, Functor functor) |
Class QNetworkAccessManager:
void | addStrictTransportSecurityHosts(const QVector<QHstsPolicy> &knownHosts) |
void | clearConnectionCache() |
bool | isStrictTransportSecurityEnabled() const |
QNetworkRequest::RedirectPolicy | redirectPolicy() const |
void | setRedirectPolicy(QNetworkRequest::RedirectPolicy policy) |
void | setStrictTransportSecurityEnabled(bool enabled) |
QVector<QHstsPolicy> | strictTransportSecurityHosts() const |
Class QNetworkConfiguration:
int | connectTimeout() const |
bool | setConnectTimeout(int timeout) |
Class QNetworkReply:
void | redirectAllowed() |
Class QWindowsWindowFunctions:
bool | isTabletMode() |
const int | isTabletModeIdentifier() |
Class QFileDialog:
QString | selectedMimeTypeFilter() const |
Class QSizePolicy:
QSizePolicy | transposed() const |
Class QSplitter:
QWidget * | replaceWidget(int index, QWidget *widget) |
Class QSystemTrayIcon:
void | showMessage(const QString &title, const QString &message, const QIcon &icon, int millisecondsTimeoutHint) |
Class QUndoCommand:
bool | isObsolete() const |
void | setObsolete(bool obsolete) |
Class QWidget:
void | setWindowFlag(Qt::WindowType flag, bool on) |
Class QCanBus:
QList<QCanBusDeviceInfo> | availableDevices(const QString &plugin, QString *errorMessage) const |
Class QCanBusFrame:
bool | hasBitrateSwitch() const |
bool | hasErrorStateIndicator() const |
void | setBitrateSwitch(bool bitrateSwitch) |
void | setErrorStateIndicator(bool errorStateIndicator) |
Class QQmlEngine:
QString | offlineStorageDatabaseFilePath(const QString &databaseName) const |
void | qmlRegisterModule(const char *uri, int versionMajor, int versionMinor) |
Class QQmlError:
QtMsgType | messageType() const |
void | setMessageType(QtMsgType messageType) |
Class QQuickWindow:
QString | sceneGraphBackend() |
Class QSGTexture:
QSGTexture::AnisotropyLevel | anisotropyLevel() const |
void | setAnisotropyLevel(AnisotropyLevel level) |
Class QWebSocketServer:
void | handleConnection(QTcpSocket *socket) const |
Class QNearFieldTarget:
bool | disconnect() |
bool | keepConnection() const |
int | maxCommandLength() const |
bool | setKeepConnection(bool isPersistent) |
Class QHelpSearchEngine:
void | search(const QString &searchInput) |
QString | searchInput() const |
int | searchResultCount() const |
QVector<QHelpSearchResult> | searchResults(int start, int end) const |
Class QHelpSearchQueryWidget:
QString | searchInput() const |
void | setSearchInput(const QString &searchInput) |
Class QQuickStyle:
QStringList | availableStyles() |
Class QSkyboxEntity:
bool | isGammaCorrectEnabled() const |
void | setGammaCorrectEnabled(bool enabled) |
Class QRenderCaptureReply:
bool | saveImage(const QString &fileName) const |
Class QGeoCameraCapabilities:
double | maximumFieldOfView() const |
double | minimumFieldOfView() const |
bool | overzoomEnabled() const |
void | setMaximumFieldOfView(double maximumFieldOfView) |
void | setMinimumFieldOfView(double minimumFieldOfView) |
void | setOverzoomEnabled(bool overzoomEnabled) |
Class QGeoCodeReply:
void | aborted() |
Class QGeoRouteReply:
void | aborted() |
Class QPlaceReply:
void | aborted() |
Class QGeoCircle:
void | extendCircle(const QGeoCoordinate &coordinate) |
Class QGeoRectangle:
void | extendRectangle(const QGeoCoordinate &coordinate) |
Class QGeoShape:
QGeoRectangle | boundingGeoRectangle() const |
New Functions in Namespaces
QTestData & | addRow(const char *format, ...) |
QQmlInfo | qmlDebug(const QObject *object) |
QQmlInfo | qmlWarning(const QObject *object) |
New Global Functions
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) |
New Enum Types
enum | RedirectPolicy { ManualRedirectPolicy, NoLessSafeRedirectPolicy, SameOriginRedirectPolicy, UserVerifiedRedirectPolicy } |
enum | AnisotropyLevel { AnisotropyNone, Anisotropy2x, Anisotropy4x, Anisotropy8x, Anisotropy16x } |
enum | ChecksumType { ChecksumIso3309, ChecksumItuV41 } |
New Type Aliases
typedef | IsTabletModeType |
New Properties
|
|
New Variables
New QML Types
New QML Properties
New QML Signals
positioningComplete() | |
positioningComplete() | |
positioningComplete() | |
positioningComplete() | |
shortcutOverride() | |
textEdited() |