New Classes and Functions in Qt 5.5
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.5. 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 Macros
- New Enum Types
- New Properties
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods
New Classes
- A
- QAbstractAxisInput (Qt3DInput)
- QAbstractTexture (Qt3DRender)
- QAbstractTextureImage (Qt3DRender)
- QAbstractVideoFilter
- QAxisSetting (Qt3DInput)
- C
- QCamera (Qt3DRender)
- QCameraLens (Qt3DRender)
- QCameraSelector (Qt3DRender)
- QCameraViewfinderSettings
- QCameraViewfinderSettingsControl2
- QClipPlane (Qt3DRender)
- QComponent (Qt3DCore)
- F
- FrameRateRange (QCamera)
- QFilterKey (Qt3DRender)
- QFrameAction (Qt3DLogic)
- QFrameGraphNode (Qt3DRender)
- N
- QNode (Qt3DCore)
- QNoDraw (Qt3DRender)
- O
- QOpenGLFunctions_4_4_Compatibility
- QOpenGLFunctions_4_4_Core
- QOpenGLFunctions_4_5_Compatibility
- QOpenGLFunctions_4_5_Core
- S
- QShaderData (Qt3DRender)
- QShaderProgram (Qt3DRender)
- QSkyboxEntity (Qt3DExtras)
- QSpotLight (Qt3DRender)
- QSslEllipticCurve
- QSslPreSharedKeyAuthenticator
- T
- QTexture1D (Qt3DRender)
- QTexture1DArray (Qt3DRender)
- QTexture2D (Qt3DRender)
- QTexture2DArray (Qt3DRender)
- QTexture2DMultisample (Qt3DRender)
- QTexture2DMultisampleArray (Qt3DRender)
- QTexture3D (Qt3DRender)
- QTextureBuffer (Qt3DRender)
- QTextureCubeMap (Qt3DRender)
- QTextureCubeMapArray (Qt3DRender)
- QTextureImage (Qt3DRender)
- QTextureImageData (Qt3DRender)
- QTextureRectangle (Qt3DRender)
- QTextureWrapMode (Qt3DRender)
New Member Functions
Class QLowEnergyService:
void | characteristicRead(const QLowEnergyCharacteristic &characteristic, const QByteArray &value) |
void | descriptorRead(const QLowEnergyDescriptor &descriptor, const QByteArray &value) |
void | readCharacteristic(const QLowEnergyCharacteristic &characteristic) |
void | readDescriptor(const QLowEnergyDescriptor &descriptor) |
Class QBluetoothHostInfo:
bool | operator!=(const QBluetoothHostInfo &other) const |
bool | operator==(const QBluetoothHostInfo &other) const |
Class QBluetoothDeviceInfo:
QBluetoothUuid | deviceUuid() const |
void | setDeviceUuid(const QBluetoothUuid &uuid) |
Class QLowEnergyController:
QString | remoteName() const |
Class QMessageLogger:
void | info(const char *msg, ...) const |
void | info(const QLoggingCategory &cat, const char *msg, ...) const |
void | info(QMessageLogger::CategoryFunction catFunc, const char *msg, ...) const |
QDebug | info() const |
QDebug | info(const QLoggingCategory &cat) const |
QDebug | info(QMessageLogger::CategoryFunction catFunc) const |
Class QPair:
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
void | swap(QPair<T1, T2> &other) |
Class QChar:
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
Class QStringView:
uint | qHash(const QSet<T> &key, uint seed) |
Class QString:
QString | asprintf(const char *cformat, ...) |
QString | fromStdU16String(const std::u16string &str) |
QString | fromStdU32String(const std::u32string &str) |
int | indexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const |
QString & | insert(int position, const QStringRef &str) |
QString & | insert(int position, const char *str) |
QString & | insert(int position, const QByteArray &str) |
int | lastIndexOf(const QRegularExpression &re, int from, QRegularExpressionMatch *rmatch) const |
QString & | prepend(const QChar *str, int len) |
QString & | prepend(const QStringRef &str) |
std::u16string | toStdU16String() const |
std::u32string | toStdU32String() const |
QString | vasprintf(const char *cformat, va_list ap) |
Class QVector:
void | append(const QVector<T> &value) |
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
uint | qHash(const QSet<T> &key, uint seed) |
Class QList:
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
uint | qHash(const QSet<T> &key, uint seed) |
Class QRegExp:
uint | qHash(const QSet<T> &key, uint seed) |
Class QVarLengthArray:
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
QVarLengthArray<T, Prealloc> & | operator=(std::initializer_list<T> list) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
Class QMetaType:
bool | equals(const void *lhs, const void *rhs, int typeId, int *result) |
const QMetaObject * | metaObject() const |
bool | registerEqualsComparator() |
int | type(const ::QByteArray &typeName) |
Class QHash:
uint | qHash(const QSet<T> &key, uint seed) |
uint | qHashRange(InputIterator first, InputIterator last, uint seed) |
uint | qHashRangeCommutative(InputIterator first, InputIterator last, uint seed) |
Class QMultiHash:
uint | qHash(const QSet<T> &key, uint seed) |
Class QVariant:
QPersistentModelIndex | toPersistentModelIndex() const |
Class QAssociativeIterable:
QAssociativeIterable::const_iterator | find(const QVariant &key) const |
Class QPersistentModelIndex:
uint | qHash(const QSet<T> &key, uint seed) |
Class QDateTime:
QDateTime | fromCFDate(CFDateRef date) |
QDateTime | fromNSDate(const NSDate *date) |
CFDateRef | toCFDate() const |
NSDate * | toNSDate() const |
Class QLocale:
uint | qHash(const QSet<T> &key, uint seed) |
Class QTextStream:
bool | readLineInto(QString *line, qint64 maxlen) |
Class QDebug:
QDebug & | operator<<(char16_t t) |
QDebug & | operator<<(char32_t t) |
Class QRegularExpression:
QRegularExpressionMatchIterator | globalMatch(const QStringRef &subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const |
QRegularExpressionMatch | match(const QStringRef &subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const |
Class QUuid:
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
Class QItemSelectionModel:
QAbstractItemModel * | model() |
void | modelChanged(QAbstractItemModel *model) |
void | setModel(QAbstractItemModel *model) |
Class QJsonObject:
QJsonObject | fromVariantHash(const QVariantHash &hash) |
QVariantHash | toVariantHash() const |
Class QLoggingCategory:
bool | isInfoEnabled() const |
Class QMetaMethod:
bool | invokeOnGadget(void *gadget, QGenericReturnArgument returnValue, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9) const |
bool | invokeOnGadget(void *gadget, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9) const |
Class QMetaEnum:
QMetaEnum | fromType() |
Class QMetaProperty:
QVariant | readOnGadget(const void *gadget) const |
bool | resetOnGadget(void *gadget) const |
bool | writeOnGadget(void *gadget, const QVariant &value) const |
Class QState:
QSignalTransition * | addTransition(const QObject *sender, PointerToMemberFunction signal, QAbstractState *target) |
Class QThread:
int | loopLevel() const |
Class QTimeZone:
QTimeZone | systemTimeZone() |
QTimeZone | utc() |
Class QDBusConnection:
bool | registerObject(const QString &path, const QString &interface, QObject *object, QDBusConnection::RegisterOptions options) |
Class QPlatformIntegration:
virtual void | destroy() |
virtual void | setApplicationIcon(const QIcon &icon) const |
Class QWheelEvent:
Qt::MouseEventSource | source() const |
Class QVector2D:
QVector3D | operator*(const QQuaternion &quaternion, const QVector3D &vec) |
const QVector2D | operator/(const QVector2D &vector, const QVector2D &divisor) |
const QVector3D | operator/(const QVector3D &vector, const QVector3D &divisor) |
const QVector4D | operator/(const QVector4D &vector, const QVector4D &divisor) |
QVector2D & | operator/=(const QVector2D &vector) |
Class QWindow:
void | requestUpdate() |
Class QGenericMatrix:
QVector3D | operator*(const QQuaternion &quaternion, const QVector3D &vec) |
const QVector3D | operator/(const QVector3D &vector, const QVector3D &divisor) |
const QVector4D | operator/(const QVector4D &vector, const QVector4D &divisor) |
Class QImageWriter:
bool | optimizedWrite() const |
bool | progressiveScanWrite() const |
void | setOptimizedWrite(bool optimize) |
void | setProgressiveScanWrite(bool progressive) |
void | setTransformation(QImageIOHandler::Transformations transform) |
QImageIOHandler::Transformations | transformation() const |
Class QImageReader:
bool | autoTransform() const |
void | setAutoTransform(bool enabled) |
QImageIOHandler::Transformations | transformation() const |
Class QVector3D:
QVector3D | operator*(const QQuaternion &quaternion, const QVector3D &vec) |
const QVector3D | operator/(const QVector3D &vector, const QVector3D &divisor) |
const QVector4D | operator/(const QVector4D &vector, const QVector4D &divisor) |
QVector3D & | operator/=(const QVector3D &vector) |
QVector3D | project(const QMatrix4x4 &modelView, const QMatrix4x4 &projection, const QRect &viewport) const |
QVector3D | unproject(const QMatrix4x4 &modelView, const QMatrix4x4 &projection, const QRect &viewport) const |
Class QVector4D:
QVector3D | operator*(const QQuaternion &quaternion, const QVector3D &vec) |
const QVector4D | operator/(const QVector4D &vector, const QVector4D &divisor) |
QVector4D & | operator/=(const QVector4D &vector) |
Class QQuaternion:
QQuaternion | conjugated() const |
float | dotProduct(const QQuaternion &q1, const QQuaternion &q2) |
QQuaternion | fromAxes(const QVector3D &xAxis, const QVector3D &yAxis, const QVector3D &zAxis) |
QQuaternion | fromDirection(const QVector3D &direction, const QVector3D &up) |
QQuaternion | fromEulerAngles(float pitch, float yaw, float roll) |
QQuaternion | fromEulerAngles(const QVector3D &eulerAngles) |
QQuaternion | fromRotationMatrix(const QMatrix3x3 &rot3x3) |
void | getAxes(QVector3D *xAxis, QVector3D *yAxis, QVector3D *zAxis) const |
void | getAxisAndAngle(float *x, float *y, float *z, float *angle) const |
void | getAxisAndAngle(QVector3D *axis, float *angle) const |
void | getEulerAngles(float *pitch, float *yaw, float *roll) const |
QQuaternion | inverted() const |
QVector3D | operator*(const QQuaternion &quaternion, const QVector3D &vec) |
QQuaternion | rotationTo(const QVector3D &from, const QVector3D &to) |
QVector3D | toEulerAngles() const |
QMatrix3x3 | toRotationMatrix() const |
Class QFontDatabase:
bool | isPrivateFamily(const QString &family) const |
Class QPixelFormat:
QPixelFormat | qPixelFormatAlpha(uchar channelSize, QPixelFormat::TypeInterpretation typeInterpretation) |
Class QTextDocument:
QTextCursor | find(const QRegularExpression &expr, int from, QTextDocument::FindFlags options) const |
QTextCursor | find(const QRegularExpression &expr, const QTextCursor &cursor, QTextDocument::FindFlags options) const |
Class QMatrix4x4:
bool | isAffine() const |
Class QOpenGLContext:
QOpenGLContext * | globalShareContext() |
bool | supportsThreadedOpenGL() |
Class QOpenGLTexture:
void | allocateStorage(QOpenGLTexture::PixelFormat pixelFormat, QOpenGLTexture::PixelType pixelType) |
QOpenGLTexture::ComparisonFunction | comparisonFunction() const |
QOpenGLTexture::ComparisonMode | comparisonMode() const |
void | setComparisonFunction(QOpenGLTexture::ComparisonFunction function) |
void | setComparisonMode(QOpenGLTexture::ComparisonMode mode) |
Class QPlatformFontDatabase:
QFont::Weight | weightFromInteger(int weight) |
Class QCameraImageProcessing:
QCameraImageProcessing::ColorFilter | colorFilter() const |
bool | isColorFilterSupported(QCameraImageProcessing::ColorFilter filter) const |
void | setColorFilter(QCameraImageProcessing::ColorFilter filter) |
Class QCameraViewfinderSettings:
bool | operator!=(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
bool | operator==(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
Class QCamera:
void | setViewfinderSettings(const QCameraViewfinderSettings &settings) |
QList<QCamera::FrameRateRange> | supportedViewfinderFrameRateRanges(const QCameraViewfinderSettings &settings) const |
QList<QVideoFrame::PixelFormat> | supportedViewfinderPixelFormats(const QCameraViewfinderSettings &settings) const |
QList<QSize> | supportedViewfinderResolutions(const QCameraViewfinderSettings &settings) const |
QList<QCameraViewfinderSettings> | supportedViewfinderSettings(const QCameraViewfinderSettings &settings) const |
QCameraViewfinderSettings | viewfinderSettings() const |
Class QSslConfiguration:
QVector<QSslEllipticCurve> | ellipticCurves() const |
void | setEllipticCurves(const QVector<QSslEllipticCurve> &curves) |
QList<QSslCipher> | supportedCiphers() |
QVector<QSslEllipticCurve> | supportedEllipticCurves() |
QList<QSslCertificate> | systemCaCertificates() |
Class QSslEllipticCurve:
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
Class QSslDiffieHellmanParameters:
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
uint | qHash(QSslEllipticCurve curve, uint seed) |
Class QNetworkAccessManager:
void | preSharedKeyAuthenticationRequired(QNetworkReply *reply, QSslPreSharedKeyAuthenticator *authenticator) |
Class QNetworkCacheMetaData:
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
Class QNetworkReply:
void | preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator) |
Class QSslSocket:
void | preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator) |
Class QOcspResponse:
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
Class QHostAddress:
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
uint | qHash(QSslEllipticCurve curve, uint seed) |
void | setAddress(const quint8 *ip6Addr) |
Class QSslPreSharedKeyAuthenticator:
bool | operator!=(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs) |
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
bool | operator==(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
Class QGeoRectangle:
QString | toString() const |
Class QGeoCircle:
QString | toString() const |
Class QGeoShape:
Class QJSEngine:
QJSEngine * | qjsEngine(const QObject *object) |
Class QQuickWidget:
QQuickWindow * | quickWindow() const |
Class QSGSimpleTextureNode:
void | setSourceRect(const QRectF &r) |
void | setSourceRect(qreal x, qreal y, qreal w, qreal h) |
QRectF | sourceRect() const |
Class QSpacerItem:
QSizePolicy | sizePolicy() const |
Class QFrame:
void | initStyleOption(QStyleOptionFrame *option) const |
Class QAbstractScrollArea:
QMargins | viewportMargins() const |
Class QGraphicsScene:
void | setSelectionArea(const QPainterPath &path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform &deviceTransform) |
Class QOpenGLWidget:
void | setUpdateBehavior(QOpenGLWidget::UpdateBehavior updateBehavior) |
QOpenGLWidget::UpdateBehavior | updateBehavior() const |
Class QPlainTextEdit:
QMenu * | createStandardContextMenu(const QPoint &position) |
New Functions in Namespaces
char * | toString(QSizePolicy sp) |
char * | toString(QSizePolicy::ControlType ct) |
char * | toString(QSizePolicy::ControlTypes cts) |
char * | toString(QSizePolicy::Policy p) |
New Global Functions
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
bool | operator!=(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs) |
bool | operator!=(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
QVector3D | operator*(const QQuaternion &quaternion, const QVector3D &vec) |
const QVector4D | operator/(const QVector4D &vector, const QVector4D &divisor) |
const QVector3D | operator/(const QVector3D &vector, const QVector3D &divisor) |
const QVector2D | operator/(const QVector2D &vector, const QVector2D &divisor) |
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
bool | operator==(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs) |
bool | operator==(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
int | qEnvironmentVariableIntValue(const char *varName, bool *ok) |
int | qEnvironmentVariableIntValue(const char *varName, bool *ok) |
uint | qHash(QSslEllipticCurve curve, uint seed) |
uint | qHash(QSslEllipticCurve curve, uint seed) |
uint | qHash(const QSet<T> &key, uint seed) |
uint | qHashRange(InputIterator first, InputIterator last, uint seed) |
uint | qHashRangeCommutative(InputIterator first, InputIterator last, uint seed) |
QPixelFormat | qPixelFormatAlpha(uchar channelSize, QPixelFormat::TypeInterpretation typeInterpretation) |
QJSEngine * | qjsEngine(const QObject *object) |
void | swap(QPair<T1, T2> &lhs, QPair<T1, T2> &rhs) |
New Macros
Q_ENUM(...) | |
Q_ENUM(...) | |
Q_FLAG(...) | |
Q_FLAG(...) | |
qCInfo(category, const char *message, ...) | |
qCInfo(category) | |
qCInfo(category, const char *message, ...) | |
qCInfo(category) | |
qInfo(const char *message, ...) | |
qInfo(const char *message, ...) |
New Enum Types
enum | ColorFilter { ColorFilterNone, ColorFilterGrayscale, ColorFilterNegative, ColorFilterSolarize, ..., ColorFilterVendor } |
enum | Transformation { TransformationNone, TransformationMirror, TransformationFlip, TransformationRotate180, ..., TransformationRotate270 } |
enum | ComparisonFunction { CompareLessEqual, CompareGreaterEqual, CompareLess, CompareGreater, ..., CompareNever } |
enum | ComparisonMode { CompareRefToTexture, CompareNone } |
enum | UpdateBehavior { NoPartialUpdate, PartialUpdate } |
enum | TabFocusBehavior { NoTabFocus, TabFocusTextControls, TabFocusListControls, TabFocusAllControls } |
New Properties
|
New QML Types
New QML Properties
New QML Signals
smartZoom() | |
tagFound() | |
tagRemoved() |
New QML Methods
getDataAsArrayBuffer() | |
hsva() | |
shapeToCircle() | |
shapeToRectangle() | |
supportedViewfinderFrameRateRanges() | |
supportedViewfinderResolutions() |
Additions to Other Qt 5 Releases
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.