This page contains a comprehensive list of all new classes and functions introduced in Qt 5.12. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
| manufacturerData (quint16 manufacturerId ) const | |
| manufacturerData () const | |
| manufacturerIds () const | |
| setManufacturerData (quint16 manufacturerId , const QByteArray & data ) |
类 QByteArray :
| compare (const QByteArray & a , Qt::CaseSensitivity cs ) const | |
| compare (const char * c , Qt::CaseSensitivity cs ) const | |
| isLower () const | |
| isUpper () const |
| hashLength (QCryptographicHash::Algorithm method ) |
类 QExplicitlySharedDataPointer :
| take () |
类 QMetaEnum :
| enumName () const |
| anchoredPattern (const QString & 表达式 ) | |
| wildcardToRegularExpression (const QString & pattern ) |
| setFilterRegularExpression (const QString & pattern ) |
类 QString :
| compare (QStringView s , Qt::CaseSensitivity cs ) const | |
| isLower () const | |
| isUpper () const |
类 QStringList :
| contains (QStringView str , Qt::CaseSensitivity cs ) const |
类 QStringView :
| compare (QStringView other , Qt::CaseSensitivity cs ) const |
类 QTextStream :
| operator<< (QStringView string ) |
类 QTimer :
| callOnTimeout (Functor slot , Qt::ConnectionType connectionType ) | |
| callOnTimeout (const QObject * context , Functor slot , Qt::ConnectionType connectionType ) | |
| callOnTimeout (const QObject * receiver , PointerToMemberFunction slot , Qt::ConnectionType connectionType ) |
类 QMetaEnumBuilder :
| enumName () const | |
| setEnumName (const QByteArray & alias ) |
类 QDBusMessage :
| isInteractiveAuthorizationAllowed () const | |
| setInteractiveAuthorizationAllowed (bool enable ) |
类 QBitmap :
| fromImage (QImage && image , Qt::ImageConversionFlags flags ) |
类 QIcon :
| fallbackThemeName () | |
| setFallbackThemeName (const QString & name ) |
类 QImageReader :
| imageFormatsForMimeType (const QByteArray & mimeType ) |
类 QImageWriter :
| imageFormatsForMimeType (const QByteArray & mimeType ) |
类 QPainter :
| fillRect (const QRect & rectangle , QGradient::Preset preset ) | |
| fillRect (const QRectF & rectangle , QGradient::Preset preset ) | |
| fillRect (int x , int y , int width , int height , QGradient::Preset preset ) |
类 QPalette :
| placeholderText () const |
| clearItemData (const QModelIndex & index ) |
类 QStandardItem :
| clearData () |
类 QTextBlockFormat :
| headingLevel () const | |
| setHeadingLevel (int level ) |
类 QTextImageFormat :
| quality () const | |
| setQuality (int quality ) |
类 QGeoRoute :
| routeLegs () const | |
| setRouteLegs (const QList<QGeoRouteLeg> & legs ) |
类 QGeoRouteSegment :
| isLegLastSegment () const |
类 QGeoServiceProviderFactoryV3 :
| virtual | setQmlEngine (QQmlEngine * engine ) |
类 QSslCertificate :
| issuerDisplayName () const | |
| subjectDisplayName () const |
| adapterStateChanged (QNearFieldManager::AdapterState state ) | |
| isSupported () const |
类 QNearFieldTarget :
| reportError (QNearFieldTarget::Error error , const QNearFieldTarget::RequestId & id ) |
类 QGeoPath :
| clearPath () |
类 QGeoPolygon :
| addHole (const QList<QGeoCoordinate> & holePath ) | |
| addHole (const QVariant & holePath ) | |
| hole (int index ) const | |
| holePath (int index ) const | |
| holesCount () const | |
| removeHole (int index ) |
类 QJSEngine :
| importModule (const QString & fileName ) | |
| newErrorObject (QJSValue::ErrorType errorType , const QString & message ) |
类 QJSValue :
| errorType () const |
类 QQmlComponent :
| engine () const |
类 QQmlEngine :
| singletonInstance (int qmlTypeId ) |
类 QQuickStyle :
| addStylePath (const QString & path ) | |
| stylePathList () |
类 QCanBusDevice :
| clear (QCanBusDevice::Directions direction ) | |
| readAllFrames () |
类 QWebSocket :
| bytesToWrite () const |
类 QWebSocketServer :
| nativeDescriptor () const | |
| setNativeDescriptor (qintptr socketDescriptor ) |
类 QDoubleSpinBox :
| setStepType (QAbstractSpinBox::StepType stepType ) |
类 QLayout :
| indexOf (QLayoutItem * layoutItem ) const |
类 QLineEdit :
| inputRejected () |
类 QSpinBox :
| setStepType (QAbstractSpinBox::StepType stepType ) |
| addSocketDescriptor (int fd ) |
类 QWaylandSeat :
| sendKeyEvent (int qtKey , bool pressed ) |
| addHostSideConnection (QIODevice * ioDevice ) |
| addClientSideConnection (QIODevice * ioDevice ) | |
| registerExternalSchema (const QString & schema , QRemoteObjectNode::RemoteObjectSchemaHandler handler ) |
| deriveKeyPbkdf1 (QCryptographicHash::Algorithm algorithm , const QByteArray & data , const QByteArray & salt , int iterations , quint64 dkLen ) | |
| deriveKeyPbkdf2 (QCryptographicHash::Algorithm algorithm , const QByteArray & data , const QByteArray & salt , int iterations , quint64 dkLen ) | |
| imageFromHBITMAP (HBITMAP bitmap , QtWin::HBitmapFormat format ) | |
| imageToHBITMAP (const QImage & image , QtWin::HBitmapFormat format ) | |
| toString (const std::tuple<Types...> & tuple ) | |
| toString (const QCborError & c ) |
| qFromBigEndian (const void * src , qsizetype count , void * dest ) | |
| qFromLittleEndian (const void * src , qsizetype count , void * dest ) | |
| qToBigEndian (const void * src , qsizetype count , void * dest ) | |
| qToLittleEndian (const void * src , qsizetype count , void * dest ) | |
| qmlTypeId (const char * uri , int versionMajor , int versionMinor , const char * qmlName ) |
| QT_TRANSLATE_N_NOOP ( context , sourceText ) | |
| QT_TRANSLATE_N_NOOP3 ( context , sourceText , comment ) | |
| QT_TR_N_NOOP ( sourceText ) |
| enum | Field { None, RSSI, ManufacturerData, All } |
| enum | Direction { Input, Output, AllDirections } |
| enum | HandshakeState { HandshakeNotStarted, HandshakeInProgress, PeerVerificationFailed, HandshakeComplete } |
| enum | QDtlsError { NoError, InvalidInputParameters, InvalidOperation, UnderlyingSocketError, ..., TlsNonFatalError } |
| enum | Preset { WarmFlame, NightFade, SpringWarmth, JuicyPeach, ..., PerfectBlue } |
| enum | ErrorType { NoError, GenericError, EvalError, RangeError, ..., URIError } |
| enum | AdapterState { Offline, TurningOn, Online, TurningOff } |
| typedef | RemoteObjectSchemaHandler |
|
|
| defaultLogLevel | |
| orientation | |
| sortCaseSensitive | |
| synchronousDrag | |
| visibleArea |
| finished () | |
| finished () |
| coordToMercator () | |
| mercatorToCoord () | |
| polygon () | |
| 等于 () | |
| addSocketDescriptor () | |
| sendKeyEvent () | |
| action () |