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 QAssociativeIterable:
const_iterator | find(const QVariant &key) const |
Class FromBase64Result:
uint | qHash(const QSet<T> &key, uint seed) |
Class QChar:
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
Class QDateTime:
QDateTime | fromCFDate(CFDateRef date) |
QDateTime | fromNSDate(const NSDate *date) |
CFDateRef | toCFDate() const |
NSDate * | toNSDate() const |
Class QDebug:
QDebug & | operator<<(char16_t t) |
QDebug & | operator<<(char32_t t) |
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 QItemSelectionModel:
QAbstractItemModel * | model() |
void | modelChanged(QAbstractItemModel *model) |
void | setModel(QAbstractItemModel *model) |
Class QJsonObject:
QJsonObject | fromVariantHash(const QVariantHash &hash) |
QVariantHash | toVariantHash() const |
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 QLocale:
uint | qHash(const QSet<T> &key, uint seed) |
Class QLoggingCategory:
bool | isInfoEnabled() const |
Class QMessageLogger:
void | info(const char *msg, ...) const |
void | info(const QLoggingCategory &cat, const char *msg, ...) const |
void | info(CategoryFunction catFunc, const char *msg, ...) const |
QDebug | info() const |
QDebug | info(const QLoggingCategory &cat) const |
QDebug | info(CategoryFunction catFunc) const |
Class QMetaEnum:
QMetaEnum | fromType() |
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 QMetaProperty:
QVariant | readOnGadget(const void *gadget) const |
bool | resetOnGadget(void *gadget) const |
bool | writeOnGadget(void *gadget, const QVariant &value) const |
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 QMultiHash:
uint | qHash(const QSet<T> &key, uint seed) |
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 QPersistentModelIndex:
uint | qHash(const QSet<T> &key, uint seed) |
Class QRegExp:
uint | qHash(const QSet<T> &key, uint seed) |
Class QRegularExpression:
QRegularExpressionMatchIterator | globalMatch(const QStringRef &subjectRef, int offset, MatchType matchType, MatchOptions matchOptions) const |
QRegularExpressionMatch | match(const QStringRef &subjectRef, int offset, MatchType matchType, MatchOptions matchOptions) const |
Class QState:
QSignalTransition * | addTransition(const QObject *sender, PointerToMemberFunction signal, QAbstractState *target) |
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 QStringView:
uint | qHash(const QSet<T> &key, uint seed) |
Class QTextStream:
bool | readLineInto(QString *line, qint64 maxlen) |
Class QThread:
int | loopLevel() const |
Class QTimeZone:
QTimeZone | systemTimeZone() |
QTimeZone | utc() |
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) |
uint | qHash(const QSet<T> &key, uint seed) |
Class QUuid:
bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
Class QVariant:
QPersistentModelIndex | toPersistentModelIndex() const |
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 QDBusConnection:
bool | registerObject(const QString &path, const QString &interface, QObject *object, RegisterOptions options) |
Class QFontDatabase:
bool | isPrivateFamily(const QString &family) const |
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 QImageReader:
bool | autoTransform() const |
void | setAutoTransform(bool enabled) |
QImageIOHandler::Transformations | transformation() const |
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 QMatrix4x4:
bool | isAffine() const |
Class QOpenGLContext:
QOpenGLContext * | globalShareContext() |
bool | supportsThreadedOpenGL() |
Class QOpenGLTexture:
void | allocateStorage(PixelFormat pixelFormat, PixelType pixelType) |
ComparisonFunction | comparisonFunction() const |
ComparisonMode | comparisonMode() const |
void | setComparisonFunction(ComparisonFunction function) |
void | setComparisonMode(ComparisonMode mode) |
Class QPixelFormat:
QPixelFormat | qPixelFormatAlpha(uchar channelSize, QPixelFormat::TypeInterpretation typeInterpretation) |
Class QPlatformFontDatabase:
QFont::Weight | weightFromInteger(int weight) |
Class QPlatformIntegration:
virtual void | destroy() |
virtual void | setApplicationIcon(const QIcon &icon) const |
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 QTextDocument:
QTextCursor | find(const QRegularExpression &expr, int from, FindFlags options) const |
QTextCursor | find(const QRegularExpression &expr, const QTextCursor &cursor, FindFlags options) 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 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 QWheelEvent:
Qt::MouseEventSource | source() const |
Class QWindow:
void | requestUpdate() |
Class QHostAddress:
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
uint | qHash(QSslEllipticCurve curve, uint seed) |
void | setAddress(const quint8 *ip6Addr) |
Class QNetworkAccessManager:
void | preSharedKeyAuthenticationRequired(QNetworkReply *reply, QSslPreSharedKeyAuthenticator *authenticator) |
Class QNetworkCacheMetaData:
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
Class QNetworkReply:
void | preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator) |
Class QOcspResponse:
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
Class QSslConfiguration:
QVector<QSslEllipticCurve> | ellipticCurves() const |
void | setEllipticCurves(const QVector<QSslEllipticCurve> &curves) |
QList<QSslCipher> | supportedCiphers() |
QVector<QSslEllipticCurve> | supportedEllipticCurves() |
QList<QSslCertificate> | systemCaCertificates() |
Class QSslDiffieHellmanParameters:
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
uint | qHash(QSslEllipticCurve curve, uint seed) |
Class QSslEllipticCurve:
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
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 QSslSocket:
void | preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator) |
Class QAbstractScrollArea:
QMargins | viewportMargins() const |
Class QFrame:
void | initStyleOption(QStyleOptionFrame *option) const |
Class QGraphicsScene:
void | setSelectionArea(const QPainterPath &path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode, const QTransform &deviceTransform) |
Class QOpenGLWidget:
void | setUpdateBehavior(UpdateBehavior updateBehavior) |
UpdateBehavior | updateBehavior() const |
Class QPlainTextEdit:
QMenu * | createStandardContextMenu(const QPoint &position) |
Class QSpacerItem:
QSizePolicy | sizePolicy() const |
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 QBluetoothDeviceInfo:
QBluetoothUuid | deviceUuid() const |
void | setDeviceUuid(const QBluetoothUuid &uuid) |
Class QBluetoothHostInfo:
bool | operator!=(const QBluetoothHostInfo &other) const |
bool | operator==(const QBluetoothHostInfo &other) const |
Class QLowEnergyController:
QString | remoteName() const |
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 QCamera:
void | setViewfinderSettings(const QCameraViewfinderSettings &settings) |
QList<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 QCameraImageProcessing:
ColorFilter | colorFilter() const |
bool | isColorFilterSupported(ColorFilter filter) const |
void | setColorFilter(ColorFilter filter) |
Class QCameraViewfinderSettings:
bool | operator!=(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
bool | operator==(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
Class QGeoCircle:
QString | toString() const |
Class QGeoRectangle:
QString | toString() const |
Class QGeoShape:
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!=(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
bool | operator!=(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &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==(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
bool | operator==(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &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, ColorFilterSepia, …, ColorFilterVendor } |
enum | Transformation { TransformationNone, TransformationMirror, TransformationFlip, TransformationRotate180, TransformationRotate90, …, TransformationRotate270 } |
enum | ComparisonFunction { CompareLessEqual, CompareGreaterEqual, CompareLess, CompareGreater, CompareEqual, …, 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() |