New Classes and Functions in Qt 5.7
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.7. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
- New Classes
- New Member Functions
- New Global Functions
- New Macros
- New Enum Types
- New Typedefs
- New QML Types
- New QML Properties
- New QML Methods
New Classes
- A
- AddressInfo (QLowEnergyAdvertisingParameters)
- QAbstractActionInput (Qt3DInput)
- QAction (Qt3DInput)
- QActionInput (Qt3DInput)
- QAnalogAxisInput (Qt3DInput)
- QAxis (Qt3DInput)
- QAbstractFunctor (Qt3DRender)
- QAlphaCoverage (Qt3DRender)
- QAlphaTest (Qt3DRender)
- C
- QConeGeometry (Qt3DExtras)
- QCuboidGeometry (Qt3DExtras)
- QCylinderGeometry (Qt3DExtras)
- QClearBuffers (Qt3DRender)
- QColorMask (Qt3DRender)
- QComputeCommand (Qt3DRender)
- QCullFace (Qt3DRender)
- D
- QDiffuseMapMaterial (Qt3DExtras)
- QDiffuseSpecularMapMaterial (Qt3DExtras)
- QDepthTest (Qt3DRender)
- QDirectionalLight (Qt3DRender)
- QDispatchCompute (Qt3DRender)
- QDithering (Qt3DRender)
- E
- QEffect (Qt3DRender)
- F
- QFirstPersonCameraController (Qt3DExtras)
- QForwardRenderer (Qt3DExtras)
- QFrontFace (Qt3DRender)
- QFrustumCulling (Qt3DRender)
- L
- QLowEnergyAdvertisingData
- QLowEnergyAdvertisingParameters
- QLowEnergyCharacteristicData
- QLowEnergyConnectionParameters
- QLowEnergyDescriptorData
- QLowEnergyServiceData
- QLogicAspect (Qt3DLogic)
- N
- QNodeCreatedChange (Qt3DCore)
- QNodeDestroyedChange (Qt3DCore)
- QNormalDiffuseMapAlphaMaterial (Qt3DExtras)
- QNormalDiffuseMapMaterial (Qt3DExtras)
- QNormalDiffuseSpecularMapMaterial (Qt3DExtras)
- QNoDepthMask (Qt3DRender)
- P
- QPerVertexColorMaterial (Qt3DExtras)
- QPhongAlphaMaterial (Qt3DExtras)
- QPhongMaterial (Qt3DExtras)
- QPlaneGeometry (Qt3DExtras)
- QPickEvent (Qt3DRender)
- QPickTriangleEvent (Qt3DRender)
- QPickingSettings (Qt3DRender)
- QPointSize (Qt3DRender)
- QPolygonOffset (Qt3DRender)
- R
- QRenderAspect (Qt3DRender)
- QRenderPass (Qt3DRender)
- QRenderPassFilter (Qt3DRender)
- QRenderSettings (Qt3DRender)
- QRenderState (Qt3DRender)
- QRenderStateCreatedChange (Qt3DRender)
- QRenderSurfaceSelector (Qt3DRender)
- QRenderTarget (Qt3DRender)
- QRenderTargetOutput (Qt3DRender)
- QRenderTargetSelector (Qt3DRender)
- S
- QScxmlCompiler
- QScxmlCppDataModel
- QScxmlDataModel
- QScxmlEcmaScriptDataModel
- QScxmlError
- QScxmlEvent
- QScxmlNullDataModel
- QScxmlStateMachine
- QStaticPropertyUpdatedChangeBase (Qt3DCore)
- QStaticPropertyValueAddedChangeBase (Qt3DCore)
- QStaticPropertyValueRemovedChangeBase (Qt3DCore)
- QSphereGeometry (Qt3DExtras)
- QSceneLoader (Qt3DRender)
- QScissorTest (Qt3DRender)
- QSeamlessCubemap (Qt3DRender)
- QSortPolicy (Qt3DRender)
- QStencilMask (Qt3DRender)
- QStencilOperation (Qt3DRender)
- QStencilOperationArguments (Qt3DRender)
- QStencilTest (Qt3DRender)
- QStencilTestArguments (Qt3DRender)
- T
- QTorusGeometry (Qt3DExtras)
- QTechnique (Qt3DRender)
- QTechniqueFilter (Qt3DRender)
- QTextureData (Qt3DRender)
- QTextureImageDataGenerator (Qt3DRender)
- V
- QViewport (Qt3DRender)
New Member Functions
Class QMetaObject:
| bool | inherits(const QMetaObject *metaObject) const |
Class QBasicMutex:
| bool | isRecursive() const |
Class QHash:
| QPair<iterator, iterator> | equal_range(const Key &key) |
| QPair<const_iterator, const_iterator> | equal_range(const Key &key) const |
| iterator | erase(const_iterator pos) |
Class QIODevice:
| void | channelBytesWritten(int channel, qint64 bytes) |
| void | channelReadyRead(int channel) |
| void | commitTransaction() |
| int | currentReadChannel() const |
| int | currentWriteChannel() const |
| bool | isTransactionStarted() const |
| int | readChannelCount() const |
| void | rollbackTransaction() |
| void | setCurrentReadChannel(int channel) |
| void | setCurrentWriteChannel(int channel) |
| void | startTransaction() |
| int | writeChannelCount() const |
Class QQmlFileSelector:
| QFileSelector * | selector() const |
Class QFlags:
| QFlags & | setFlag(Enum flag, bool on = true) |
Class QString:
| void | resize(int size, QChar fillChar) |
Class QUuid:
| QUuid | fromCFUUID(CFUUIDRef uuid) |
| QUuid | fromNSUUID(const NSUUID *uuid) |
| CFUUIDRef | toCFUUID() const |
| NSUUID * | toNSUUID() const |
Class QMediaPlaylistProvider:
| virtual bool | moveMedia(int from, int to) |
Class QModbusRtuSerialMaster:
| int | interFrameDelay() const |
| void | setInterFrameDelay(int microseconds) |
Class QQuickItem:
| bool | isAncestorOf(const QQuickItem *child) const |
| QPointF | mapFromGlobal(const QPointF &point) const |
| QPointF | mapToGlobal(const QPointF &point) const |
Class QRect:
| QRect | transposed() const |
Class QWindowsWindowFunctions:
| void | setWindowActivationBehavior(WindowActivationBehavior behavior) |
| const QByteArray | setWindowActivationBehaviorIdentifier() |
Class QMediaPlaylist:
| bool | moveMedia(int from, int to) |
Class QMutex:
| bool | isRecursive() const |
Class QDataStream:
| void | abortTransaction() |
| bool | commitTransaction() |
| void | rollbackTransaction() |
| void | startTransaction() |
Class QMenu:
| void | showTearOffMenu() |
| void | showTearOffMenu(const QPoint &pos) |
Class QByteArray:
| QByteArray & | append(int count, char ch) |
| QByteArray & | insert(int i, int count, char ch) |
| QByteArray & | prepend(int count, char ch) |
Class QX11Info:
| bool | isCompositingManagerRunning(int screen = -1) |
Class QJsonObject:
| const_iterator | constFind(QLatin1String key) const |
| bool | contains(QLatin1String key) const |
| iterator | find(QLatin1String key) |
| const_iterator | find(QLatin1String key) const |
| QJsonValue | operator[](QLatin1String key) const |
| QJsonValueRef | operator[](QLatin1String key) |
| QJsonValue | value(QLatin1String key) const |
Class QSet:
| iterator | erase(const_iterator pos) |
Class QSslConfiguration:
| QSslKey | ephemeralServerKey() const |
Class QBluetoothUuid:
| bool | operator!=(const QBluetoothUuid &other) const |
Class QNetworkInterface:
| int | interfaceIndexFromName(const QString &name) |
| QString | interfaceNameFromIndex(int index) |
Class QProcess:
| CreateProcessArgumentModifier | createProcessArgumentsModifier() const |
| void | setCreateProcessArgumentsModifier(CreateProcessArgumentModifier modifier) |
Class QUtf8:
| QChar * | convertToUnicode(QChar *buffer, const char *chars, int len) |
Class QRectF:
| QRectF | transposed() const |
Class QStringRef:
| const_reverse_iterator | crbegin() const |
| const_reverse_iterator | crend() const |
| QChar | operator[](int position) const |
| const_reverse_iterator | rbegin() const |
| const_reverse_iterator | rend() const |
Class QLowEnergyController:
| QLowEnergyService * | addService(const QLowEnergyServiceData &service, QObject *parent = nullptr) |
| void | connectionUpdated(const QLowEnergyConnectionParameters &newParameters) |
| QLowEnergyController * | createCentral(const QBluetoothDeviceInfo &remoteDevice, QObject *parent = nullptr) |
| QLowEnergyController * | createPeripheral(QObject *parent = nullptr) |
| void | requestConnectionUpdate(const QLowEnergyConnectionParameters ¶meters) |
| Role | role() const |
| void | startAdvertising(const QLowEnergyAdvertisingParameters ¶meters, const QLowEnergyAdvertisingData &advertisingData, const QLowEnergyAdvertisingData &scanResponseData = QLowEnergyAdvertisingData()) |
| void | stopAdvertising() |
Class QQmlDebuggingEnabler:
| bool | startDebugConnector(const QString &pluginName, const QVariantHash &configuration = QVariantHash()) |
Class QLocale:
| QString | toCurrencyString(double value, const QString &symbol, int precision) const |
New Global Functions
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
| QDebug | operator<<(QDebug stream, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug stream, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug stream, const std::list<T, Alloc> &list) |
| QDebug | operator<<(QDebug stream, const std::vector<T, Alloc> &vector) |
| QtPrivate::QAddConst<T>::Type & | qAsConst(T &t) |
| auto | qConstOverload(T memberFunctionPointer) |
| uint | qHash(const std::pair<T1, T2> &key, uint seed = 0) |
| auto | qNonConstOverload(T memberFunctionPointer) |
| auto | qOverload(T functionPointer) |
New Macros
| const wchar_t * | qUtf16Printable(const QString &str) |
New Enum Types
| enum | AttAccessConstraint { AttAuthorizationRequired, AttAuthenticationRequired, AttEncryptionRequired } |
| enum | FloatingPointPrecisionOption { FloatingPointShortest } |
| enum | Role { CentralRole, PeripheralRole } |
| enum | WindowActivationBehavior { DefaultActivateWindow, AlwaysActivateWindow } |
New Typedefs
| typedef | const_reverse_iterator |
| typedef | SetWindowActivationBehaviorType |
New QML Types
- A
- AbstractActionInput
- AbstractButton
- Action
- ActionInput
- AlphaCoverage
- AlphaTest
- AnalogAxisInput
- ApplicationWindow
- Axis
- D
- DepthTest
- Dial
- DiffuseMapMaterial
- DiffuseSpecularMapMaterial
- DirectionalLight
- DispatchCompute
- Dithering
- Drawer
- E
- Effect
- L
- Label
- N
- NoDepthMask
- NormalDiffuseMapAlphaMaterial
- NormalDiffuseMapMaterial
- NormalDiffuseSpecularMapMaterial
- P
- Page
- PageIndicator
- Pane
- PerVertexColorMaterial
- PhongAlphaMaterial
- PhongMaterial
- PickingSettings
- PointSize
- PolygonOffset
- Popup
- ProgressBar
- R
- RadioButton
- RadioDelegate
- RangeSlider
- RenderPass
- RenderPassFilter
- RenderSettings
- RenderState
- RenderSurfaceSelector
- RenderTarget
- RenderTargetOutput
- RenderTargetSelector
- S
- SceneLoader
- ScissorTest
- ScrollBar
- ScrollIndicator
- ScxmlStateMachine
- SeamlessCubemap
- Slider
- SortPolicy
- SpinBox
- StackView
- StencilMask
- StencilOperation
- StencilOperationArguments
- StencilTest
- StencilTestArguments
- SwipeDelegate
- SwipeView
- Switch
- SwitchDelegate
- V
- Viewport
New QML Properties
| brightness | |
| caseSensitive | |
| copyrightsVisible | |
| enabled | |
| invert | |
| keyNavigationEnabled | |
| keyNavigationEnabled | |
| movementDirection | |
| preeditText | |
| preeditText | |
| source | |
| window |
New QML Methods
| object | mapFromGlobal(real x, real y) |
| object | mapToGlobal(real x, real y) |
| bool | addItems(sources) |
| bool | insertItems(index, sources) |
| bool | moveItem(from, to) |
| bool | removeItems(int start, int end) |
| clear() | |
| clear() |