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.
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.
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
property set to
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.
Class QDebug :
autoInsertSpaces () const | |
setAutoInsertSpaces (bool b ) | |
swap (QDebug & other ) |
Class QDir :
removeRecursively () | |
swap (QDir & other ) |
Class QFileInfo :
isNativePath () const | |
swap (QFileInfo & other ) |
Class QProcess :
arguments () const | |
program () const |
Class QProcessEnvironment :
swap (QProcessEnvironment & other ) |
Class QAbstractEventDispatcher :
filterNativeEvent (const QByteArray & eventType , void * message , long * result ) | |
installNativeEventFilter (QAbstractNativeEventFilter * filterObj ) | |
removeNativeEventFilter (QAbstractNativeEventFilter * filter ) |
Class QAbstractItemModel :
layoutAboutToBeChanged (const QList<QPersistentModelIndex> & parents , QAbstractItemModel::LayoutChangeHint hint ) | |
layoutChanged (const QList<QPersistentModelIndex> & parents , QAbstractItemModel::LayoutChangeHint hint ) |
Class QByteArray :
cbegin () const | |
cend () const |
Class QChar :
hasMirrored (uint ucs4 ) | |
isDigit (uint ucs4 ) | |
isLetter (uint ucs4 ) | |
isLetterOrNumber (uint ucs4 ) | |
isLower (uint ucs4 ) | |
isMark (uint ucs4 ) | |
isNonCharacter (uint ucs4 ) | |
isNonCharacter () const | |
isNumber (uint ucs4 ) | |
isPrint (uint ucs4 ) | |
isPunct (uint ucs4 ) | |
isSpace (uint ucs4 ) | |
isSurrogate (uint ucs4 ) | |
isSurrogate () const | |
isSymbol (uint ucs4 ) | |
isTitleCase (uint ucs4 ) | |
isUpper (uint ucs4 ) |
Class QCoreApplication :
installNativeEventFilter (QAbstractNativeEventFilter * filterObj ) | |
removeNativeEventFilter (QAbstractNativeEventFilter * filterObject ) |
Class QCryptographicHash :
addData (QIODevice * device ) |
Class QDateTime :
swap (QDateTime & other ) |
Class QEasingCurve :
swap (QEasingCurve & other ) | |
toCubicSpline () const |
Class QHash :
cbegin () const | |
cend () const |
Class QLatin1String :
operator!= (const QByteArray & other ) const | |
operator< (const QByteArray & other ) const | |
operator<= (const QByteArray & other ) const | |
operator== (const QByteArray & other ) const | |
operator> (const QByteArray & other ) const | |
operator>= (const QByteArray & other ) const |
Class QLinkedList :
cbegin () const | |
cend () const |
Class QList :
cbegin () const | |
cend () const |
Class QMap :
cbegin () const | |
cend () const |
Class QMetaMethod :
fromSignal (PointerToMemberFunction signal ) | |
isValid () const | |
methodSignature () const | |
name () const | |
parameterCount () const | |
parameterType (int index ) const | |
returnType () const |
Class QMetaObject :
checkConnectArgs (const QMetaMethod & signal , const QMetaMethod & method ) |
Class QMetaType :
construct (int type , void * where , const void * copy ) | |
construct (void * where , const void * copy ) const | |
create (const void * copy ) const | |
destroy (void * data ) const | |
destruct (int type , void * where ) | |
destruct (void * data ) const | |
flags () const | |
isRegistered () const | |
isValid () const | |
metaObjectForType (int type ) | |
sizeOf (int type ) | |
sizeOf () const | |
typeFlags (int type ) |
Class QObject :
virtual | connectNotify (const QMetaMethod & signal ) |
virtual | disconnectNotify (const QMetaMethod & signal ) |
findChildren (const QRegularExpression & re , Qt::FindChildOptions options ) const | |
isSignalConnected (const QMetaMethod & signal ) const |
Class QPersistentModelIndex :
swap (QPersistentModelIndex & other ) |
Class QPointer :
clear () |
Class QSet :
cbegin () const | |
cend () const |
Class QSharedPointer :
reset () | |
reset (T * t ) | |
reset (T * t , Deleter deleter ) |
Class QSize :
scaled (const QSize & s , Qt::AspectRatioMode mode ) const | |
scaled (int width , int height , Qt::AspectRatioMode mode ) const | |
transposed () const |
Class QSizeF :
scaled (const QSizeF & s , Qt::AspectRatioMode mode ) const | |
scaled (qreal width , qreal height , Qt::AspectRatioMode mode ) const | |
transposed () const |
Class QString :
append (const QChar * str , int len ) | |
cbegin () const | |
cend () const | |
contains (const QRegularExpression & re ) const | |
count (const QRegularExpression & re ) const | |
fromLatin1 (const QByteArray & str ) | |
fromLocal8Bit (const QByteArray & str ) | |
fromUtf8 (const QByteArray & str ) | |
indexOf (const QRegularExpression & re , int from ) const | |
lastIndexOf (const QRegularExpression & re , int from ) const | |
remove (const QRegularExpression & re ) | |
replace (const QRegularExpression & re , const QString & after ) | |
section (const QRegularExpression & re , int start , int end , QString::SectionFlags flags ) const | |
split (const QRegularExpression & re , QString::SplitBehavior behavior ) const | |
toHtmlEscaped () const |
Class QStringList :
filter (const QRegularExpression & re ) const | |
indexOf (const QRegularExpression & re , int from ) const | |
join (QChar separator ) const | |
lastIndexOf (const QRegularExpression & re , int from ) const | |
replaceInStrings (const QRegularExpression & re , const QString & after ) |
Class QThread :
eventDispatcher () const | |
setEventDispatcher (QAbstractEventDispatcher * eventDispatcher ) |
Class QUrl :
setQuery (const QUrlQuery & query ) | |
toDisplayString (QUrl::FormattingOptions options ) const |
Class QVarLengthArray :
back () | |
back () const | |
cbegin () const | |
cend () const | |
empty () const | |
front () | |
front () const | |
length () const | |
pop_back () | |
push_back (const T & t ) |
Class QUuid :
createUuidV3 (const QUuid & ns , const QByteArray & baseData ) | |
createUuidV3 (const QUuid & ns , const QString & baseData ) | |
createUuidV5 (const QUuid & ns , const QByteArray & baseData ) | |
createUuidV5 (const QUuid & ns , const QString & baseData ) |
Class QVariant :
toJsonArray () const | |
toJsonDocument () const | |
toJsonObject () const | |
toJsonValue () const | |
toModelIndex () const | |
toRegularExpression () const | |
toUuid () const |
Class QVector :
cbegin () const | |
cend () const |
Class QLibraryInfo :
isDebugBuild () |
Class QDBusPendingCall :
swap (QDBusPendingCall & other ) |
Class QDBusUnixFileDescriptor :
swap (QDBusUnixFileDescriptor & other ) |
Class QAbstractFormBuilder :
errorString () const |
Class QDesignerContainerExtension :
virtual | canAddWidget () const |
virtual | canRemove (int index ) const |
Class QDesignerFormWindowInterface :
activateResourceFilePaths (const QStringList & paths , int * errorCount , QString * errorMessages ) | |
activeResourceFilePaths () const | |
virtual | checkContents () const = 0 |
virtual | formContainer () const = 0 |
Class QDesignerFormWindowManagerInterface :
virtual | action (QDesignerFormWindowManagerInterface::Action action ) const = 0 |
virtual | actionGroup (QDesignerFormWindowManagerInterface::ActionGroup actionGroup ) const = 0 |
virtual | closeAllPreviews () = 0 |
virtual | showPluginDialog () = 0 |
virtual | showPreview () = 0 |
Class QDesignerPropertySheetExtension :
virtual | isEnabled (int index ) const |
Class QDrag :
dragCursor (Qt::DropAction action ) const |
Class QGuiApplication :
isSavingSession () const |
Class QMouseEvent :
localPos () const | |
screenPos () const | |
windowPos () const |
Class QPalette :
swap (QPalette & other ) |
Class QRegion :
isNull () const |
Class TouchPoint :
rawScreenPositions () const |
Class QFont :
removeSubstitutions (const QString & familyName ) | |
swap (QFont & other ) |
Class QFontMetricsF :
swap (QFontMetricsF & other ) |
Class QFontInfo :
swap (QFontInfo & other ) |
Class QFontMetrics :
swap (QFontMetrics & other ) |
Class QGlyphRun :
boundingRect () const | |
flags () const | |
isEmpty () const | |
isRightToLeft () const | |
setBoundingRect (const QRectF & boundingRect ) | |
setFlag (QGlyphRun::GlyphRunFlag flag , bool enabled ) | |
setFlags (QGlyphRun::GlyphRunFlags flags ) | |
setRightToLeft (bool rightToLeft ) | |
swap (QGlyphRun & other ) |
Class QRawFont :
boundingRect (quint32 glyphIndex ) const | |
swap (QRawFont & other ) |
Class QStaticText :
swap (QStaticText & other ) |
Class QTextCharFormat :
fontLetterSpacingType () const | |
fontStretch () const | |
setFontLetterSpacingType (QFont::SpacingType letterSpacingType ) | |
setFontStretch (int factor ) |
Class QTextCursor :
swap (QTextCursor & other ) |
Class QTextFormat :
swap (QTextFormat & other ) |
Class QTextLine :
glyphRuns (int from , int length ) const |
Class QPlatformFontDatabase :
virtual | defaultFont () const |
virtual | fontsAlwaysScalable () const |
virtual | resolveFontFamilyAlias (const QString & family ) const |
virtual | standardSizes () const |
Class QCameraExposureControl :
virtual | actualValue (QCameraExposureControl::ExposureParameter 参数 ) const = 0 |
actualValueChanged (int 参数 ) | |
virtual | isParameterSupported (QCameraExposureControl::ExposureParameter 参数 ) const = 0 |
parameterRangeChanged (int 参数 ) | |
virtual | requestedValue (QCameraExposureControl::ExposureParameter 参数 ) const = 0 |
requestedValueChanged (int 参数 ) | |
virtual | setValue (QCameraExposureControl::ExposureParameter 参数 , const QVariant & value ) = 0 |
virtual | supportedParameterRange (QCameraExposureControl::ExposureParameter 参数 , bool * continuous ) const = 0 |
Class QCameraFeedbackControl :
virtual | isEventFeedbackEnabled (QCameraFeedbackControl::EventType event ) const = 0 |
virtual | isEventFeedbackLocked (QCameraFeedbackControl::EventType event ) const = 0 |
virtual | resetEventFeedback (QCameraFeedbackControl::EventType event ) = 0 |
virtual | setEventFeedbackEnabled (QCameraFeedbackControl::EventType event , bool enabled ) = 0 |
virtual | setEventFeedbackSound (QCameraFeedbackControl::EventType event , const QString & filePath ) = 0 |
Class QAbstractSocket :
bind (const QHostAddress & address , quint16 port , QAbstractSocket::BindMode mode ) | |
bind (quint16 port , QAbstractSocket::BindMode mode ) | |
pauseMode () const | |
virtual | resume () |
setPauseMode (QAbstractSocket::PauseModes pauseMode ) |
Class QHostAddress :
isLoopback () const |
Class QHttpPart :
swap (QHttpPart & other ) |
Class QLocalServer :
listen (qintptr socketDescriptor ) | |
socketOptions () const |
Class QNetworkAccessManager :
clearAccessCache () |
Class QNetworkAddressEntry :
swap (QNetworkAddressEntry & other ) |
Class QNetworkCacheMetaData :
swap (QNetworkCacheMetaData & other ) |
Class QNetworkConfiguration :
swap (QNetworkConfiguration & other ) |
Class QNetworkCookie :
normalize (const QUrl & url ) | |
operator== (const QNetworkCookie & other ) const | |
swap (QNetworkCookie & other ) |
Class QNetworkCookieJar :
virtual | deleteCookie (const QNetworkCookie & cookie ) |
virtual | insertCookie (const QNetworkCookie & cookie ) |
virtual | updateCookie (const QNetworkCookie & cookie ) |
virtual | validateCookie (const QNetworkCookie & cookie , const QUrl & url ) const |
Class QNetworkInterface :
swap (QNetworkInterface & other ) |
Class QNetworkProxy :
hasRawHeader (const QByteArray & headerName ) const | |
header (QNetworkRequest::KnownHeaders header ) const | |
rawHeader (const QByteArray & headerName ) const | |
rawHeaderList () const | |
setHeader (QNetworkRequest::KnownHeaders header , const QVariant & value ) | |
setRawHeader (const QByteArray & headerName , const QByteArray & headerValue ) | |
swap (QNetworkProxy & other ) |
Class QNetworkProxyQuery :
swap (QNetworkProxyQuery & other ) |
Class QNetworkReply :
virtual | ignoreSslErrorsImplementation (const QList<QSslError> & errors ) |
virtual | setSslConfigurationImplementation (const QSslConfiguration & configuration ) |
virtual | sslConfigurationImplementation (QSslConfiguration & configuration ) const |
Class QNetworkRequest :
swap (QNetworkRequest & other ) |
Class QNetworkSession :
usagePoliciesChanged (QNetworkSession::UsagePolicies usagePolicies ) |
Class QSslCertificate :
extensions () const | |
issuerInfoAttributes () const | |
subjectInfoAttributes () const | |
swap (QSslCertificate & other ) | |
toText () const | |
verify (QList<QSslCertificate> certificateChain , const QString & hostName ) |
Class QSslCipher :
swap (QSslCipher & other ) |
Class QSslConfiguration :
swap (QSslConfiguration & other ) |
Class QSslError :
swap (QSslError & other ) |
Class QSslKey :
swap (QSslKey & other ) |
Class QSslSocket :
virtual | resume () override |
sslLibraryVersionNumber () | |
sslLibraryVersionString () |
Class QTcpServer :
acceptError (QAbstractSocket::SocketError socketError ) | |
pauseAccepting () | |
resumeAccepting () |
Class QPrinterInfo :
description () const | |
location () const | |
makeAndModel () const | |
printerInfo (const QString & printerName ) |
Class QRotationReading :
setFromEuler (qreal x , qreal y , qreal z ) |
Class QSensor :
isFeatureSupported (QSensor::Feature feature ) const |
Class QSensorBackend :
virtual | isFeatureSupported (QSensor::Feature feature ) const |
Class QSqlDriver :
notification (const QString & name , QSqlDriver::NotificationSource source , const QVariant & payload ) |
Class QSqlTableModel :
isDirty () const | |
record (int row ) const | |
virtual | selectRow (int row ) |
Class QSignalSpy :
wait (int timeout ) |
Class QTouchEventSequence :
move (int touchId , const QPoint & pt , QWindow * window ) | |
press (int touchId , const QPoint & pt , QWindow * window ) | |
release (int touchId , const QPoint & pt , QWindow * window ) |
Class QUiLoader :
errorString () const |
Class QAbstractItemDelegate :
virtual | destroyEditor (QWidget * editor , const QModelIndex & index ) const |
Class QColorDialog :
standardColor (int index ) |
Class QComboBox :
currentTextChanged (const QString & text ) |
Class QHeaderView :
sectionResizeMode (int logicalIndex ) const | |
sectionsClickable () const | |
sectionsMovable () const | |
setSectionResizeMode (QHeaderView::ResizeMode mode ) | |
setSectionResizeMode (int logicalIndex , QHeaderView::ResizeMode mode ) | |
setSectionsClickable (bool clickable ) | |
setSectionsMovable (bool movable ) |
Class QTabBar :
virtual | minimumTabSizeHint (int index ) const |
Class QWidget :
backingStore () const | |
grab (const QRect & rectangle ) | |
virtual | hasHeightForWidth () const |
windowHandle () const |
keyClick (QWindow * window , char key , Qt::KeyboardModifiers modifier , int delay ) | |
keyClick (QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) | |
keyEvent (QTest::KeyAction action , QWindow * window , char ascii , Qt::KeyboardModifiers modifier , int delay ) | |
keyEvent (QTest::KeyAction action , QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) | |
keyPress (QWindow * window , char key , Qt::KeyboardModifiers modifier , int delay ) | |
keyPress (QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) | |
keyRelease (QWindow * window , char key , Qt::KeyboardModifiers modifier , int delay ) | |
keyRelease (QWindow * window , Qt::Key key , Qt::KeyboardModifiers modifier , int delay ) | |
mouseClick (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) | |
mouseDClick (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) | |
mouseMove (QWindow * window , QPoint pos , int delay ) | |
mousePress (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) | |
mouseRelease (QWindow * window , Qt::MouseButton button , Qt::KeyboardModifiers stateKey , QPoint pos , int delay ) | |
qWaitForWindowActive (QWidget * widget , int timeout ) | |
qWaitForWindowActive (QWindow * window , int timeout ) | |
qWaitForWindowExposed (QWidget * widget , int timeout ) | |
qWaitForWindowExposed (QWindow * window , int timeout ) | |
touchEvent (QWindow * window , QTouchDevice * device , bool autoCommit ) |
operator!= (const QMetaMethod & m1 , const QMetaMethod & m2 ) | |
operator+ (const QPointF & point ) | |
operator+ (const QPoint & point ) | |
operator== (const QMetaMethod & m1 , const QMetaMethod & m2 ) | |
qHash (const QHostAddress & key , uint seed ) | |
qHash (ushort key , uint seed ) | |
qHash (ulong key , uint seed ) | |
qHash (uint key , uint seed ) | |
qHash (uchar key , uint seed ) | |
qHash (signed char key , uint seed ) | |
qHash (short key , uint seed ) | |
qHash (quint64 key , uint seed ) | |
qHash (qint64 key , uint seed ) | |
qHash (long key , uint seed ) | |
qHash (int key , uint seed ) | |
qHash (const T * key , uint seed ) | |
qHash (const QUuid & uuid , uint seed ) | |
qHash (const QUrl & url , uint seed ) | |
qHash (const QTime & key , uint seed ) | |
qHash (const QStringRef & key , uint seed ) | |
qHash (const QString & key , uint seed ) | |
qHash (const QPersistentModelIndex & index , uint seed ) | |
qHash (const QPair<T1, T2> & key , uint seed ) | |
qHash (const QDateTime & key , uint seed ) | |
qHash (const QDate & key , uint seed ) | |
qHash (const QChar key , uint seed ) | |
qHash (const QByteArray & key , uint seed ) | |
qHash (const QBitArray & key , uint seed ) | |
qHash (char key , uint seed ) | |
qHash (QLatin1String key , uint seed ) | |
qInstallMessageHandler (QtMessageHandler handler ) | |
qRegisterStaticPluginFunction (QStaticPlugin plugin ) | |
qSetMessagePattern (const QString & pattern ) |
QFINDTESTDATA ( filename ) | |
QTEST_GUILESS_MAIN ( TestClass ) | |
QTRY_COMPARE ( actual , expected ) | |
QTRY_COMPARE_WITH_TIMEOUT ( actual , expected , timeout ) | |
QTRY_VERIFY ( condition ) | |
QTRY_VERIFY_WITH_TIMEOUT ( condition , timeout ) | |
Q_ASSUME (bool expr ) | |
Q_DECLARE_OPAQUE_POINTER ( PointerType ) | |
Q_DECL_FINAL | |
Q_DECL_NOEXCEPT | |
Q_DECL_NOEXCEPT_EXPR ( x ) | |
Q_DECL_NOTHROW | |
Q_DECL_OVERRIDE | |
Q_PLUGIN_METADATA ( ... ) | |
Q_SET_OBJECT_NAME ( Object ) | |
Q_UNREACHABLE |
enum | BindFlag { DefaultForPlatform, ShareAddress, DontShareAddress, ReuseAddressHint } |
enum | PauseMode { PauseNever, PauseOnSslErrors } |
enum | ResourceFileSaveMode { SaveAllResourceFiles, SaveOnlyUsedResourceFiles, DontSaveResourceFiles } |
enum | 动作 { CutAction, CopyAction, PasteAction, DeleteAction, ..., FormWindowSettingsDialogAction } |
enum | ActionGroup { StyledPreviewActionGroup } |
enum | GlyphRunFlag { Overline, Underline, StrikeOut, RightToLeft, SplitLigature } |
enum | SocketOption { NoOptions, UserAccessOption, GroupAccessOption, OtherAccessOption, WorldAccessOption } |
enum | UsagePolicy { NoPolicy, NoBackgroundTrafficPolicy } |
enum | Feature { Buffering, AlwaysOn, GeoValues, FieldOfView, ..., Reserved } |
enum | ComponentFormattingOption { PrettyDecoded, EncodeSpaces, EncodeUnicode, EncodeDelimiters, ..., FullyDecoded } |
typedef | Int |
typedef | QImageCleanupFunction |
typedef | QtMessageHandler |
columnSpacing | |
inputMethod | |
rowSpacing |
binding () |