This page contains a comprehensive list of all new classes and functions introduced in Qt 5.6. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
类 QBluetoothSocket :
| preferredSecurityFlags () const | |
| setPreferredSecurityFlags (QBluetooth::SecurityFlags flags ) |
类 QDebug :
| setVerbosity (int verbosityLevel ) | |
| verbosity () const |
类 QDir :
| listSeparator () |
类 QProcess :
| errorOccurred (QProcess::ProcessError error ) |
类 QByteArray :
| crbegin () const | |
| crend () const | |
| rbegin () | |
| rbegin () const | |
| rend () | |
| rend () const |
| setOptionsAfterPositionalArgumentsMode (QCommandLineParser::OptionsAfterPositionalArgumentsMode parsingMode ) |
类 QHash :
| keyBegin () const | |
| keyEnd () const |
类 QHistoryState :
| defaultTransition () const | |
| defaultTransitionChanged () | |
| setDefaultTransition (QAbstractTransition * transition ) |
| swap (QItemSelectionRange & other ) |
类 QLinkedList :
| crbegin () const | |
| crend () const | |
| rbegin () | |
| rbegin () const | |
| rend () | |
| rend () const |
类 QList :
| constFirst () const | |
| constLast () const | |
| crbegin () const | |
| crend () const | |
| rbegin () | |
| rbegin () const | |
| rend () | |
| rend () const |
类 QLocale :
| swap (QLocale & other ) |
类 QMap :
| equal_range (const Key & key ) const | |
| keyBegin () const | |
| keyEnd () const |
类 QPointer :
| swap (QPointer<T> & other ) |
类 QSet :
| crbegin () const | |
| crend () const | |
| intersects (const QSet<T> & other ) const | |
| rbegin () | |
| rbegin () const | |
| rend () | |
| rend () const |
类 QStorageInfo :
| blockSize () const |
类 QString :
| crbegin () const | |
| crend () const | |
| rbegin () | |
| rbegin () const | |
| rend () | |
| rend () const |
类 QStringRef :
| truncate (int position ) |
类 QTemporaryDir :
| errorString () const |
类 QTextStream :
| operator<< (const QStringRef & string ) |
类 QVarLengthArray :
| crbegin () const | |
| crend () const | |
| rbegin () | |
| rbegin () const | |
| rend () | |
| rend () const |
类 QVector :
| append (T && value ) | |
| constFirst () const | |
| constLast () const | |
| crbegin () const | |
| crend () const | |
| move (int from , int to ) | |
| push_back (T && value ) | |
| rbegin () | |
| rbegin () const | |
| rend () | |
| rend () const |
| swap (QXmlStreamStringRef & other ) |
类 QSysInfo :
| machineHostName () |
类 QDBusMessage :
| createTargetedSignal (const QString & service , const QString & path , const QString & interface , const QString & name ) |
类 QGuiApplication :
| isFallbackSessionManagementEnabled () | |
| setFallbackSessionManagementEnabled (bool enabled ) |
类 QIcon :
| isMask () const | |
| setIsMask (bool isMask ) |
类 QImage :
| pixelColor (const QPoint & position ) const | |
| pixelColor (int x , int y ) const | |
| setPixelColor (const QPoint & position , const QColor & color ) | |
| setPixelColor (int x , int y , const QColor & color ) |
类 QImageReader :
| gamma () const | |
| setGamma (float gamma ) |
类 QColor :
| fromRgba64 (QRgba64 rgba64 ) | |
| fromRgba64 (ushort r , ushort g , ushort b , ushort a ) | |
| rgba64 () const | |
| setRgba64 (QRgba64 rgba ) |
| addColorAttachment (const QSize & size , GLenum internalFormat ) | |
| addColorAttachment (int width , int height , GLenum internalFormat ) | |
| sizes () const | |
| takeTexture (int colorAttachmentIndex ) | |
| textures () const | |
| toImage (bool flipped , int colorAttachmentIndex ) const |
类 QPaintDevice :
| devicePixelRatioF () const |
类 QStandardItem :
| isAutoTristate () const | |
| isUserTristate () const | |
| setAutoTristate (bool tristate ) | |
| setUserTristate (bool tristate ) |
类 QTextLayout :
| clearFormats () | |
| formats () const | |
| setFormats (const QVector<QTextLayout::FormatRange> & 格式 ) |
类 QMediaPlayer :
| audioRoleChanged (QAudio::Role role ) | |
| supportedAudioRoles () const |
类 QHostAddress :
| isMulticast () const | |
| swap (QHostAddress & other ) |
类 QNetworkReply :
| redirected (const QUrl & url ) |
类 QNetworkRequest :
| maximumRedirectsAllowed () const | |
| setMaximumRedirectsAllowed (int maxRedirectsAllowed ) |
| setHasBorderInFullScreen (QWindow * window , bool border ) | |
| setHasBorderInFullScreenIdentifier () |
类 QJSEngine :
| installExtensions (QJSEngine::Extensions extensions , const QJSValue & object ) |
| connectToLocalDebugger (const QString & socketFileName , QQmlDebuggingEnabler::StartMode mode ) |
| textureFactoryForImage (const QImage & image ) |
类 QWebSocket :
| open (const QNetworkRequest & request ) | |
| request () const |
类 QMainWindow :
| resizeDocks (const QList<QDockWidget *> & docks , const QList<int> & sizes , Qt::Orientation orientation ) |
类 QMenu :
| addAction (const QIcon & icon , const QString & text , Functor functor , const QKeySequence & shortcut ) | |
| addAction (const QIcon & icon , const QString & text , const QObject * context , Functor functor , const QKeySequence & shortcut ) | |
| addAction (const QIcon & icon , const QString & text , const QObject * receiver , PointerToMemberFunction method , const QKeySequence & shortcut ) | |
| addAction (const QString & text , Functor functor , const QKeySequence & shortcut ) | |
| addAction (const QString & text , const QObject * context , Functor functor , const QKeySequence & shortcut ) | |
| addAction (const QString & text , const QObject * receiver , PointerToMemberFunction method , const QKeySequence & shortcut ) |
类 QToolBar :
| addAction (const QIcon & icon , const QString & text , Functor functor ) | |
| addAction (const QIcon & icon , const QString & text , const QObject * context , Functor functor ) | |
| addAction (const QIcon & icon , const QString & text , const QObject * receiver , PointerToMemberFunction method ) | |
| addAction (const QString & text , Functor functor ) | |
| addAction (const QString & text , const QObject * context , Functor functor ) | |
| addAction (const QString & text , const QObject * receiver , PointerToMemberFunction method ) |
| operator< (const QVector<T> & lhs , const QVector<T> & rhs ) | |
| operator< (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) | |
| operator< (const QList<T> & lhs , const QList<T> & rhs ) | |
| operator<= (const QVector<T> & lhs , const QVector<T> & rhs ) | |
| operator<= (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) | |
| operator<= (const QList<T> & lhs , const QList<T> & rhs ) | |
| operator> (const QVector<T> & lhs , const QVector<T> & rhs ) | |
| operator> (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) | |
| operator> (const QList<T> & lhs , const QList<T> & rhs ) | |
| operator>= (const QVector<T> & lhs , const QVector<T> & rhs ) | |
| operator>= (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) | |
| operator>= (const QList<T> & lhs , const QList<T> & rhs ) | |
| qAlpha (QRgba64 rgba64 ) | |
| qBlue (QRgba64 rgba64 ) | |
| qCountLeadingZeroBits (quint8 v ) | |
| qCountLeadingZeroBits (quint64 v ) | |
| qCountLeadingZeroBits (quint32 v ) | |
| qCountLeadingZeroBits (quint16 v ) | |
| qCountTrailingZeroBits (quint8 v ) | |
| qCountTrailingZeroBits (quint64 v ) | |
| qCountTrailingZeroBits (quint32 v ) | |
| qCountTrailingZeroBits (quint16 v ) | |
| qGlobalQHashSeed () | |
| qGreen (QRgba64 rgba64 ) | |
| qHash (QSizePolicy key , uint seed ) | |
| qHash (const QTransform & key , uint seed ) | |
| qHash (const QMatrix & key , uint seed ) | |
| qHash (const QKeySequence & key , uint seed ) | |
| qHash (const QVersionNumber & key , uint seed ) | |
| qHash (const QVector<T> & key , uint seed ) | |
| qHash (const QUrlQuery & key , uint seed ) | |
| qHash (const QRegularExpression & key , uint seed ) | |
| qHash (const QRegExp & key , uint seed ) | |
| qHash (const QMimeType & key , uint seed ) | |
| qHash (const QLocale & key , uint seed ) | |
| qHash (const QList<T> & key , uint seed ) | |
| qPremultiply (QRgba64 rgba64 ) | |
| qRed (QRgba64 rgba64 ) | |
| qRgba64 (quint64 c ) | |
| qRgba64 (quint16 r , quint16 g , quint16 b , quint16 a ) | |
| qSetGlobalQHashSeed (int newSeed ) | |
| qUnpremultiply (QRgba64 rgba64 ) |
| QTRY_VERIFY2 ( 条件 , message ) | |
| QTRY_VERIFY2_WITH_TIMEOUT ( 条件 , message , timeout ) | |
| QT_NO_PROCESS_COMBINED_ARGUMENT_START |
| enum | Role { UnknownRole, MusicRole, VideoRole, VoiceCommunicationRole, ..., CustomRole } |
| enum | OptionsAfterPositionalArgumentsMode { ParseAsOptions, ParseAsPositionalArguments } |
| enum | EnterKeyType { EnterKeyDefault, EnterKeyReturn, EnterKeyDone, EnterKeyGo, ..., EnterKeyPrevious } |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| editingFinished () |
| supportedAudioRoles () | |
| indexOf () | |
| supportedAudioRoles () | |
| append () | |
| clear () | |
| get () | |
| insert () | |
| move () | |
| remove () | |
| supportedAudioRoles () |