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 ) |
类 QBluetoothUuid :
| bool | operator!= (const QBluetoothUuid & other ) const |
| QLowEnergyService * | addService (const QLowEnergyServiceData & service , QObject * parent ) |
| void | connectionUpdated (const QLowEnergyConnectionParameters & newParameters ) |
| QLowEnergyController * | createCentral (const QBluetoothDeviceInfo & remoteDevice , QObject * parent ) |
| QLowEnergyController * | createPeripheral (QObject * parent ) |
| void | requestConnectionUpdate (const QLowEnergyConnectionParameters & 参数 ) |
| QLowEnergyController::Role | role () const |
| void | startAdvertising (const QLowEnergyAdvertisingParameters & 参数 , const QLowEnergyAdvertisingData & advertisingData , const QLowEnergyAdvertisingData & scanResponseData ) |
| void | stopAdvertising () |
类 QBasicMutex :
| bool | isRecursive () const |
类 QBitArray :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QByteArray :
| QByteArray & | append (int count , char ch ) |
| QByteArray & | insert (int i , int count , char ch ) |
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
| QByteArray & | prepend (int count , char ch ) |
类 FromBase64Result :
| uint | qHash (const std::pair<T1, T2> & key , uint seed ) |
类 QChar :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QDataStream :
| void | abortTransaction () |
| bool | commitTransaction () |
| void | rollbackTransaction () |
| void | startTransaction () |
类 QDate :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QDateTime :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QFlags :
| QFlags<T> & | setFlag (Enum flag , bool on ) |
类 QHash :
| QPair<QHash::iterator, QHash::iterator> | equal_range (const Key & key ) |
| QPair<QHash::const_iterator, QHash::const_iterator> | equal_range (const Key & key ) const |
| QHash::iterator | erase (QHash::const_iterator pos ) |
类 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 |
类 QJsonObject :
| QJsonObject::const_iterator | constFind (QLatin1String key ) const |
| bool | contains (QLatin1String key ) const |
| QJsonObject::iterator | find (QLatin1String key ) |
| QJsonObject::const_iterator | find (QLatin1String key ) const |
| QJsonValue | operator[] (QLatin1String key ) const |
| QJsonValueRef | operator[] (QLatin1String key ) |
| QJsonValue | value (QLatin1String key ) const |
类 QLocale :
| QString | toCurrencyString (double value , const QString & symbol , int precision ) const |
类 QMetaObject :
| bool | inherits (const QMetaObject * metaObject ) const |
类 QMutex :
| bool | isRecursive () const |
类 QPair :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QProcess :
| QProcess::CreateProcessArgumentModifier | createProcessArgumentsModifier () const |
| void | setCreateProcessArgumentsModifier (QProcess::CreateProcessArgumentModifier modifier ) |
类 QRectF :
| QRectF | transposed () const |
类 QRect :
| QRect | transposed () const |
类 QRegExp :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QSet :
| QSet::iterator | erase (QSet::const_iterator pos ) |
类 QSharedPointer :
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QString :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
| void | resize (int size , QChar fillChar ) |
类 QStringRef :
| QStringRef::const_reverse_iterator | crbegin () const |
| QStringRef::const_reverse_iterator | crend () const |
| QChar | operator[] (int position ) const |
| QStringRef::const_reverse_iterator | rbegin () const |
| QStringRef::const_reverse_iterator | rend () const |
类 QStringView :
| uint | qHash (const std::pair<T1, T2> & key , uint seed ) |
类 QTime :
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
类 QUtf8 :
| QChar * | convertToUnicode (QChar * buffer , const char * chars , int len ) |
类 QUuid :
| QUuid | fromCFUUID (CFUUIDRef uuid ) |
| QUuid | fromNSUUID (const NSUUID * uuid ) |
| CFUUIDRef | toCFUUID () const |
| NSUUID * | toNSUUID () const |
类 QCursor :
| void | swap (QCursor & other ) |
类 QDrag :
| void | cancel () |
类 QIconEngine :
| bool | isNull () const |
| void | blitFramebuffer (QOpenGLFramebufferObject * target , const QRect & targetRect , QOpenGLFramebufferObject * source , const QRect & sourceRect , GLbitfield buffers , GLenum filter , int readColorAttachmentIndex , int drawColorAttachmentIndex , QOpenGLFramebufferObject::FramebufferRestorePolicy restorePolicy ) |
类 Key :
| bool | isValid () const |
类 QPlatformDrag :
| virtual void | cancelDrag () |
| virtual void | beep () const |
类 QWheelEvent :
| bool | inverted () const |
类 QMediaPlaylist :
| bool | moveMedia (int from , int to ) |
| virtual bool | moveMedia (int from , int to ) |
| int | interfaceIndexFromName (const QString & name ) |
| QString | interfaceNameFromIndex (int index ) |
| QSslKey | ephemeralServerKey () const |
| void | setWindowActivationBehavior (QWindowsWindowFunctions::WindowActivationBehavior behavior ) |
| const QByteArray | setWindowActivationBehaviorIdentifier () |
| bool | startDebugConnector (const QString & pluginName , const QVariantHash & configuration ) |
类 QQmlFileSelector :
| QFileSelector * | 选择器 () const |
类 QQuickItem :
| bool | isAncestorOf (const QQuickItem * child ) const |
| QPointF | mapFromGlobal (const QPointF & point ) const |
| QPointF | mapToGlobal (const QPointF & point ) const |
| void | clearHttpCache () |
类 QMenu :
| void | showTearOffMenu (const QPoint & pos ) |
| void | showTearOffMenu () |
类 QX11Info :
| bool | isCompositingManagerRunning (int screen ) |
| QAndroidJniObject | androidService () |
| void | hideSplashScreen () |
| void | runOnAndroidThread (const QtAndroid::Runnable & runnable ) |
| void | runOnAndroidThreadSync (const QtAndroid::Runnable & runnable , int timeoutMs ) |
| QDebug | operator<< (QDebug debug , const QSharedPointer<T> & ptr ) |
| QDebug | operator<< (QDebug debug , const std::multimap<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::map<Key, T, Compare, Alloc> & map ) |
| QDebug | operator<< (QDebug debug , const std::list<T, Alloc> & vec ) |
| QDebug | operator<< (QDebug debug , const std::vector<T, Alloc> & vec ) |
| void | qAsConst (const T && t ) |
| typename std::add_const<T>::type & | qAsConst (T & t ) |
| void | qAsConst (const T && t ) |
| typename std::add_const<T>::type & | qAsConst (T & t ) |
| auto | qConstOverload (T memberFunctionPointer ) |
| auto | qConstOverload (T memberFunctionPointer ) |
| uint | qHash (const std::pair<T1, T2> & key , uint seed ) |
| auto | qNonConstOverload (T memberFunctionPointer ) |
| auto | qNonConstOverload (T memberFunctionPointer ) |
| auto | qOverload (T functionPointer ) |
| auto | qOverload (T functionPointer ) |
| const wchar_t * | qUtf16Printable (const QString & str ) |
| 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 | WindowActivationBehavior { DefaultActivateWindow, AlwaysActivateWindow } |
| typedef | const_reverse_iterator |
| typedef | SetWindowActivationBehaviorType |
| brightness | |
| caseSensitive | |
| copyrightsVisible | |
| enabled | |
| invert | |
| keyNavigationEnabled | |
| keyNavigationEnabled | |
| movementDirection | |
| preeditText | |
| preeditText | |
| source | |
| window |
| addItems () | |
| clear () | |
| clear () | |
| insertItems () | |
| mapFromGlobal () | |
| mapToGlobal () | |
| moveItem () | |
| removeItems () |