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.
| QAndroidJniObject | fromLocalRef (jobject localRef ) |
类 QUtf8 :
| QChar * | convertToUnicode (QChar * buffer , const char * chars , int len ) |
类 QFlags :
| QFlags & | setFlag (Enum flag , bool on = true) |
类 QDataStream :
| void | abortTransaction () |
| bool | commitTransaction () |
| void | rollbackTransaction () |
| void | startTransaction () |
类 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 |
类 QProcess :
| CreateProcessArgumentModifier | createProcessArgumentsModifier () const |
| void | setCreateProcessArgumentsModifier (CreateProcessArgumentModifier modifier ) |
类 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 |
类 QMetaObject :
| bool | inherits (const QMetaObject * metaObject ) const |
类 QUuid :
| QUuid | fromCFUUID (CFUUIDRef uuid ) |
| QUuid | fromNSUUID (const NSUUID * uuid ) |
| CFUUIDRef | toCFUUID () const |
| NSUUID * | toNSUUID () const |
类 QBasicMutex :
| bool | isRecursive () const |
类 QMutex :
| bool | isRecursive () const |
类 QByteArray :
| QByteArray & | append (int count , char ch ) |
| QByteArray & | insert (int i , int count , char ch ) |
| QByteArray & | prepend (int count , char ch ) |
类 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 ) |
类 QLocale :
| QString | toCurrencyString (double value , const QString & symbol , int precision ) const |
类 QRect :
| QRect | transposed () const |
类 QRectF :
| QRectF | transposed () const |
类 QSet :
| iterator | erase (const_iterator pos ) |
类 QString :
| void | resize (int size , QChar fillChar ) |
类 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 |
类 QIconEngine :
| bool | isNull () const |
类 Key :
| bool | isValid () const |
类 QDrag :
| void | cancel () |
类 QWheelEvent :
| bool | inverted () const |
类 QPlatformDrag :
| virtual void | cancelDrag () |
| virtual void | beep () const |
| void | blitFramebuffer (QOpenGLFramebufferObject * target , const QRect & targetRect , QOpenGLFramebufferObject * source , const QRect & sourceRect , GLbitfield buffers , GLenum filter , int readColorAttachmentIndex , int drawColorAttachmentIndex , FramebufferRestorePolicy restorePolicy ) |
| void | setWindowActivationBehavior (WindowActivationBehavior behavior ) |
| const QByteArray | setWindowActivationBehaviorIdentifier () |
| int | interfaceIndexFromName (const QString & name ) |
| QString | interfaceNameFromIndex (int index ) |
| QSslKey | ephemeralServerKey () const |
类 QMenu :
| void | showTearOffMenu () |
| void | showTearOffMenu (const QPoint & pos ) |
类 QBluetoothUuid :
| bool | operator!= (const QBluetoothUuid & other ) const |
| 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 & 参数 ) |
| 角色 | role () const |
| void | startAdvertising (const QLowEnergyAdvertisingParameters & 参数 , const QLowEnergyAdvertisingData & advertisingData , const QLowEnergyAdvertisingData & scanResponseData = QLowEnergyAdvertisingData()) |
| void | stopAdvertising () |
| bool | startDebugConnector (const QString & pluginName , const QVariantHash & configuration = QVariantHash()) |
类 QQmlFileSelector :
| QFileSelector * | 选择器 () const |
类 QQuickItem :
| bool | isAncestorOf (const QQuickItem * child ) const |
| QPointF | mapFromGlobal (const QPointF & point ) const |
| QPointF | mapToGlobal (const QPointF & point ) const |
类 QMediaPlaylist :
| bool | moveMedia (int from , int to ) |
| virtual bool | moveMedia (int from , int to ) |
| int | interFrameDelay () const |
| void | setInterFrameDelay (int microseconds ) |
| void | clearHttpCache () |
| SavePageFormat | savePageFormat () const |
| void | setSavePageFormat (SavePageFormat format ) |
| void | clearHttpCache () |
类 QWebEnginePage :
| void | audioMutedChanged (bool muted ) |
| const QWebEngineContextMenuData & | contextMenuData () const |
| void | iconChanged (const QIcon & icon ) |
| void | printToPdf (const QString & filePath , const QPageLayout & pageLayout = QPageLayout( QPageSize( QPageSize::A4 ), QPageLayout::Portrait, QMarginsF() )) |
| void | printToPdf (FunctorOrLambda resultCallback , const QPageLayout & pageLayout = QPageLayout( QPageSize( QPageSize::A4 ), QPageLayout::Portrait, QMarginsF() )) |
| void | recentlyAudibleChanged (bool recentlyAudible ) |
| void | runJavaScript (const QString & scriptSource , quint32 worldId ) |
| void | runJavaScript (const QString & scriptSource , quint32 worldId , FunctorOrLambda resultCallback ) |
| void | setWebChannel (QWebChannel * channel , uint worldId ) |
类 QWebEngineView :
| void | iconChanged (const QIcon & icon ) |
类 QX11Info :
| bool | isCompositingManagerRunning (int screen = -1) |
| QAndroidJniObject | androidService () |
| void | hideSplashScreen () |
| void | runOnAndroidThread (const Runnable & runnable ) |
| void | runOnAndroidThreadSync (const Runnable & runnable , int timeoutMs = INT_MAX) |
| 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 ) |
| const wchar_t * | qUtf16Printable (const QString & str ) |
| enum | AttAccessConstraint { AttAuthorizationRequired, AttAuthenticationRequired, AttEncryptionRequired } |
| enum | FloatingPointPrecisionOption { FloatingPointShortest } |
| enum | Role { CentralRole, PeripheralRole } |
| enum | FramebufferRestorePolicy { DontRestoreFramebufferBinding, RestoreFramebufferBindingToDefault, RestoreFrameBufferBinding } |
| enum | SavePageFormat { UnknownSaveFormat, SingleHtmlSaveFormat, CompleteHtmlSaveFormat, MimeHtmlSaveFormat } |
| enum | WindowActivationBehavior { DefaultActivateWindow, AlwaysActivateWindow } |
| typedef | const_reverse_iterator |
| typedef | SetWindowActivationBehaviorType |
|
|
| brightness | |
| caseSensitive | |
| copyrightsVisible | |
| enabled | |
| invert | |
| keyNavigationEnabled | |
| keyNavigationEnabled | |
| movementDirection | |
| preeditText | |
| preeditText | |
| source | |
| window |
| 对象 | mapFromGlobal (real x , real y ) |
| 对象 | mapToGlobal (real x , real y ) |
| bool | addItems ( sources ) |
| bool | insertItems ( index , sources ) |
| bool | moveItem ( from , to ) |
| bool | removeItems (int start , int end ) |
| clear () | |
| clear () |