此页面包含 Qt 5.15 引入的所有新类和函数的综合列表。Qt 5 之前发行的新 API 链接在此页面底部可找到。
类 FromBase64Result :
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
类 QChar :
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
类 QConcatenateTablesProxyModel :
QList<QAbstractItemModel *> | sourceModels () const |
类 QFile :
bool | moveToTrash () |
bool | moveToTrash (const QString & fileName , QString * pathInTrash ) |
类 QFileInfo :
bool | isJunction () const |
类 QHash :
void | insert (const QHash<K, V> & other ) |
virtual bool | moveColumns (const QModelIndex & sourceParent , int sourceColumn , int count , const QModelIndex & destinationParent , int destinationChild ) override |
virtual bool | moveRows (const QModelIndex & sourceParent , int sourceRow , int count , const QModelIndex & destinationParent , int destinationChild ) override |
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
QKeyValueIterator::pointer | operator-> () const |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
类 QMap :
void | insert (const QMap<Key, T> & map ) |
类 QMetaProperty :
bool | isRequired () const |
类 QMetaType :
QMetaType | fromType () |
::QByteArray | name () const |
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
类 QPair :
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
类 QProcess :
QStringList | splitCommand (QStringView 命令 ) |
QString | anchoredPattern (QStringView 表达式 ) |
QString | escape (QStringView str ) |
QString | wildcardToRegularExpression (QStringView pattern ) |
类 QResource :
QByteArray | uncompressedData () const |
qint64 | uncompressedSize () const |
类 QRunnable :
QRunnable * | create (std::function<void ()> functionToRun ) |
类 QScopedPointer :
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
类 QSignalMapper :
void | mappedInt (int i ) |
void | mappedObject (QObject * object ) |
void | mappedString (const QString & text ) |
void | mappedWidget (QWidget * widget ) |
类 QSocketNotifier :
void | activated (QSocketDescriptor socket , QSocketNotifier::Type type ) |
void | filterCaseSensitivityChanged (Qt::CaseSensitivity filterCaseSensitivity ) |
void | filterRoleChanged (int filterRole ) |
void | recursiveFilteringEnabledChanged (bool recursiveFilteringEnabled ) |
void | sortCaseSensitivityChanged (Qt::CaseSensitivity sortCaseSensitivity ) |
void | sortLocaleAwareChanged (bool sortLocaleAware ) |
void | sortRoleChanged (int sortRole ) |
类 QStateMachine :
int | postDelayedEvent (QEvent * event , std::chrono::milliseconds delay ) |
类 QString :
bool | isValidUtf16 () const |
类 QStringView :
bool | isValidUtf16 () const |
类 QThread :
bool | wait (QDeadlineTimer deadline ) |
类 QThreadPool :
void | start (std::function<void ()> functionToRun , int priority ) |
bool | tryStart (std::function<void ()> functionToRun ) |
类 QTranslator :
QString | filePath () const |
QString | 语言 () const |
类 QVarLengthArray :
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
类 QXmlStreamReader :
int | entityExpansionLimit () const |
void | setEntityExpansionLimit (int limit ) |
类 qfloat16 :
qfloat16 | copySign (qfloat16 sign ) const |
类 QColorSpace :
QVariant | operator QVariant () const |
类 QCursor :
QBitmap | bitmap ( Qt::ReturnByValueConstant ) const |
QBitmap | mask ( Qt::ReturnByValueConstant ) const |
类 QPdfWriter :
void | addFileAttachment (const QString & fileName , const QByteArray & data , const QString & mimeType ) |
QByteArray | documentXmpMetadata () const |
void | setDocumentXmpMetadata (const QByteArray & xmpMetadata ) |
类 QPlatformWindow :
virtual bool | startSystemMove () |
virtual bool | startSystemResize (Qt::Edges edges ) |
类 QScreen :
QScreen * | virtualSiblingAt (QPoint point ) |
类 QVulkanInstance :
void | presentAboutToBeQueued (QWindow * window ) |
类 QVulkanWindow :
uint32_t | graphicsQueueFamilyIndex () const |
void | setQueueCreateInfoModifier (const QVulkanWindow::QueueCreateInfoModifier & modifier ) |
类 QWindow :
bool | startSystemMove () |
bool | startSystemResize (Qt::Edges edges ) |
类 QHelpEngineCore :
QList<QHelpLink> | documentsForIdentifier (const QString & id ) const |
QList<QHelpLink> | documentsForIdentifier (const QString & id , const QString & filterName ) const |
QList<QHelpLink> | documentsForKeyword (const QString & keyword ) const |
QList<QHelpLink> | documentsForKeyword (const QString & keyword , const QString & filterName ) const |
QList<QVersionNumber> | availableVersions () const |
QStringList | indices () const |
QStringList | indices (const QString & filterName ) const |
类 QHelpIndexModel :
QHelpEngineCore * | helpEngine () const |
类 QHelpIndexWidget :
void | documentActivated (const QHelpLink & document , const QString & keyword ) |
void | documentsActivated (const QList<QHelpLink> & documents , const QString & keyword ) |
类 QCamera :
void | errorOccurred (QCamera::Error value ) |
类 QMediaPlayer :
void | setVideoOutput (const QVector<QAbstractVideoSurface *> & surfaces ) |
类 QVideoFrame :
QImage | image () const |
类 QAbstractSocket :
void | errorOccurred (QAbstractSocket::SocketError socketError ) |
类 QLocalSocket :
void | errorOccurred (QLocalSocket::LocalSocketError socketError ) |
void | setTransferTimeout (int timeout ) |
int | transferTimeout () const |
类 QNetworkReply :
void | errorOccurred (QNetworkReply::NetworkError code ) |
类 QNetworkRequest :
void | setTransferTimeout (int timeout ) |
int | transferTimeout () const |
类 QSslCertificate :
QList<QSslCertificate> | fromPath (const QString & path , QSsl::EncodingFormat format , QSslCertificate::PatternSyntax syntax ) |
void | addCaCertificate (const QSslCertificate & certificate ) |
bool | addCaCertificates (const QString & path , QSsl::EncodingFormat format , QSslCertificate::PatternSyntax syntax ) |
void | addCaCertificates (const QList<QSslCertificate> & certificates ) |
类 QSslSocket :
void | newSessionTicketReceived () |
QList<QSslError> | sslHandshakeErrors () const |
void | incubateWhile (std::atomic<bool> * flag , int msecs ) |
类 QQmlIncubator :
void | setInitialProperties (const QVariantMap & initialProperties ) |
RequiredProperties & | requiredProperties () |
类 QSGTexture :
QSGTexture::NativeTexture | nativeTexture () const |
类 QSvgRenderer :
QTransform | transformForElement (const QString & id ) const |
类 QWebSocket :
quint64 | maxAllowedIncomingFrameSize () const |
quint64 | maxAllowedIncomingMessageSize () const |
quint64 | maxIncomingFrameSize () |
quint64 | maxIncomingMessageSize () |
quint64 | maxOutgoingFrameSize () |
quint64 | outgoingFrameSize () const |
void | setMaxAllowedIncomingFrameSize (quint64 maxAllowedIncomingFrameSize ) |
void | setMaxAllowedIncomingMessageSize (quint64 maxAllowedIncomingMessageSize ) |
void | setOutgoingFrameSize (quint64 outgoingFrameSize ) |
类 QButtonGroup :
void | idClicked (int id ) |
void | idPressed (int id ) |
void | idReleased (int id ) |
void | idToggled (int id , bool checked ) |
类 QLabel :
QPicture | picture ( Qt::ReturnByValueConstant ) const |
QPixmap | pixmap ( Qt::ReturnByValueConstant ) const |
类 QTabBar :
bool | isTabVisible (int index ) const |
void | setTabVisible (int index , bool visible ) |
类 QTabWidget :
bool | isTabVisible (int index ) const |
void | setTabVisible (int index , bool visible ) |
类 QWizard :
QList<int> | visitedIds () const |
类 QDomDocument :
bool | setContent (QXmlStreamReader * reader , bool namespaceProcessing , QString * errorMsg , int * errorLine , int * errorColumn ) |
bool | operator!= (const QMetaType & a , const QMetaType & b ) |
bool | operator== (const QMetaType & a , const QMetaType & b ) |
enum | TransferTimeoutConstant { DefaultTransferTimeoutConstant } |
enum | Format { GLSL, SPIRV } |
enum class | PatternSyntax { RegularExpression, Wildcard, FixedString } |
enum | ReturnByValueConstant { ReturnByValue } |
|
|
errorOccurred () |
lookAt () | |
lookAt () | |
start () | |
stop () |