This page contains a comprehensive list of all new classes and functions introduced in Qt 6.2.
(preliminary)
namespace
|
QtAndroidPrivate |
类 QAbstractAxis :
void | labelsTruncatedChanged (bool labelsTruncated ) |
void | truncateLabelsChanged (bool truncateLabels ) |
QModelIndex | createSourceIndex (int row , int col , void * internalPtr ) const |
类 QAbstractSocket :
bool | bind (QHostAddress::SpecialAddress addr , quint16 port , QAbstractSocket::BindMode mode ) |
类 QBarSet :
void | deselectAllBars () |
void | deselectBar (int index ) |
void | deselectBars (const QList<int> & indexes ) |
bool | isBarSelected (int index ) const |
void | selectAllBars () |
void | selectBar (int index ) |
void | selectBars (const QList<int> & indexes ) |
QList<int> | selectedBars () const |
QColor | selectedColor () const |
void | setBarSelected (int index , bool selected ) |
void | setSelectedColor (const QColor & color ) |
void | toggleSelection (const QList<int> & indexes ) |
类 QBluetoothDeviceDiscoveryAgent :
void | errorOccurred (QBluetoothDeviceDiscoveryAgent::Error error ) |
void | setName (const QString & name ) |
void | errorOccurred (QBluetoothLocalDevice::Error error ) |
类 QBluetoothServer :
void | errorOccurred (QBluetoothServer::Error error ) |
类 QBluetoothServiceDiscoveryAgent :
void | errorOccurred (QBluetoothServiceDiscoveryAgent::Error error ) |
类 QBluetoothSocket :
void | errorOccurred (QBluetoothSocket::SocketError error ) |
类 QByteArray :
qsizetype | lastIndexOf (QByteArrayView bv ) const |
类 QByteArrayView :
int | compare (QByteArrayView bv , Qt::CaseSensitivity cs ) const |
qsizetype | lastIndexOf (QByteArrayView bv ) const |
类 QCanBusDevice :
virtual QCanBusDeviceInfo | deviceInfo () const |
QString | plugin () const |
类 QColorSpace :
QString | description () const |
void | setDescription (const QString & description ) |
类 QFileInfo :
std::filesystem::path | filesystemJunctionTarget () const |
QString | junctionTarget () const |
类 QFlags :
QFlags<T> | fromInt (QFlags::Int i ) |
QFlags<T> | operator& (QFlags<T> other ) const |
QFlags<T> & | operator&= (QFlags<T> mask ) |
size_t | qHash (QFlags<Enum> flags , size_t seed ) |
bool | testAnyFlag (Enum flag ) const |
bool | testAnyFlags (QFlags<T> flags ) const |
bool | testFlags (QFlags<T> flags ) const |
QFlags::Int | toInt () const |
类 QGeoAddress :
QGeoAddress & | operator= (QGeoAddress & other ) |
void | setStreetNumber (const QString & streetNumber ) |
QString | streetNumber () const |
QGeoAreaMonitorInfo & | operator= (QGeoAreaMonitorInfo && other ) |
virtual QVariant | backendProperty (const QString & name ) const |
virtual bool | setBackendProperty (const QString & name , const QVariant & value ) |
类 QGeoCoordinate :
QGeoCoordinate & | operator= (QGeoCoordinate && other ) |
类 QGeoLocation :
QGeoShape | boundingShape () const |
QGeoLocation & | operator= (QGeoLocation && other ) |
void | setBoundingShape (const QGeoShape & boundingShape ) |
类 QGeoPositionInfo :
QGeoPositionInfo & | operator= (QGeoPositionInfo && other ) |
QGeoSatelliteInfo & | operator= (QGeoSatelliteInfo && other ) |
virtual QVariant | backendProperty (const QString & name ) const |
virtual bool | setBackendProperty (const QString & name , const QVariant & value ) |
quint64 | timestamp () const |
bool | isInverted () const |
Qt::ScrollPhase | phase () const |
QPoint | pixelDelta () const |
类 QImage :
QSizeF | deviceIndependentSize () const |
QImage | fromData (QByteArrayView data , const char * format ) |
bool | loadFromData (QByteArrayView data , const char * format ) |
类 QJSEngine :
QJSValue | newSymbol (const QString & name ) |
类 QJniEnvironment :
jfieldID | findField (jclass clazz , const char * fieldName , const char * signature ) |
jmethodID | findMethod (jclass clazz , const char * methodName , const char * signature ) |
jfieldID | findStaticField (jclass clazz , const char * fieldName , const char * signature ) |
jmethodID | findStaticMethod (jclass clazz , const char * methodName , const char * signature ) |
bool | isValid () const |
类 QJniObject :
QByteArray | className () const |
jclass | objectClass () const |
qsizetype | lastIndexOf (QStringView str , Qt::CaseSensitivity cs ) const |
qsizetype | lastIndexOf (QLatin1StringView l1 , Qt::CaseSensitivity cs ) const |
类 QLegend :
void | attachedToChartChanged (bool attached ) |
bool | isInteractive () const |
void | setInteractive (bool interactive ) |
类 QLocale :
QLocale::Territory | codeToTerritory (QStringView territoryCode ) |
QString | nativeTerritoryName () const |
QLocale::Territory | territory () const |
QString | territoryToCode (QLocale::Territory territory ) |
QString | territoryToString (QLocale::Territory territory ) |
类 QLockFile :
void | setStaleLockTime (std::chrono::milliseconds value ) |
std::chrono::milliseconds | staleLockTimeAsDuration () const |
bool | tryLock (std::chrono::milliseconds timeout ) |
QLowEnergyDescriptor | clientCharacteristicConfiguration () const |
QLowEnergyController * | createPeripheral (const QBluetoothAddress & localDevice , QObject * parent ) |
void | errorOccurred (QLowEnergyController::Error newError ) |
int | mtu () const |
void | errorOccurred (QLowEnergyService::ServiceError newError ) |
类 QMetaMethod :
bool | isConst () const |
类 QMetaObject :
QMetaType | metaType () const |
int | interFrameDelay () const |
void | setInterFrameDelay (int microseconds ) |
QPointF | delta () const |
int | fingerCount () const |
jobject | context () |
void | hideSplashScreen (int duration ) |
bool | isActivityContext () |
QFuture<QVariant> | runOnAndroidMainThread (const std::function<QVariant ()> & runnable , const QDeadlineTimer timeout ) |
int | sdkVersion () |
类 QNdefFilter :
bool | match (const QNdefMessage & message ) const |
类 QNdefMessage :
QNdefMessage & | operator= (const QNdefMessage & other ) |
QNdefMessage & | operator= (QNdefMessage && other ) |
类 QNdefRecord :
void | clear () |
bool | isEnabled () const |
void | setUserInformation (const QString & message ) |
void | targetDetectionStopped () |
QDebug | operator<< (QDebug debug , const QNetworkAddressEntry & entry ) |
类 QNetworkRequest :
qint64 | decompressedSafetyCheckThreshold () const |
void | setDecompressedSafetyCheckThreshold (qint64 threshold ) |
类 QPixmap :
QSizeF | deviceIndependentSize () const |
类 QQmlContext :
QObject * | objectForName (const QString & name ) const |
qsizetype | size () const |
bool | saveToFile (const QUrl & filePath ) const |
QQuickRenderTarget | fromOpenGLRenderBuffer (uint renderbufferId , const QSize & pixelSize , int sampleCount ) |
类 QSqlQuery :
QSqlQuery & | operator= (QSqlQuery && other ) |
void | swap (QSqlQuery & other ) |
类 QSqlQueryModel :
void | setQuery (QSqlQuery && query ) |
类 QString :
qsizetype | lastIndexOf (QLatin1StringView str , Qt::CaseSensitivity cs ) const |
qsizetype | lastIndexOf (const QString & str , Qt::CaseSensitivity cs ) const |
qsizetype | lastIndexOf (QStringView str , Qt::CaseSensitivity cs ) const |
qsizetype | lastIndexOf (const QRegularExpression & re , QRegularExpressionMatch * rmatch ) const |
类 QStringView :
qsizetype | lastIndexOf (QStringView str , Qt::CaseSensitivity cs ) const |
qsizetype | lastIndexOf (QLatin1StringView l1 , Qt::CaseSensitivity cs ) const |
qsizetype | lastIndexOf (const QRegularExpression & re , QRegularExpressionMatch * rmatch ) const |
类 QTimeZone :
QLocale::Territory | territory () const |
类 QUntypedBindable :
QMetaType | metaType () const |
bool | hasProtectedContent () const |
类 QWebEnginePage :
void | loadingChanged (const QWebEngineLoadingInfo & loadingInfo ) |
void | navigationRequested (QWebEngineNavigationRequest & request ) |
void | newWindowRequested (QWebEngineNewWindowRequest & request ) |
void | requestIconForIconURL (const QUrl & url , int desiredSizeInPixel , std::function<void (const QIcon &, const QUrl &)> iconAvailableCallback ) const |
void | requestIconForPageURL (const QUrl & url , int desiredSizeInPixel , std::function<void (const QIcon &, const QUrl &, const QUrl &)> iconAvailableCallback ) const |
类 QWebEngineView :
QWebEngineView * | forPage (const QWebEnginePage * page ) |
QWebEngineContextMenuRequest * | lastContextMenuRequest () const |
void | pdfPrintingFinished (const QString & filePath , bool success ) |
void | print (QPrinter * printer ) |
void | printFinished (bool success ) |
void | printRequested () |
void | printToPdf (const QString & filePath , const QPageLayout & layout , const QPageRanges & ranges ) |
void | printToPdf (const std::function<void (const QByteArray &)> & resultCallback , const QPageLayout & layout , const QPageRanges & ranges ) |
类 QWebSocket :
void | alertReceived (QSsl::AlertLevel level , QSsl::AlertType type , const QString & description ) |
void | alertSent (QSsl::AlertLevel level , QSsl::AlertType type , const QString & description ) |
void | continueInterruptedHandshake () |
void | handshakeInterruptedOnError (const QSslError & error ) |
void | peerVerifyError (const QSslError & error ) |
类 QWebSocketServer :
void | alertReceived (QSsl::AlertLevel level , QSsl::AlertType type , const QString & description ) |
void | alertSent (QSsl::AlertLevel level , QSsl::AlertType type , const QString & description ) |
void | handshakeInterruptedOnError (const QSslError & error ) |
类 QXYSeries :
QPair<qreal, qreal> | bestFitLineEquation (bool & ok ) const |
void | clearPointConfiguration (const int index ) |
void | clearPointConfiguration (const int index , const QXYSeries::PointConfiguration key ) |
void | clearPointsConfiguration () |
void | clearPointsConfiguration (const QXYSeries::PointConfiguration key ) |
void | colorBy (const QList<qreal> & sourceData , const QLinearGradient & gradient ) |
void | deselectAllPoints () |
void | deselectPoint (int index ) |
void | deselectPoints (const QList<int> & indexes ) |
bool | isPointSelected (int index ) |
const QImage & | lightMarker () const |
void | lightMarkerChanged (const QImage & lightMarker ) |
qreal | markerSize () const |
QHash<QXYSeries::PointConfiguration, QVariant> | pointConfiguration (const int index ) const |
QHash<int, QHash<QXYSeries::PointConfiguration, QVariant>> | pointsConfiguration () const |
void | selectAllPoints () |
void | selectPoint (int index ) |
void | selectPoints (const QList<int> & indexes ) |
const QImage & | selectedLightMarker () const |
QList<int> | selectedPoints () const |
void | setLightMarker (const QImage & lightMarker ) |
void | setMarkerSize (qreal size ) |
void | setPointConfiguration (const int index , const QHash<QXYSeries::PointConfiguration, QVariant> & configuration ) |
void | setPointConfiguration (const int index , const QXYSeries::PointConfiguration key , const QVariant & value ) |
void | setPointSelected (int index , bool selected ) |
void | setPointsConfiguration (const QHash<int, QHash<QXYSeries::PointConfiguration, QVariant>> & pointsConfiguration ) |
void | setSelectedLightMarker (const QImage & selectedLightMarker ) |
void | sizeBy (const QList<qreal> & sourceData , const qreal minSize , const qreal maxSize ) |
void | toggleSelection (const QList<int> & indexes ) |
void | beginPropertyUpdateGroup () |
bool | bindService (const QAndroidIntent & serviceIntent , const QAndroidServiceConnection & serviceConnection , QtAndroidPrivate::BindFlags flags ) |
(preliminary)
QFuture<QtAndroidPrivate::PermissionResult>
|
checkPermission (const QString & permission ) |
void | endPropertyUpdateGroup () |
(preliminary)
QFuture<QtAndroidPrivate::PermissionResult>
|
requestPermission (const QString & permission ) |
void | startActivity (const QJniObject & intent , int receiverRequestCode , std::function<void (int, int, const QJniObject &)> callbackFunc ) |
void | startActivity (const QAndroidIntent & intent , int receiverRequestCode , QAndroidActivityResultReceiver * resultReceiver ) |
void | startActivity (const QJniObject & intent , int receiverRequestCode , QAndroidActivityResultReceiver * resultReceiver ) |
void | startIntentSender (const QJniObject & intentSender , int receiverRequestCode , QAndroidActivityResultReceiver * resultReceiver ) |
std::underlying_type_t<Enum> | qToUnderlying (Enum e ) |
const char * | qWebEngineChromiumVersion () |
const char * | qWebEngineVersion () |
PRIXQUINTPTR | |
PRIdQINTPTR | |
PRIdQPTRDIFF | |
PRIdQSIZETYPE | |
PRIiQINTPTR | |
PRIiQPTRDIFF | |
PRIiQSIZETYPE | |
PRIoQUINTPTR | |
PRIuQUINTPTR | |
PRIxQUINTPTR | |
Q_IMPORT_QML_PLUGIN ( PluginName ) |
enum | RubberBand { NoRubberBand, VerticalRubberBand, HorizontalRubberBand, RectangleRubberBand, ClickThroughRubberBand } |
enum | SocketOption { NoOptions, AbstractNamespaceOption } |
enum | DiscoveryMode { FullDiscovery, SkipValueDiscovery } |
enum | EditFlag { CanUndo, CanRedo, CanCut, CanCopy, CanPaste, …, CanEditRichly } |
enum | MediaFlag { MediaInError, MediaPaused, MediaMuted, MediaLoop, MediaCanSave, …, MediaCanRotate } |
enum | MediaType { MediaTypeNone, MediaTypeImage, MediaTypeVideo, MediaTypeAudio, MediaTypeCanvas, …, MediaTypePlugin } |
enum class | PointConfiguration { Color, Size, Visibility, LabelVisibility, LabelFormat } |
enum class | BindFlag { None, AutoCreate, DebugUnbind, NotForeground, AboveClient, …, ExternalService } |
|
|
CCCDDisable | |
CCCDEnableIndication | |
CCCDEnableNotification |
QML 类型 ColorGroup :
placeholderText : color |
QML 类型 Image :
mirrorVertically : bool |
QML 类型 SystemPalette :
placeholderText : color |
QML 类型 TableView :
selectionModel : ItemSelectionModel |
QML 类型 Texture :
autoOrientation : bool |
QML 类型 Locale :
string | formattedDataSize (int bytes , int precision , DataSizeFormat format ) |
QML 类型 TableView :
real | columnWidth (int column ) |
real | implicitColumnWidth (int column ) |
real | implicitRowHeight (int row ) |
bool | isColumnLoaded (int column ) |
bool | isRowLoaded (int row ) |
real | rowHeight (int row ) |
QML 类型 View3D :
List<PickResult> | pickAll (float x , float y ) |
PickResult | rayPick (vector3d origin , vector3d direction ) |
List<PickResult> | rayPickAll (vector3d origin , vector3d direction ) |