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.
类 QDBusConnection :
bool | registerObject (const QString & path , const QString & interface , QObject * object , RegisterOptions options = ExportAdaptors) |
类 QMessageLogger :
void | info (const char * msg , ... ) const |
void | info (const QLoggingCategory & cat , const char * msg , ... ) const |
void | info (CategoryFunction catFunc , const char * msg , ... ) const |
QDebug | info () const |
QDebug | info (const QLoggingCategory & cat ) const |
QDebug | info (CategoryFunction catFunc ) const |
类 QDebug :
QDebug & | operator<< (char16_t t ) |
QDebug & | operator<< (char32_t t ) |
类 QLoggingCategory :
bool | isInfoEnabled () const |
类 QTextStream :
bool | readLineInto (QString * line , qint64 maxlen = 0) |
QAbstractItemModel * | model () |
void | modelChanged (QAbstractItemModel * model ) |
void | setModel (QAbstractItemModel * model ) |
类 QJsonObject :
QJsonObject | fromVariantHash (const QVariantHash & hash ) |
QVariantHash | toVariantHash () const |
类 QMetaMethod :
bool | invokeOnGadget (void * gadget , QGenericReturnArgument returnValue , QGenericArgument val0 = QGenericArgument( Q_NULLPTR ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument()) const |
bool | invokeOnGadget (void * gadget , QGenericArgument val0 = QGenericArgument( Q_NULLPTR ), QGenericArgument val1 = QGenericArgument(), QGenericArgument val2 = QGenericArgument(), QGenericArgument val3 = QGenericArgument(), QGenericArgument val4 = QGenericArgument(), QGenericArgument val5 = QGenericArgument(), QGenericArgument val6 = QGenericArgument(), QGenericArgument val7 = QGenericArgument(), QGenericArgument val8 = QGenericArgument(), QGenericArgument val9 = QGenericArgument()) const |
类 QMetaEnum :
QMetaEnum | fromType () |
类 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 ) |
类 QVariant :
QPersistentModelIndex | toPersistentModelIndex () const |
const_iterator | find (const QVariant & key ) const |
类 QState :
QSignalTransition * | addTransition (const QObject * sender , PointerToMemberFunction signal , QAbstractState * target ) |
类 QThread :
int | loopLevel () const |
类 QDateTime :
QDateTime | fromCFDate (CFDateRef date ) |
QDateTime | fromNSDate (const NSDate * date ) |
CFDateRef | toCFDate () const |
NSDate * | toNSDate () const |
类 QPair :
void | swap (QPair & other ) |
QRegularExpressionMatchIterator | globalMatch (const QStringRef & subjectRef , int offset = 0, MatchType matchType = NormalMatch, MatchOptions matchOptions = NoMatchOption) const |
QRegularExpressionMatch | match (const QStringRef & subjectRef , int offset = 0, MatchType matchType = NormalMatch, MatchOptions matchOptions = NoMatchOption) const |
类 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 ) |
类 QTimeZone :
QTimeZone | systemTimeZone () |
QTimeZone | utc () |
类 QVarLengthArray :
QVarLengthArray<T, Prealloc> & | operator= (std::initializer_list<T> list ) |
类 QVector :
void | append (const QVector<T> & value ) |
类 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 |
类 QWheelEvent :
Qt::MouseEventSource | source () const |
类 QOpenGLContext :
QOpenGLContext * | globalShareContext () |
bool | supportsThreadedOpenGL () |
virtual void | destroy () |
virtual void | setApplicationIcon (const QIcon & icon ) const |
类 QWindow :
void | requestUpdate () |
类 QMatrix4x4 :
bool | isAffine () const |
类 QVector3D :
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 |
类 QVector2D :
QVector2D & | operator/= (const QVector2D & vector ) |
类 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 (const QVector3D & eulerAngles ) |
QQuaternion | fromEulerAngles (float pitch , float yaw , float roll ) |
QQuaternion | fromRotationMatrix (const QMatrix3x3 & rot3x3 ) |
void | getAxes (QVector3D * xAxis , QVector3D * yAxis , QVector3D * zAxis ) const |
void | getAxisAndAngle (QVector3D * axis , float * angle ) const |
void | getAxisAndAngle (float * x , float * y , float * z , float * angle ) const |
void | getEulerAngles (float * pitch , float * yaw , float * roll ) const |
QQuaternion | inverted () const |
QQuaternion | rotationTo (const QVector3D & from , const QVector3D & to ) |
QVector3D | toEulerAngles () const |
QMatrix3x3 | toRotationMatrix () const |
类 QVector4D :
QVector4D & | operator/= (const QVector4D & vector ) |
类 QOpenGLTexture :
void | allocateStorage (PixelFormat pixelFormat , PixelType pixelType ) |
ComparisonFunction | comparisonFunction () const |
ComparisonMode | comparisonMode () const |
void | setComparisonMode (ComparisonMode mode ) |
类 QFontDatabase :
bool | isPrivateFamily (const QString & family ) const |
QFont::Weight | weightFromInteger (int weight ) |
类 QTextDocument :
QTextCursor | find (const QRegularExpression & expr , int from = 0, FindFlags options = FindFlags()) const |
QTextCursor | find (const QRegularExpression & expr , const QTextCursor & cursor , FindFlags options = FindFlags()) const |
void | preSharedKeyAuthenticationRequired (QNetworkReply * reply , QSslPreSharedKeyAuthenticator * authenticator ) |
类 QNetworkReply :
void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QHostAddress :
void | setAddress (const quint8 * ip6Addr ) |
QVector<QSslEllipticCurve> | ellipticCurves () const |
void | setEllipticCurves (const QVector<QSslEllipticCurve> & curves ) |
QList<QSslCipher> | supportedCiphers () |
QVector<QSslEllipticCurve> | supportedEllipticCurves () |
QList<QSslCertificate> | systemCaCertificates () |
类 QSslSocket :
void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QGraphicsScene :
void | setSelectionArea (const QPainterPath & path , Qt::ItemSelectionOperation selectionOperation , Qt::ItemSelectionMode mode = Qt::IntersectsItemShape, const QTransform & deviceTransform = QTransform()) |
类 QOpenGLWidget :
void | setUpdateBehavior (UpdateBehavior updateBehavior ) |
UpdateBehavior | updateBehavior () const |
类 QSpacerItem :
QSizePolicy | sizePolicy () const |
QMargins | viewportMargins () const |
类 QFrame :
void | initStyleOption (QStyleOptionFrame * option ) const |
类 QPlainTextEdit :
QMenu * | createStandardContextMenu (const QPoint & position ) |
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 ) |
void | setSourceRect (const QRectF & r ) |
void | setSourceRect (qreal x , qreal y , qreal w , qreal h ) |
QRectF | sourceRect () const |
类 QQuickWidget :
QQuickWindow * | quickWindow () const |
类 QGeoCircle :
QString | toString () const |
类 QGeoRectangle :
QString | toString () const |
类 QGeoShape :
QGeoCoordinate | center () const |
QString | toString () const |
类 QCamera :
void | setViewfinderSettings (const QCameraViewfinderSettings & settings ) |
QList<FrameRateRange> | supportedViewfinderFrameRateRanges (const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const |
QList<QVideoFrame::PixelFormat> | supportedViewfinderPixelFormats (const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const |
QList<QSize> | supportedViewfinderResolutions (const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const |
QList<QCameraViewfinderSettings> | supportedViewfinderSettings (const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const |
QCameraViewfinderSettings | viewfinderSettings () const |
ColorFilter | colorFilter () const |
bool | isColorFilterSupported (ColorFilter filter ) const |
void | setColorFilter (ColorFilter filter ) |
void | downloadRequested (QWebEngineDownloadItem * download ) |
类 QWebEnginePage :
virtual bool | acceptNavigationRequest (const QUrl & url , NavigationType type , bool isMainFrame ) |
QWebEngineProfile * | profile () const |
void | setWebChannel (QWebChannel * channel ) |
QWebChannel * | webChannel () const |
char * | toString (QSizePolicy sp ) |
char * | toString (QSizePolicy::ControlType ct ) |
char * | toString (QSizePolicy::ControlTypes cts ) |
char * | toString (QSizePolicy::Policy p ) |
bool | operator!= (const QSslPreSharedKeyAuthenticator & lhs , const QSslPreSharedKeyAuthenticator & rhs ) |
bool | operator!= (QSslEllipticCurve lhs , QSslEllipticCurve 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 QUuid & lhs , const QUuid & rhs ) |
int | qEnvironmentVariableIntValue (const char * varName , bool * ok = Q_NULLPTR) |
uint | qHash (QSslEllipticCurve curve , uint seed = 0) |
uint | qHash (const QSet<T> & key , uint seed = 0) |
uint | qHashRange (InputIterator first , InputIterator last , uint seed = 0) |
uint | qHashRangeCommutative (InputIterator first , InputIterator last , uint seed = 0) |
QPixelFormat | qPixelFormatAlpha (uchar channelSize , QPixelFormat::TypeInterpretation typeInterpretation = QPixelFormat::UnsignedInteger) |
QJSEngine * | qjsEngine (const QObject * object ) |
void | swap (QPair<T1, T2> & lhs , QPair<T1, T2> & rhs ) |
Q_ENUM ( ... ) | |
Q_FLAG ( ... ) | |
qCInfo ( category , const char * message , ... ) | |
qCInfo ( category ) | |
qInfo (const char * message , ... ) |
enum | ColorFilter { ColorFilterNone, ColorFilterGrayscale, ColorFilterNegative, ColorFilterSolarize, ..., ColorFilterVendor } |
enum | Transformation { TransformationNone, TransformationMirror, TransformationFlip, TransformationRotate180, ..., TransformationRotate270 } |
enum | ComparisonFunction { CompareLessEqual, CompareGreaterEqual, CompareLess, CompareGreater, ..., CompareNever } |
enum | ComparisonMode { CompareRefToTexture, CompareNone } |
enum | UpdateBehavior { NoPartialUpdate, PartialUpdate } |
enum | TabFocusBehavior { NoTabFocus, TabFocusTextControls, TabFocusListControls, TabFocusAllControls } |
|
autoTransform | |
colorFilter | |
direction | |
height | |
polling | |
scrollGestureEnabled | |
shortcuts | |
styleHints | |
width |
tagFound () | |
tagRemoved () | |
smartZoom () |
list<object> | supportedViewfinderFrameRateRanges (size resolution = undefined) |
list<size> | supportedViewfinderResolutions (real minimumFrameRate = undefined, real maximumFrameRate = undefined) |
string | getDataAsArrayBuffer (string format ) |
color | hsva (real hue , real saturation , real value , real alpha ) |
geocircle | shapeToCircle (geoshape shape ) const |
georectangle | shapeToRectangle (geoshape shape ) const |