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
- QAbstractVideoFilter
- QAbstractAxisInput (Qt3DInput)
- QAxisSetting (Qt3DInput)
- AssimpImporter (Qt3DRender)
- QAbstractTexture (Qt3DRender)
- QAbstractTextureImage (Qt3DRender)
- C
- QCameraViewfinderSettings
- QCameraViewfinderSettingsControl2
- QComponent (Qt3DCore)
- QCamera (Qt3DRender)
- QCameraLens (Qt3DRender)
- QCameraSelector (Qt3DRender)
- QClipPlane (Qt3DRender)
- F
- FrameRateRange (QCamera)
- QFrameAction (Qt3DLogic)
- QFilterKey (Qt3DRender)
- QFrameGraphNode (Qt3DRender)
- N
- QNode (Qt3DCore)
- QNoDraw (Qt3DRender)
- S
- QSslEllipticCurve
- QSslPreSharedKeyAuthenticator
- QSkyboxEntity (Qt3DExtras)
- QShaderData (Qt3DRender)
- QShaderProgram (Qt3DRender)
- QSpotLight (Qt3DRender)
- 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 QLowEnergyController:
| QString | remoteName() const |
Class QGraphicsScene:
| void | setSelectionArea(const QPainterPath &path, Qt::ItemSelectionOperation selectionOperation, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, const QTransform &deviceTransform = QTransform()) |
Class QGeoCircle:
| QString | toString() const |
Class QFrame:
| void | initStyleOption(QStyleOptionFrame *option) const |
Class QVariant:
| QPersistentModelIndex | toPersistentModelIndex() const |
Class QWebHitTestResult:
| QString | linkTitleString() const |
Class QMetaProperty:
| QVariant | readOnGadget(const void *gadget) const |
| bool | resetOnGadget(void *gadget) const |
| bool | writeOnGadget(void *gadget, const QVariant &value) const |
Class QMetaEnum:
| QMetaEnum | fromType() |
Class QVarLengthArray:
| QVarLengthArray<T, Prealloc> & | operator=(std::initializer_list<T> list) |
Class QAbstractScrollArea:
| QMargins | viewportMargins() const |
Class QItemSelectionModel:
| QAbstractItemModel * | model() |
| void | modelChanged(QAbstractItemModel *model) |
| void | setModel(QAbstractItemModel *model) |
Class QQuickWidget:
| QQuickWindow * | quickWindow() const |
Class QCameraImageProcessing:
| ColorFilter | colorFilter() const |
| bool | isColorFilterSupported(ColorFilter filter) const |
| void | setColorFilter(ColorFilter filter) |
Class QBluetoothHostInfo:
| bool | operator!=(const QBluetoothHostInfo &other) const |
| bool | operator==(const QBluetoothHostInfo &other) const |
Class QPlainTextEdit:
| QMenu * | createStandardContextMenu(const QPoint &position) |
Class QLoggingCategory:
| bool | isInfoEnabled() const |
Class QAssociativeIterable:
| const_iterator | find(const QVariant &key) const |
Class QSGSimpleTextureNode:
| void | setSourceRect(const QRectF &r) |
| void | setSourceRect(qreal x, qreal y, qreal w, qreal h) |
| QRectF | sourceRect() const |
Class QJsonObject:
| QJsonObject | fromVariantHash(const QVariantHash &hash) |
| QVariantHash | toVariantHash() const |
Class QSpacerItem:
| QSizePolicy | sizePolicy() const |
Class QBluetoothDeviceInfo:
| QBluetoothUuid | deviceUuid() const |
| void | setDeviceUuid(const QBluetoothUuid &uuid) |
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 QThread:
| int | loopLevel() const |
Class QNetworkReply:
| void | preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator) |
Class QState:
| QSignalTransition * | addTransition(const QObject *sender, PointerToMemberFunction signal, QAbstractState *target) |
Class QGeoShape:
Class QCamera:
| void | setViewfinderSettings(const QCameraViewfinderSettings &settings) |
| QList<FrameRateRange> | supportedViewfinderFrameRateRanges(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const |
| QList<QVideoFrame::PixelFormat> | supportedViewfinderPixelFormats(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const |
| QList<QSize> | supportedViewfinderResolutions(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const |
| QList<QCameraViewfinderSettings> | supportedViewfinderSettings(const QCameraViewfinderSettings &settings = QCameraViewfinderSettings()) const |
| QCameraViewfinderSettings | viewfinderSettings() const |
Class QOpenGLWidget:
| void | setUpdateBehavior(UpdateBehavior updateBehavior) |
| UpdateBehavior | updateBehavior() 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 QHostAddress:
| void | setAddress(const quint8 *ip6Addr) |
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 QDateTime:
| QDateTime | fromCFDate(CFDateRef date) |
| QDateTime | fromNSDate(const NSDate *date) |
| CFDateRef | toCFDate() const |
| NSDate * | toNSDate() const |
Class QTimeZone:
| QTimeZone | systemTimeZone() |
| QTimeZone | utc() |
Class QPair:
| void | swap(QPair &other) |
Class QRegularExpression:
| QRegularExpressionMatchIterator | globalMatch(const QStringRef &subjectRef, int offset = 0, MatchType matchType = NormalMatch, MatchOptions matchOptions = NoMatchOption) const |
| QRegularExpressionMatch | match(const QStringRef &subjectRef, int offset = 0, MatchType matchType = NormalMatch, MatchOptions matchOptions = NoMatchOption) const |
Class QNetworkAccessManager:
| void | preSharedKeyAuthenticationRequired(QNetworkReply *reply, QSslPreSharedKeyAuthenticator *authenticator) |
Class QGeoRectangle:
| QString | toString() const |
Class QTextStream:
| bool | readLineInto(QString *line, qint64 maxlen = 0) |
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 QVector:
| void | append(const QVector<T> &value) |
Class QDBusConnection:
| bool | registerObject(const QString &path, const QString &interface, QObject *object, RegisterOptions options = ExportAdaptors) |
Class QSslConfiguration:
| QVector<QSslEllipticCurve> | ellipticCurves() const |
| void | setEllipticCurves(const QVector<QSslEllipticCurve> &curves) |
| QList<QSslCipher> | supportedCiphers() |
| QVector<QSslEllipticCurve> | supportedEllipticCurves() |
| QList<QSslCertificate> | systemCaCertificates() |
Class QDebug:
| QDebug & | operator<<(char16_t t) |
| QDebug & | operator<<(char32_t t) |
Class QMetaMethod:
| bool | invokeOnGadget(void *gadget, QGenericReturnArgument returnValue, QGenericArgument val0 = QGenericArgument( Q_NULLPTR ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument()) const |
| bool | invokeOnGadget(void *gadget, QGenericArgument val0 = QGenericArgument( Q_NULLPTR ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument()) const |
Class QSslSocket:
| void | preSharedKeyAuthenticationRequired(QSslPreSharedKeyAuthenticator *authenticator) |
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 QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs) |
| bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
| bool | operator!=(const QCameraViewfinderSettings &lhs, const QCameraViewfinderSettings &rhs) |
| QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
| bool | operator<=(const QUuid &lhs, const QUuid &rhs) |
| bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
| bool | operator>=(const QUuid &lhs, const QUuid &rhs) |
| int | qEnvironmentVariableIntValue(const char *varName, bool *ok = Q_NULLPTR) |
| uint | qHash(QSslEllipticCurve curve, uint seed = 0) |
| uint | qHash(const QSet<T> &key, uint seed = 0) |
| uint | qHashRange(InputIterator first, InputIterator last, uint seed = 0) |
| uint | qHashRangeCommutative(InputIterator first, InputIterator last, uint seed = 0) |
| QJSEngine * | qjsEngine(const QObject *object) |
| void | swap(QPair<T1, T2> &lhs, QPair<T1, T2> &rhs) |
New Macros
| Q_ENUM(...) | |
| Q_FLAG(...) | |
| qCInfo(category, const char *message, ...) | |
| qCInfo(category) | |
| qInfo(const char *message, ...) |
New Enum Types
| enum | ColorFilter { ColorFilterNone, ColorFilterGrayscale, ColorFilterNegative, ColorFilterSolarize, ..., ColorFilterVendor } |
| enum | UpdateBehavior { NoPartialUpdate, PartialUpdate } |
| enum | TabFocusBehavior { NoTabFocus, TabFocusTextControls, TabFocusListControls, TabFocusAllControls } |
New Properties
|
|
New QML Types
New QML Properties
New QML Signals
| tagFound() | |
| tagRemoved() | |
| smartZoom() |
New QML Methods
| list<object> | supportedViewfinderFrameRateRanges(size resolution = undefined) |
| list<size> | supportedViewfinderResolutions(real minimumFrameRate = undefined, real maximumFrameRate = undefined) |
| string | getDataAsArrayBuffer(string format) |
| color | hsva(real hue, real saturation, real value, real alpha) |
| geocircle | shapeToCircle(geoshape shape) const |
| georectangle | shapeToRectangle(geoshape shape) const |