QStandardPaths is a more powerful version of QDesktopServices that was present in Qt 4. Modeled after KStandardDirs from KDE 4, it contains additional features such as searching for all occurrences of a given file in the storage locations.
QObject now supports an additional syntax for connecting signals to slots, which forces the compiler to check whether the signal and the receiver exist and their arguments are compatible.
This syntax allows connecting a signal to any kind of C++ receiver, including C++11 lambdas, member functions, or static functions. The receivers no longer need to be declared as slots, but such declarations are still recommended for readability.
见 基于字符串的连接和基于函子的连接之间的差异 了解更多细节。
QRegularExpression is introduced to provide better support for regular expressions compatible with Perl. This class is more powerful and faster than QRegExp , and supports more features such as lazy and possessive quantifiers, lookbehinds, named capturing groups, and iteration of matches.
A new set of enabler classes have been added, most importantly QWindow , QScreen , QSurfaceFormat ,和 QOpenGLContext . These are now used as backends for the Qt Widgets module and by Qt Quick 2.
Most of the useful Qt OpenGL classes have been polished and moved into Qt GUI . A few important ones are, QOpenGLFramebufferObject , QOpenGLShaderProgram , QOpenGLFunctions , and so on. For the complete list, refer to Qt GUI C++ 类 .
This change introduces QOpenGLContext as a replacement for QGLContext. This replacement class is more generic and decoupled from QWindow , making it to support more use cases such as using the same context for multiple surfaces.
Instead of having QWindow and QOpenGLFramebufferObject be subclasses of QPaintDevice , you can now use QOpenGLPaintDevice . This new alternative can be created on the stack, makes it easier and flexible to render into the currently bound context using QPainter .
It is now possible to lookup DNS records using the new QDnsLookup API. This does not replace QHostInfo , which is still the API to be used for resolving a host name to an IP address. QDnsLookup is mainly used for other types of DNS record, such as SRV, TXT and MX.
注意: This new class replaces the Q3Dns API, which is removed in Qt 5.
Most applications using host names and network layer transparent protocols, will now gain IPv6 support transparently. This means, QTcpServer and QUdpSocket bound to QHostAddress::Any can now receive both IPv4 and IPv6 connections, although, QHostAddress::AnyIPv4 and QHostAddress::AnyIPv6 can be used to bind to only one protocol.
Outgoing http connections using QNetworkAccessManager will now attempt both IPv4 and IPv6 connections in parallel, and use the one that succeeds first.
QTcpSocket can be bound to an IP address before connecting, which is useful for limiting connection to a specific interface in a multi-homed environment.
SSL certificate extensions can now be accessed to enable further development of SSL support in Qt.
Developers can also verify an SSL certificate chain programatically now.
The QSsl::SslOption enum now allows a QSslSocket -based code to access legacy systems by enabling bug workarounds.
注意: This change is also back-ported to Qt 4.8.
This allows applications to read private keys from devices such as PKCS#11 dongles, as illustrated by the qsslkey example
This is a new module in Qt 5 that provides the QML engine and the backend infrastructure.
This is a new module in Qt 5 which provides the visual canvas and scenegraph backend as well as the
QtQuick
QML module for QML-based application development.
The module replaces the QDeclarative* equivalents in QtQuick 1 with the following:
见 Qt Quick C++ 类 for the complete list.
The QtQuick 2.0 QML module is a major update, and the following sections outline the features that come with it:
fillMode
property does not transform the image unlike the other
fillMode
枚举值。
StyledText
而不是
RichText
.
PlainText
而不是
AutoText
.
wrapMode
and verticalAlignment properties.
TextInput.positionAt()
now takes
y
值。
clicked
,
doubleClicked
and
pressAndHold
events differently to
pressed
. These events are propagated to the handler of the topmost
MouseArea
in the stack-order.
propagateComposedEvents
. Such ignored events are propagated to the next
MouseArea
handler in the stack-order.
rebound
property that enables you to specify the transition type for the bounce back animation.
topMargin
,
bottomMargin
,
leftMargin
,和
rightMargin
properties allow extra margin space to be specified. This is useful to implement the pull-to-refresh functionality for a list.
xOrigin
and
yOrigin
properties provide the top left position of the content item.
dragging
,
draggingHorizontally
,和
draggingVertically
properties that provide information when the flickable area is dragged.
The following features are related to Row, Column, Grid, and Flow types:
Positioner.index
,
Positioner.isFirstItem
and
Positioner.isLastItem
attached properties for items within a positioner.
rowSpacing
and
columnSpacing
特性。
verticalLayoutDirection
property enables items to be laid out from bottom-to-top using the
BottomToTop
枚举值。
cacheBuffer
property now has a non-zero default and delegates in the
cacheBuffer
are created asynchronously.
headerItem
and
footerItem
properties provide access to the instantiated header and footer items.
RightToLeft
layout now also reverses the
preferredHighlightBegin
and
preferredHighlightEnd
.
section.labelPositioning
property can fix the current section label to the start of the view, and the next section label to the end of the view, so that labels do not scroll while section items are still in view.
curretnItem
and
maximumFlickVelocity
.
新的
QtQuick
.Particles 2.0 module provides support for the composition of a variety of 2D particle systems. See
使用 Qt Quick 粒子系统
了解更多细节。
PathArc
and
PathCurve
support the construction of arcs and catmull-rom curves, respectively.
PathSvg
supports the construction of a path from an SVG string.
asynchronous
property allows components to be instantiated with a lower chance of blocking. With the
asynchronous
特性被设为
true
, the component is compiled in a background thread.
active
property delays instantiation of a Loader object’s item.
setSource(JSObject)
method to specify initial property values for the loaded item, similar to
Component.createObject()
.
sourceChanged
signal is now only emitted when the source changes and the
sourceComponentChanged
signal is now emitted when the
sourceComponent
is changed. Ealier, these signals were emitted by the Loader only when one of the two properties had changed.
false
.
Qt Multimedia is an essential module replacing the QtMultimedia library and Qt MultimediaKit mobility API in Qt 4.8. It features full support for Audio and Video playback, and recording. Support for web cameras is integrated.
Qt Multimedia uses the system’s native multimedia engine as a backend, and does not come with its own audio or video codecs. Thus the supported list of codecs is equivalent to the ones supported by the underlying OS.
It uses DirectShow and WMF on Windows, AVFoundation on Mac and gstreamer on Linux.
The section provides a comprehensive list of all new classes and functions introduced in Qt 5.
bool | filterNativeEvent (const QByteArray & eventType , void * message , long * result ) |
void | installNativeEventFilter (QAbstractNativeEventFilter * filterObj ) |
void | removeNativeEventFilter (QAbstractNativeEventFilter * filter ) |
void | layoutAboutToBeChanged (const QList<QPersistentModelIndex> & parents , QAbstractItemModel::LayoutChangeHint hint ) |
void | layoutChanged (const QList<QPersistentModelIndex> & parents , QAbstractItemModel::LayoutChangeHint hint ) |
类 QByteArray :
QByteArray::const_iterator | cbegin () const |
QByteArray::const_iterator | cend () const |
const QPoint | operator+ (const QPoint & point ) |
const QPointF | operator+ (const QPointF & point ) |
类 FromBase64Result :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
uint | qHash (char key , uint seed ) |
uint | qHash (uchar key , uint seed ) |
uint | qHash (signed char key , uint seed ) |
uint | qHash (ushort key , uint seed ) |
uint | qHash (short key , uint seed ) |
uint | qHash (uint key , uint seed ) |
uint | qHash (int key , uint seed ) |
uint | qHash (ulong key , uint seed ) |
uint | qHash (long key , uint seed ) |
uint | qHash (quint64 key , uint seed ) |
uint | qHash (qint64 key , uint seed ) |
uint | qHash (const QChar key , uint seed ) |
uint | qHash (const QByteArray & key , uint seed ) |
uint | qHash (const QString & key , uint seed ) |
uint | qHash (const QStringRef & key , uint seed ) |
uint | qHash (const QBitArray & key , uint seed ) |
uint | qHash (QLatin1String key , uint seed ) |
uint | qHash (const T * key , uint seed ) |
uint | qHash (const QPair<T1, T2> & key , uint seed ) |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QChar :
bool | hasMirrored (uint ucs4 ) |
bool | isDigit (uint ucs4 ) |
bool | isLetter (uint ucs4 ) |
bool | isLetterOrNumber (uint ucs4 ) |
bool | isLower (uint ucs4 ) |
bool | isMark (uint ucs4 ) |
bool | isNonCharacter () const |
bool | isNonCharacter (uint ucs4 ) |
bool | isNumber (uint ucs4 ) |
bool | isPrint (uint ucs4 ) |
bool | isPunct (uint ucs4 ) |
bool | isSpace (uint ucs4 ) |
bool | isSurrogate () const |
bool | isSurrogate (uint ucs4 ) |
bool | isSymbol (uint ucs4 ) |
bool | isTitleCase (uint ucs4 ) |
bool | isUpper (uint ucs4 ) |
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QCoreApplication :
void | installNativeEventFilter (QAbstractNativeEventFilter * filterObj ) |
void | removeNativeEventFilter (QAbstractNativeEventFilter * filterObject ) |
bool | addData (QIODevice * device ) |
类 QDateTime :
void | swap (QDateTime & other ) |
类 QDeadlineTimer :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
const QPoint | operator+ (const QPoint & point ) |
const QPointF | operator+ (const QPointF & point ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QDebug :
bool | autoInsertSpaces () const |
void | setAutoInsertSpaces (bool b ) |
void | swap (QDebug & other ) |
类 QDir :
bool | removeRecursively () |
void | swap (QDir & other ) |
类 QEasingCurve :
void | swap (QEasingCurve & other ) |
QVector<QPointF> | toCubicSpline () const |
类 QFileInfo :
bool | isNativePath () const |
void | swap (QFileInfo & other ) |
类 QHash :
QHash::const_iterator | cbegin () const |
QHash::const_iterator | cend () const |
uint | qHash (const QUrl & url , uint seed ) |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QLatin1String :
bool | operator!= (const QByteArray & other ) const |
bool | operator< (const QByteArray & other ) const |
bool | operator<= (const QByteArray & other ) const |
bool | operator== (const QByteArray & other ) const |
bool | operator> (const QByteArray & other ) const |
bool | operator>= (const QByteArray & other ) const |
类 QLibraryInfo :
bool | isDebugBuild () |
类 QLinkedList :
QLinkedList::const_iterator | cbegin () const |
QLinkedList::const_iterator | cend () const |
类 QList :
QList::const_iterator | cbegin () const |
QList::const_iterator | cend () const |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QLocale :
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QMap :
QMap::const_iterator | cbegin () const |
QMap::const_iterator | cend () const |
类 QMargins :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QMarginsF :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QMetaMethod :
QMetaMethod | fromSignal (PointerToMemberFunction signal ) |
bool | isValid () const |
QByteArray | methodSignature () const |
QByteArray | name () const |
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
int | parameterCount () const |
int | parameterType (int index ) const |
int | returnType () const |
类 QMetaObject :
bool | checkConnectArgs (const QMetaMethod & signal , const QMetaMethod & method ) |
类 QMetaType :
void * | construct (int type , void * where , const void * copy ) |
void * | construct (void * where , const void * copy ) const |
void * | create (const void * copy ) const |
void | destroy (void * data ) const |
void | destruct (int type , void * where ) |
void | destruct (void * data ) const |
QMetaType::TypeFlags | flags () const |
bool | isRegistered () const |
bool | isValid () const |
const QMetaObject * | metaObjectForType (int type ) |
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
int | sizeOf (int type ) |
int | sizeOf () const |
QMetaType::TypeFlags | typeFlags (int type ) |
类 QMultiHash :
uint | qHash (const QUrl & url , uint seed ) |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QObject :
virtual void | connectNotify (const QMetaMethod & signal ) |
virtual void | disconnectNotify (const QMetaMethod & signal ) |
QList<T> | findChildren (const QRegularExpression & re , Qt::FindChildOptions options ) const |
bool | isSignalConnected (const QMetaMethod & signal ) const |
类 QPair :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
void | swap (QPersistentModelIndex & other ) |
类 QPluginLoader :
void | qRegisterStaticPluginFunction (QStaticPlugin plugin ) |
类 QPoint :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
const QPoint | operator+ (const QPoint & point ) |
const QPointF | operator+ (const QPointF & point ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QPointF :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
const QPointF | operator+ (const QPointF & point ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QPointer :
void | clear () |
类 QProcess :
QStringList | arguments () const |
QString | program () const |
void | swap (QProcessEnvironment & other ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QRegExp :
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QScopedPointer :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QSet :
QSet::const_iterator | cbegin () const |
QSet::const_iterator | cend () const |
类 QSharedPointer :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
void | reset () |
void | reset (T * t ) |
void | reset (T * t , Deleter deleter ) |
类 QSize :
QSize | scaled (int width , int height , Qt::AspectRatioMode mode ) const |
QSize | scaled (const QSize & s , Qt::AspectRatioMode mode ) const |
QSize | transposed () const |
类 QSizeF :
QSizeF | scaled (qreal width , qreal height , Qt::AspectRatioMode mode ) const |
QSizeF | scaled (const QSizeF & s , Qt::AspectRatioMode mode ) const |
QSizeF | transposed () const |
类 QString :
QString & | append (const QChar * str , int len ) |
QString::const_iterator | cbegin () const |
QString::const_iterator | cend () const |
bool | contains (const QRegularExpression & re ) const |
int | count (const QRegularExpression & re ) const |
QString | fromLatin1 (const QByteArray & str ) |
QString | fromLocal8Bit (const QByteArray & str ) |
QString | fromUtf8 (const QByteArray & str ) |
int | indexOf (const QRegularExpression & re , int from ) const |
int | lastIndexOf (const QRegularExpression & re , int from ) const |
const QPoint | operator+ (const QPoint & point ) |
const QPointF | operator+ (const QPointF & point ) |
QString & | remove (const QRegularExpression & re ) |
QString & | replace (const QRegularExpression & re , const QString & after ) |
QString | section (const QRegularExpression & re , int start , int end , QString::SectionFlags flags ) const |
QString | toHtmlEscaped () const |
类 QStringList :
QStringList | filter (const QRegularExpression & re ) const |
int | indexOf (const QRegularExpression & re , int from ) const |
QString | join (QChar separator ) const |
int | lastIndexOf (const QRegularExpression & re , int from ) const |
QStringList & | replaceInStrings (const QRegularExpression & re , const QString & after ) |
类 QStringView :
uint | qHash (const QBitArray & key , uint seed ) |
uint | qHash (QLatin1String key , uint seed ) |
uint | qHash (const T * key , uint seed ) |
uint | qHash (const QPair<T1, T2> & key , uint seed ) |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QThread :
QAbstractEventDispatcher * | eventDispatcher () const |
void | setEventDispatcher (QAbstractEventDispatcher * eventDispatcher ) |
类 QUrl :
void | setQuery (const QUrlQuery & query ) |
QString | toDisplayString (QUrl::FormattingOptions options ) const |
类 QUrlQuery :
uint | qHash (const QUuid & uuid , uint seed ) |
类 QUuid :
QUuid | createUuidV3 (const QUuid & ns , const QByteArray & baseData ) |
QUuid | createUuidV3 (const QUuid & ns , const QString & baseData ) |
QUuid | createUuidV5 (const QUuid & ns , const QByteArray & baseData ) |
QUuid | createUuidV5 (const QUuid & ns , const QString & baseData ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QVarLengthArray :
T & | back () |
const T & | back () const |
QVarLengthArray::const_iterator | cbegin () const |
QVarLengthArray::const_iterator | cend () const |
bool | empty () const |
T & | front () |
const T & | front () const |
int | length () const |
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
void | pop_back () |
void | push_back (const T & t ) |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QVariant :
QJsonArray | toJsonArray () const |
QJsonDocument | toJsonDocument () const |
QJsonObject | toJsonObject () const |
QJsonValue | toJsonValue () const |
QModelIndex | toModelIndex () const |
QRegularExpression | toRegularExpression () const |
QUuid | toUuid () const |
类 QVector :
QVector::const_iterator | cbegin () const |
QVector::const_iterator | cend () const |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QTime & key , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
类 QVersionNumber :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QWeakPointer :
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
类 QDBusPendingCall :
void | swap (QDBusPendingCall & other ) |
void | swap (QDBusUnixFileDescriptor & other ) |
QString | errorString () const |
类 QDesignerContainerExtension :
virtual bool | canAddWidget () const |
virtual bool | canRemove (int index ) const |
类 QDesignerFormWindowInterface :
void | activateResourceFilePaths (const QStringList & paths , int * errorCount , QString * errorMessages ) |
QStringList | activeResourceFilePaths () const |
virtual QStringList | checkContents () const = 0 |
virtual QWidget * | formContainer () const = 0 |
类 QDesignerFormWindowManagerInterface :
virtual QAction * | action (QDesignerFormWindowManagerInterface::Action action ) const = 0 |
virtual QActionGroup * | actionGroup (QDesignerFormWindowManagerInterface::ActionGroup actionGroup ) const = 0 |
virtual void | closeAllPreviews () = 0 |
virtual void | showPluginDialog () = 0 |
virtual void | showPreview () = 0 |
类 QDesignerPropertySheetExtension :
virtual bool | isEnabled (int index ) const |
类 QDrag :
QPixmap | dragCursor (Qt::DropAction action ) const |
类 QFont :
void | removeSubstitutions (const QString & familyName ) |
void | swap (QFont & other ) |
类 QFontInfo :
void | swap (QFontInfo & other ) |
类 QFontMetrics :
void | swap (QFontMetrics & other ) |
类 QFontMetricsF :
void | swap (QFontMetricsF & other ) |
类 QGlyphRun :
QRectF | boundingRect () const |
QGlyphRun::GlyphRunFlags | flags () const |
bool | isEmpty () const |
bool | isRightToLeft () const |
void | setBoundingRect (const QRectF & boundingRect ) |
void | setFlag (QGlyphRun::GlyphRunFlag flag , bool enabled ) |
void | setFlags (QGlyphRun::GlyphRunFlags flags ) |
void | setRightToLeft (bool rightToLeft ) |
void | swap (QGlyphRun & other ) |
类 QGuiApplication :
bool | isSavingSession () const |
类 QMouseEvent :
const QPointF & | localPos () const |
const QPointF & | screenPos () const |
const QPointF & | windowPos () const |
类 QPalette :
void | swap (QPalette & other ) |
virtual QFont | defaultFont () const |
virtual bool | fontsAlwaysScalable () const |
virtual QString | resolveFontFamilyAlias (const QString & family ) const |
virtual QList<int> | standardSizes () const |
类 QRawFont :
QRectF | boundingRect (quint32 glyphIndex ) const |
void | swap (QRawFont & other ) |
类 QRegion :
bool | isNull () const |
类 QStaticText :
void | swap (QStaticText & other ) |
类 QTextCharFormat :
QFont::SpacingType | fontLetterSpacingType () const |
int | fontStretch () const |
void | setFontLetterSpacingType (QFont::SpacingType letterSpacingType ) |
void | setFontStretch (int factor ) |
类 QTextCursor :
void | swap (QTextCursor & other ) |
类 QTextFormat :
void | swap (QTextFormat & other ) |
类 QTextLine :
QList<QGlyphRun> | glyphRuns (int from , int length ) const |
类 TouchPoint :
QVector<QPointF> | rawScreenPositions () const |
virtual QVariant | actualValue (QCameraExposureControl::ExposureParameter 参数 ) const = 0 |
void | actualValueChanged (int 参数 ) |
virtual bool | isParameterSupported (QCameraExposureControl::ExposureParameter 参数 ) const = 0 |
void | parameterRangeChanged (int 参数 ) |
virtual QVariant | requestedValue (QCameraExposureControl::ExposureParameter 参数 ) const = 0 |
void | requestedValueChanged (int 参数 ) |
virtual bool | setValue (QCameraExposureControl::ExposureParameter 参数 , const QVariant & value ) = 0 |
virtual QVariantList | supportedParameterRange (QCameraExposureControl::ExposureParameter 参数 , bool * continuous ) const = 0 |
virtual bool | isEventFeedbackEnabled (QCameraFeedbackControl::EventType event ) const = 0 |
virtual bool | isEventFeedbackLocked (QCameraFeedbackControl::EventType event ) const = 0 |
virtual void | resetEventFeedback (QCameraFeedbackControl::EventType event ) = 0 |
virtual bool | setEventFeedbackEnabled (QCameraFeedbackControl::EventType event , bool enabled ) = 0 |
virtual bool | setEventFeedbackSound (QCameraFeedbackControl::EventType event , const QString & filePath ) = 0 |
类 QAbstractSocket :
bool | bind (const QHostAddress & address , quint16 port , QAbstractSocket::BindMode mode ) |
bool | bind (quint16 port , QAbstractSocket::BindMode mode ) |
QAbstractSocket::PauseModes | pauseMode () const |
virtual void | resume () |
void | setPauseMode (QAbstractSocket::PauseModes pauseMode ) |
类 QHostAddress :
bool | isLoopback () const |
uint | qHash (const QHostAddress & key , uint seed ) |
类 QHttpPart :
void | swap (QHttpPart & other ) |
类 QLocalServer :
bool | listen (qintptr socketDescriptor ) |
QLocalServer::SocketOptions | socketOptions () const |
void | clearAccessCache () |
void | swap (QNetworkAddressEntry & other ) |
void | swap (QNetworkConfiguration & other ) |
void | swap (QNetworkCacheMetaData & other ) |
类 QNetworkCookie :
void | normalize (const QUrl & url ) |
bool | operator== (const QNetworkCookie & other ) const |
void | swap (QNetworkCookie & other ) |
virtual bool | deleteCookie (const QNetworkCookie & cookie ) |
virtual bool | insertCookie (const QNetworkCookie & cookie ) |
virtual bool | updateCookie (const QNetworkCookie & cookie ) |
virtual bool | validateCookie (const QNetworkCookie & cookie , const QUrl & url ) const |
void | swap (QNetworkInterface & other ) |
类 QNetworkProxy :
bool | hasRawHeader (const QByteArray & headerName ) const |
QVariant | header (QNetworkRequest::KnownHeaders header ) const |
QByteArray | rawHeader (const QByteArray & headerName ) const |
QList<QByteArray> | rawHeaderList () const |
void | setHeader (QNetworkRequest::KnownHeaders header , const QVariant & value ) |
void | setRawHeader (const QByteArray & headerName , const QByteArray & headerValue ) |
void | swap (QNetworkProxy & other ) |
void | swap (QNetworkProxyQuery & other ) |
类 QNetworkReply :
virtual void | ignoreSslErrorsImplementation (const QList<QSslError> & errors ) |
virtual void | setSslConfigurationImplementation (const QSslConfiguration & configuration ) |
virtual void | sslConfigurationImplementation (QSslConfiguration & configuration ) const |
类 QNetworkRequest :
void | swap (QNetworkRequest & other ) |
类 QNetworkSession :
void | usagePoliciesChanged (QNetworkSession::UsagePolicies usagePolicies ) |
类 QSslCertificate :
QList<QSslCertificateExtension> | extensions () const |
QList<QByteArray> | issuerInfoAttributes () const |
QList<QByteArray> | subjectInfoAttributes () const |
void | swap (QSslCertificate & other ) |
QString | toText () const |
QList<QSslError> | verify (QList<QSslCertificate> certificateChain , const QString & hostName ) |
类 QSslCipher :
void | swap (QSslCipher & other ) |
void | swap (QSslConfiguration & other ) |
类 QSslError :
void | swap (QSslError & other ) |
类 QSslKey :
void | swap (QSslKey & other ) |
类 QSslSocket :
virtual void | resume () override |
long | sslLibraryVersionNumber () |
QString | sslLibraryVersionString () |
类 QTcpServer :
void | acceptError (QAbstractSocket::SocketError socketError ) |
void | pauseAccepting () |
void | resumeAccepting () |
类 QPrinterInfo :
QString | description () const |
QString | location () const |
QString | makeAndModel () const |
QPrinterInfo | printerInfo (const QString & printerName ) |
类 QRotationReading :
void | setFromEuler (qreal x , qreal y , qreal z ) |
类 QSensor :
bool | isFeatureSupported (QSensor::Feature feature ) const |
类 QSensorBackend :
virtual bool | isFeatureSupported (QSensor::Feature feature ) const |
类 QSqlDriver :
void | notification (const QString & name , QSqlDriver::NotificationSource source , const QVariant & payload ) |
类 QSqlTableModel :
bool | isDirty () const |
QSqlRecord | record (int row ) const |
virtual bool | selectRow (int row ) |
类 QSignalSpy :
bool | wait (int timeout ) |
QTest::QTouchEventSequence & | move (int touchId , const QPoint & pt , QWindow * window ) |
QTest::QTouchEventSequence & | press (int touchId , const QPoint & pt , QWindow * window ) |
QTest::QTouchEventSequence & | release (int touchId , const QPoint & pt , QWindow * window ) |
类 QUiLoader :
QString | errorString () const |
virtual void | destroyEditor (QWidget * editor , const QModelIndex & index ) const |
类 QColorDialog :
QColor | standardColor (int index ) |
类 QComboBox :
void | currentTextChanged (const QString & text ) |
类 QHeaderView :
QHeaderView::ResizeMode | sectionResizeMode (int logicalIndex ) const |
bool | sectionsClickable () const |
bool | sectionsMovable () const |
void | setSectionResizeMode (QHeaderView::ResizeMode mode ) |
void | setSectionResizeMode (int logicalIndex , QHeaderView::ResizeMode mode ) |
void | setSectionsClickable (bool clickable ) |
void | setSectionsMovable (bool movable ) |
类 QTabBar :
virtual QSize | minimumTabSizeHint (int index ) const |
类 QWidget :
QBackingStore * | backingStore () const |
QPixmap | grab (const QRect & rectangle ) |
virtual bool | hasHeightForWidth () const |
QWindow * | windowHandle () const |
void | keyClick (QWindow * window , char key , Qt::KeyboardModifiers modifier , int delay ) |
void | keyClick (QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) |
void | keyEvent (QTest::KeyAction action , QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) |
void | keyEvent (QTest::KeyAction action , QWindow * window , char ascii , Qt::KeyboardModifiers modifier , int delay ) |
void | keyPress (QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) |
void | keyPress (QWindow * window , char key , Qt::KeyboardModifiers modifier , int delay ) |
void | keyRelease (QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) |
void | keyRelease (QWindow * window , char key , Qt::KeyboardModifiers modifier , int delay ) |
void | mouseClick (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) |
void | mouseDClick (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) |
void | mouseMove (QWindow * window , QPoint pos , int delay ) |
void | mousePress (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) |
void | mouseRelease (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) |
bool | qWaitForWindowActive (QWidget * widget , int timeout ) |
bool | qWaitForWindowActive (QWindow * window , int timeout ) |
bool | qWaitForWindowExposed (QWidget * widget , int timeout ) |
bool | qWaitForWindowExposed (QWindow * window , int timeout ) |
QTest::QTouchEventSequence | touchEvent (QWindow * window , QTouchDevice * device , bool autoCommit ) |
bool | operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
const QPointF | operator+ (const QPointF & point ) |
const QPoint | operator+ (const QPoint & point ) |
bool | operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) |
uint | qHash (const QHostAddress & key , uint seed ) |
uint | qHash (const QUuid & uuid , uint seed ) |
size_t | qHash (const QSharedPointer<T> & key , size_t seed ) |
uint | qHash (const QTime & key , uint seed ) |
uint | qHash (const QDate & key , uint seed ) |
uint | qHash (const QDateTime & key , uint seed ) |
uint | qHash (const QPersistentModelIndex & index , uint seed ) |
uint | qHash (const QPair<T1, T2> & key , uint seed ) |
uint | qHash (const T * key , uint seed ) |
uint | qHash (QLatin1String key , uint seed ) |
uint | qHash (const QBitArray & key , uint seed ) |
uint | qHash (const QStringRef & key , uint seed ) |
uint | qHash (const QString & key , uint seed ) |
uint | qHash (const QByteArray & key , uint seed ) |
uint | qHash (const QChar key , uint seed ) |
uint | qHash (qint64 key , uint seed ) |
uint | qHash (quint64 key , uint seed ) |
uint | qHash (long key , uint seed ) |
uint | qHash (ulong key , uint seed ) |
uint | qHash (int key , uint seed ) |
uint | qHash (uint key , uint seed ) |
uint | qHash (short key , uint seed ) |
uint | qHash (ushort key , uint seed ) |
uint | qHash (signed char key , uint seed ) |
uint | qHash (uchar key , uint seed ) |
uint | qHash (char key , uint seed ) |
QtMessageHandler | qInstallMessageHandler (QtMessageHandler handler ) |
QtMessageHandler | qInstallMessageHandler (QtMessageHandler handler ) |
void | qRegisterStaticPluginFunction (QStaticPlugin plugin ) |
void | qSetMessagePattern (const QString & pattern ) |
void | qSetMessagePattern (const QString & pattern ) |
QFINDTESTDATA ( filename ) | |
QFINDTESTDATA ( filename ) | |
QTEST_GUILESS_MAIN ( TestClass ) | |
QTEST_GUILESS_MAIN ( TestClass ) | |
QTRY_COMPARE ( actual , expected ) | |
QTRY_COMPARE ( actual , expected ) | |
QTRY_COMPARE_WITH_TIMEOUT ( actual , expected , timeout ) | |
QTRY_COMPARE_WITH_TIMEOUT ( actual , expected , timeout ) | |
QTRY_VERIFY ( 条件 ) | |
QTRY_VERIFY ( 条件 ) | |
QTRY_VERIFY_WITH_TIMEOUT ( 条件 , timeout ) | |
QTRY_VERIFY_WITH_TIMEOUT ( 条件 , timeout ) | |
void | Q_ASSUME (bool expr ) |
void | Q_ASSUME (bool expr ) |
Q_DECLARE_OPAQUE_POINTER ( PointerType ) | |
Q_DECLARE_OPAQUE_POINTER ( PointerType ) | |
Q_DECL_NOEXCEPT | |
Q_DECL_NOEXCEPT | |
Q_DECL_NOEXCEPT_EXPR ( x ) | |
Q_DECL_NOEXCEPT_EXPR ( x ) | |
Q_DECL_NOTHROW | |
Q_DECL_NOTHROW | |
Q_PLUGIN_METADATA ( ... ) | |
Q_PLUGIN_METADATA ( ... ) | |
Q_SET_OBJECT_NAME ( Object ) | |
Q_SET_OBJECT_NAME ( Object ) | |
void | Q_UNREACHABLE |
void | Q_UNREACHABLE |
enum | BindFlag { DefaultForPlatform, ShareAddress, DontShareAddress, ReuseAddressHint } |
enum | PauseMode { PauseNever, PauseOnSslErrors } |
enum | ResourceFileSaveMode { SaveAllResourceFiles, SaveOnlyUsedResourceFiles, DontSaveResourceFiles } |
enum | 动作 { CutAction, CopyAction, PasteAction, DeleteAction, SelectAllAction, …, FormWindowSettingsDialogAction } |
enum | ActionGroup { StyledPreviewActionGroup } |
enum | GlyphRunFlag { Overline, Underline, StrikeOut, RightToLeft, SplitLigature } |
enum | SocketOption { NoOptions, UserAccessOption, GroupAccessOption, OtherAccessOption, WorldAccessOption } |
enum | UsagePolicy { NoPolicy, NoBackgroundTrafficPolicy } |
enum | 特征 { Buffering, AlwaysOn, GeoValues, FieldOfView, AccelerationMode, …, Reserved } |
enum | ComponentFormattingOption { PrettyDecoded, EncodeSpaces, EncodeUnicode, EncodeDelimiters, EncodeReserved, …, FullyDecoded } |
typedef | QtMessageHandler |
typedef | Int |
typedef | QImageCleanupFunction |
typedef | QImageCleanupFunction |
typedef | QtMessageHandler |
columnSpacing | |
inputMethod | |
rowSpacing |
binding () |