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 () |