This page contains a comprehensive list of all new classes and functions introduced in Qt 5.5. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
| QBluetoothUuid | deviceUuid () const |
| void | setDeviceUuid (const QBluetoothUuid & uuid ) |
| bool | operator!= (const QBluetoothHostInfo & other ) const |
| bool | operator== (const QBluetoothHostInfo & other ) const |
| QString | remoteName () const |
| void | characteristicRead (const QLowEnergyCharacteristic & characteristic , const QByteArray & value ) |
| void | descriptorRead (const QLowEnergyDescriptor & descriptor , const QByteArray & value ) |
| void | readCharacteristic (const QLowEnergyCharacteristic & characteristic ) |
| void | readDescriptor (const QLowEnergyDescriptor & descriptor ) |
| QAssociativeIterable::const_iterator | find (const QVariant & key ) const |
类 FromBase64Result :
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QChar :
| bool | operator<= (const QUuid & lhs , const QUuid & rhs ) |
| bool | operator>= (const QUuid & lhs , const QUuid & rhs ) |
类 QDateTime :
| QDateTime | fromCFDate (CFDateRef date ) |
| QDateTime | fromNSDate (const NSDate * date ) |
| CFDateRef | toCFDate () const |
| NSDate * | toNSDate () const |
类 QDebug :
| QDebug & | operator<< (char16_t t ) |
| QDebug & | operator<< (char32_t t ) |
类 QHash :
| uint | qHash (const QSet<T> & key , uint seed ) |
| uint | qHashRange (InputIterator first , InputIterator last , uint seed ) |
| uint | qHashRangeCommutative (InputIterator first , InputIterator last , uint seed ) |
| QAbstractItemModel * | model () |
| void | modelChanged (QAbstractItemModel * model ) |
| void | setModel (QAbstractItemModel * model ) |
类 QJsonObject :
| QJsonObject | fromVariantHash (const QVariantHash & hash ) |
| QVariantHash | toVariantHash () const |
类 QList :
| bool | operator<= (const QUuid & lhs , const QUuid & rhs ) |
| bool | operator>= (const QUuid & lhs , const QUuid & rhs ) |
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QLocale :
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QLoggingCategory :
| bool | isInfoEnabled () const |
类 QMessageLogger :
| void | info (const char * msg , ... ) const |
| void | info (const QLoggingCategory & cat , const char * msg , ... ) const |
| void | info (QMessageLogger::CategoryFunction catFunc , const char * msg , ... ) const |
| QDebug | info () const |
| QDebug | info (const QLoggingCategory & cat ) const |
| QDebug | info (QMessageLogger::CategoryFunction catFunc ) const |
类 QMetaEnum :
| QMetaEnum | fromType () |
类 QMetaMethod :
| bool | invokeOnGadget (void * gadget , QGenericReturnArgument returnValue , QGenericArgument val0 , QGenericArgument val1 , QGenericArgument val2 , QGenericArgument val3 , QGenericArgument val4 , QGenericArgument val5 , QGenericArgument val6 , QGenericArgument val7 , QGenericArgument val8 , QGenericArgument val9 ) const |
| bool | invokeOnGadget (void * gadget , QGenericArgument val0 , QGenericArgument val1 , QGenericArgument val2 , QGenericArgument val3 , QGenericArgument val4 , QGenericArgument val5 , QGenericArgument val6 , QGenericArgument val7 , QGenericArgument val8 , QGenericArgument val9 ) const |
类 QMetaProperty :
| QVariant | readOnGadget (const void * gadget ) const |
| bool | resetOnGadget (void * gadget ) const |
| bool | writeOnGadget (void * gadget , const QVariant & value ) const |
类 QMetaType :
| bool | 等于 (const void * lhs , const void * rhs , int typeId , int * result ) |
| const QMetaObject * | metaObject () const |
| bool | registerEqualsComparator () |
| int | type (const ::QByteArray & typeName ) |
类 QMultiHash :
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QPair :
| bool | operator<= (const QUuid & lhs , const QUuid & rhs ) |
| bool | operator>= (const QUuid & lhs , const QUuid & rhs ) |
| void | swap (QPair<T1, T2> & other ) |
| uint | qHash (const QSet<T> & key , uint seed ) |
| QRegularExpressionMatchIterator | globalMatch (const QStringRef & subjectRef , int offset , QRegularExpression::MatchType matchType , QRegularExpression::MatchOptions matchOptions ) const |
| QRegularExpressionMatch | match (const QStringRef & subjectRef , int offset , QRegularExpression::MatchType matchType , QRegularExpression::MatchOptions matchOptions ) const |
类 QRegExp :
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QState :
| QSignalTransition * | addTransition (const QObject * sender , PointerToMemberFunction signal , QAbstractState * target ) |
类 QString :
| QString | asprintf (const char * cformat , ... ) |
| QString | fromStdU16String (const std::u16string & str ) |
| QString | fromStdU32String (const std::u32string & str ) |
| int | indexOf (const QRegularExpression & re , int from , QRegularExpressionMatch * rmatch ) const |
| QString & | insert (int position , const QStringRef & str ) |
| QString & | insert (int position , const char * str ) |
| QString & | insert (int position , const QByteArray & str ) |
| int | lastIndexOf (const QRegularExpression & re , int from , QRegularExpressionMatch * rmatch ) const |
| QString & | prepend (const QChar * str , int len ) |
| QString & | prepend (const QStringRef & str ) |
| std::u16string | toStdU16String () const |
| std::u32string | toStdU32String () const |
| QString | vasprintf (const char * cformat , va_list ap ) |
类 QStringView :
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QTextStream :
| bool | readLineInto (QString * line , qint64 maxlen ) |
类 QThread :
| int | loopLevel () const |
类 QTimeZone :
| QTimeZone | systemTimeZone () |
| QTimeZone | utc () |
类 QUuid :
| bool | operator<= (const QUuid & lhs , const QUuid & rhs ) |
| bool | operator>= (const QUuid & lhs , const QUuid & rhs ) |
类 QVarLengthArray :
| bool | operator<= (const QUuid & lhs , const QUuid & rhs ) |
| QVarLengthArray<T, Prealloc> & | operator= (std::initializer_list<T> list ) |
| bool | operator>= (const QUuid & lhs , const QUuid & rhs ) |
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QVariant :
| QPersistentModelIndex | toPersistentModelIndex () const |
类 QVector :
| void | append (const QVector<T> & value ) |
| bool | operator<= (const QUuid & lhs , const QUuid & rhs ) |
| bool | operator>= (const QUuid & lhs , const QUuid & rhs ) |
| uint | qHash (const QSet<T> & key , uint seed ) |
类 QDBusConnection :
| bool | registerObject (const QString & path , const QString & interface , QObject * object , QDBusConnection::RegisterOptions options ) |
类 QFontDatabase :
| bool | isPrivateFamily (const QString & family ) const |
类 QGenericMatrix :
| QVector3D | operator* (const QQuaternion & quaternion , const QVector3D & vec ) |
| const QVector3D | operator/ (const QVector3D & vector , const QVector3D & divisor ) |
| const QVector4D | operator/ (const QVector4D & vector , const QVector4D & divisor ) |
类 QImageReader :
| bool | autoTransform () const |
| void | setAutoTransform (bool enabled ) |
| QImageIOHandler::Transformations | transformation () const |
类 QImageWriter :
| bool | optimizedWrite () const |
| bool | progressiveScanWrite () const |
| void | setOptimizedWrite (bool optimize ) |
| void | setProgressiveScanWrite (bool progressive ) |
| void | setTransformation (QImageIOHandler::Transformations transform ) |
| QImageIOHandler::Transformations | transformation () const |
类 QMatrix4x4 :
| bool | isAffine () const |
类 QOpenGLContext :
| QOpenGLContext * | globalShareContext () |
| bool | supportsThreadedOpenGL () |
类 QOpenGLTexture :
| void | allocateStorage (QOpenGLTexture::PixelFormat pixelFormat , QOpenGLTexture::PixelType pixelType ) |
| QOpenGLTexture::ComparisonFunction | comparisonFunction () const |
| QOpenGLTexture::ComparisonMode | comparisonMode () const |
| void | setComparisonFunction (QOpenGLTexture::ComparisonFunction function ) |
| void | setComparisonMode (QOpenGLTexture::ComparisonMode mode ) |
类 QPixelFormat :
| QPixelFormat | qPixelFormatAlpha (uchar channelSize , QPixelFormat::TypeInterpretation typeInterpretation ) |
| QFont::Weight | weightFromInteger (int weight ) |
| virtual void | destroy () |
| virtual void | setApplicationIcon (const QIcon & icon ) const |
类 QQuaternion :
| QQuaternion | conjugated () const |
| float | dotProduct (const QQuaternion & q1 , const QQuaternion & q2 ) |
| QQuaternion | fromAxes (const QVector3D & xAxis , const QVector3D & yAxis , const QVector3D & zAxis ) |
| QQuaternion | fromDirection (const QVector3D & direction , const QVector3D & up ) |
| QQuaternion | fromEulerAngles (float pitch , float yaw , float roll ) |
| QQuaternion | fromEulerAngles (const QVector3D & eulerAngles ) |
| QQuaternion | fromRotationMatrix (const QMatrix3x3 & rot3x3 ) |
| void | getAxes (QVector3D * xAxis , QVector3D * yAxis , QVector3D * zAxis ) const |
| void | getAxisAndAngle (float * x , float * y , float * z , float * angle ) const |
| void | getAxisAndAngle (QVector3D * axis , float * angle ) const |
| void | getEulerAngles (float * pitch , float * yaw , float * roll ) const |
| QQuaternion | inverted () const |
| QVector3D | operator* (const QQuaternion & quaternion , const QVector3D & vec ) |
| QQuaternion | rotationTo (const QVector3D & from , const QVector3D & to ) |
| QVector3D | toEulerAngles () const |
| QMatrix3x3 | toRotationMatrix () const |
类 QTextDocument :
| QTextCursor | find (const QRegularExpression & expr , int from , QTextDocument::FindFlags options ) const |
| QTextCursor | find (const QRegularExpression & expr , const QTextCursor & cursor , QTextDocument::FindFlags options ) const |
类 QVector2D :
| QVector3D | operator* (const QQuaternion & quaternion , const QVector3D & vec ) |
| const QVector2D | operator/ (const QVector2D & vector , const QVector2D & divisor ) |
| const QVector3D | operator/ (const QVector3D & vector , const QVector3D & divisor ) |
| const QVector4D | operator/ (const QVector4D & vector , const QVector4D & divisor ) |
| QVector2D & | operator/= (const QVector2D & vector ) |
类 QVector4D :
| QVector3D | operator* (const QQuaternion & quaternion , const QVector3D & vec ) |
| const QVector4D | operator/ (const QVector4D & vector , const QVector4D & divisor ) |
| QVector4D & | operator/= (const QVector4D & vector ) |
类 QVector3D :
| QVector3D | operator* (const QQuaternion & quaternion , const QVector3D & vec ) |
| const QVector3D | operator/ (const QVector3D & vector , const QVector3D & divisor ) |
| const QVector4D | operator/ (const QVector4D & vector , const QVector4D & divisor ) |
| QVector3D & | operator/= (const QVector3D & vector ) |
| QVector3D | project (const QMatrix4x4 & modelView , const QMatrix4x4 & projection , const QRect & viewport ) const |
| QVector3D | unproject (const QMatrix4x4 & modelView , const QMatrix4x4 & projection , const QRect & viewport ) const |
类 QWheelEvent :
| Qt::MouseEventSource | source () const |
类 QWindow :
| void | requestUpdate () |
类 QCamera :
| void | setViewfinderSettings (const QCameraViewfinderSettings & settings ) |
| QList<QCamera::FrameRateRange> | supportedViewfinderFrameRateRanges (const QCameraViewfinderSettings & settings ) const |
| QList<QVideoFrame::PixelFormat> | supportedViewfinderPixelFormats (const QCameraViewfinderSettings & settings ) const |
| QList<QSize> | supportedViewfinderResolutions (const QCameraViewfinderSettings & settings ) const |
| QList<QCameraViewfinderSettings> | supportedViewfinderSettings (const QCameraViewfinderSettings & settings ) const |
| QCameraViewfinderSettings | viewfinderSettings () const |
| QCameraImageProcessing::ColorFilter | colorFilter () const |
| bool | isColorFilterSupported (QCameraImageProcessing::ColorFilter filter ) const |
| void | setColorFilter (QCameraImageProcessing::ColorFilter filter ) |
| bool | operator!= (const QCameraViewfinderSettings & lhs , const QCameraViewfinderSettings & rhs ) |
| bool | operator== (const QCameraViewfinderSettings & lhs , const QCameraViewfinderSettings & rhs ) |
类 QHostAddress :
| QDebug | operator<< (QDebug debug , QSslEllipticCurve curve ) |
| uint | qHash (QSslEllipticCurve curve , uint seed ) |
| void | setAddress (const quint8 * ip6Addr ) |
| void | preSharedKeyAuthenticationRequired (QNetworkReply * reply , QSslPreSharedKeyAuthenticator * authenticator ) |
| QDebug | operator<< (QDebug debug , QSslEllipticCurve curve ) |
类 QNetworkReply :
| void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QOcspResponse :
| bool | operator!= (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
| bool | operator== (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
| QVector<QSslEllipticCurve> | ellipticCurves () const |
| void | setEllipticCurves (const QVector<QSslEllipticCurve> & curves ) |
| QList<QSslCipher> | supportedCiphers () |
| QVector<QSslEllipticCurve> | supportedEllipticCurves () |
| QList<QSslCertificate> | systemCaCertificates () |
类 QSslDiffieHellmanParameters :
| QDebug | operator<< (QDebug debug , QSslEllipticCurve curve ) |
| bool | operator== (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
| uint | qHash (QSslEllipticCurve curve , uint seed ) |
| bool | operator!= (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
| QDebug | operator<< (QDebug debug , QSslEllipticCurve curve ) |
| bool | operator== (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
类 QSslPreSharedKeyAuthenticator :
| bool | operator!= (const QSslPreSharedKeyAuthenticator & lhs , const QSslPreSharedKeyAuthenticator & rhs ) |
| bool | operator!= (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
| bool | operator== (const QSslPreSharedKeyAuthenticator & lhs , const QSslPreSharedKeyAuthenticator & rhs ) |
| bool | operator== (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
类 QSslSocket :
| void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QGeoCircle :
| QString | toString () const |
类 QGeoRectangle :
| QString | toString () const |
类 QGeoShape :
| QGeoCoordinate | center () const |
| QString | toString () const |
类 QJSEngine :
| QJSEngine * | qjsEngine (const QObject * object ) |
类 QQuickWidget :
| QQuickWindow * | quickWindow () const |
| void | setSourceRect (const QRectF & r ) |
| void | setSourceRect (qreal x , qreal y , qreal w , qreal h ) |
| QRectF | sourceRect () const |
| QMargins | viewportMargins () const |
类 QFrame :
| void | initStyleOption (QStyleOptionFrame * option ) const |
类 QGraphicsScene :
| void | setSelectionArea (const QPainterPath & path , Qt::ItemSelectionOperation selectionOperation , Qt::ItemSelectionMode mode , const QTransform & deviceTransform ) |
类 QOpenGLWidget :
| void | setUpdateBehavior (QOpenGLWidget::UpdateBehavior updateBehavior ) |
| QOpenGLWidget::UpdateBehavior | updateBehavior () const |
类 QPlainTextEdit :
| QMenu * | createStandardContextMenu (const QPoint & position ) |
类 QSpacerItem :
| QSizePolicy | sizePolicy () const |
| char * | toString (QSizePolicy sp ) |
| char * | toString (QSizePolicy::ControlType ct ) |
| char * | toString (QSizePolicy::ControlTypes cts ) |
| char * | toString (QSizePolicy::Policy p ) |
| bool | operator!= (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
| bool | operator!= (const QSslPreSharedKeyAuthenticator & lhs , const QSslPreSharedKeyAuthenticator & rhs ) |
| bool | operator!= (const QCameraViewfinderSettings & lhs , const QCameraViewfinderSettings & rhs ) |
| QVector3D | operator* (const QQuaternion & quaternion , const QVector3D & vec ) |
| const QVector4D | operator/ (const QVector4D & vector , const QVector4D & divisor ) |
| const QVector3D | operator/ (const QVector3D & vector , const QVector3D & divisor ) |
| const QVector2D | operator/ (const QVector2D & vector , const QVector2D & divisor ) |
| QDebug | operator<< (QDebug debug , QSslEllipticCurve curve ) |
| bool | operator<= (const QUuid & lhs , const QUuid & rhs ) |
| bool | operator== (QSslEllipticCurve lhs , QSslEllipticCurve rhs ) |
| bool | operator== (const QSslPreSharedKeyAuthenticator & lhs , const QSslPreSharedKeyAuthenticator & rhs ) |
| bool | operator== (const QCameraViewfinderSettings & lhs , const QCameraViewfinderSettings & rhs ) |
| bool | operator>= (const QUuid & lhs , const QUuid & rhs ) |
| int | qEnvironmentVariableIntValue (const char * varName , bool * ok ) |
| int | qEnvironmentVariableIntValue (const char * varName , bool * ok ) |
| uint | qHash (QSslEllipticCurve curve , uint seed ) |
| uint | qHash (QSslEllipticCurve curve , uint seed ) |
| uint | qHash (const QSet<T> & key , uint seed ) |
| uint | qHashRange (InputIterator first , InputIterator last , uint seed ) |
| uint | qHashRangeCommutative (InputIterator first , InputIterator last , uint seed ) |
| QPixelFormat | qPixelFormatAlpha (uchar channelSize , QPixelFormat::TypeInterpretation typeInterpretation ) |
| QJSEngine * | qjsEngine (const QObject * object ) |
| void | swap (QPair<T1, T2> & lhs , QPair<T1, T2> & rhs ) |
| Q_ENUM ( ... ) | |
| Q_ENUM ( ... ) | |
| Q_FLAG ( ... ) | |
| Q_FLAG ( ... ) | |
| qCInfo ( category , const char * message , ... ) | |
| qCInfo ( category ) | |
| qCInfo ( category , const char * message , ... ) | |
| qCInfo ( category ) | |
| qInfo (const char * message , ... ) | |
| qInfo (const char * message , ... ) |
| enum | ColorFilter { ColorFilterNone, ColorFilterGrayscale, ColorFilterNegative, ColorFilterSolarize, ColorFilterSepia, …, ColorFilterVendor } |
| enum | Transformation { TransformationNone, TransformationMirror, TransformationFlip, TransformationRotate180, TransformationRotate90, …, TransformationRotate270 } |
| enum | ComparisonFunction { CompareLessEqual, CompareGreaterEqual, CompareLess, CompareGreater, CompareEqual, …, CompareNever } |
| enum | ComparisonMode { CompareRefToTexture, CompareNone } |
| enum | UpdateBehavior { NoPartialUpdate, PartialUpdate } |
| enum | TabFocusBehavior { NoTabFocus, TabFocusTextControls, TabFocusListControls, TabFocusAllControls } |
|
| autoTransform | |
| colorFilter | |
| direction | |
| height | |
| polling | |
| scrollGestureEnabled | |
| shortcuts | |
| styleHints | |
| width |
| smartZoom () | |
| tagFound () | |
| tagRemoved () |
| getDataAsArrayBuffer () | |
| hsva () | |
| shapeToCircle () | |
| shapeToRectangle () | |
| supportedViewfinderFrameRateRanges () | |
| supportedViewfinderResolutions () |