This page contains a comprehensive list of all new classes and functions introduced in Qt 5.6. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
类 QDBusMessage :
QDBusMessage | createTargetedSignal (const QString & service , const QString & path , const QString & interface , const QString & name ) |
类 QSysInfo :
QString | machineHostName () |
类 QDebug :
void | setVerbosity (int verbosityLevel ) |
int | verbosity () const |
类 QDir :
QChar | listSeparator () |
类 QProcess :
void | errorOccurred (QProcess::ProcessError error ) |
类 QStorageInfo :
int | blockSize () const |
类 QTextStream :
QTextStream & | operator<< (const QStringRef & string ) |
类 QTemporaryDir :
QString | errorString () const |
void | swap (QItemSelectionRange & other ) |
类 QPointer :
void | swap (QPointer & other ) |
类 QHistoryState :
QAbstractTransition * | defaultTransition () const |
void | defaultTransitionChanged () |
void | setDefaultTransition (QAbstractTransition * transition ) |
类 QByteArray :
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
void | setOptionsAfterPositionalArgumentsMode (OptionsAfterPositionalArgumentsMode parsingMode ) |
类 QHash :
key_iterator | keyBegin () const |
key_iterator | keyEnd () const |
类 QLinkedList :
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
类 QLocale :
void | swap (QLocale & other ) |
类 QList :
const T & | constFirst () const |
const T & | constLast () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
类 QMap :
QPair<const_iterator, const_iterator> | equal_range (const Key & key ) const |
key_iterator | keyBegin () const |
key_iterator | keyEnd () const |
类 QSet :
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
bool | intersects (const QSet<T> & other ) const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
类 QString :
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
类 QStringRef :
void | truncate (int position ) |
类 QVarLengthArray :
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
类 QVector :
void | append (T && value ) |
const T & | constFirst () const |
const T & | constLast () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
void | move (int from , int to ) |
void | push_back (T && value ) |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
void | swap (QXmlStreamStringRef & other ) |
类 QIcon :
bool | isMask () const |
void | setIsMask (bool isMask ) |
类 QImage :
QColor | pixelColor (int x , int y ) const |
QColor | pixelColor (const QPoint & position ) const |
void | setPixelColor (int x , int y , const QColor & color ) |
void | setPixelColor (const QPoint & position , const QColor & color ) |
类 QImageReader :
float | gamma () const |
void | setGamma (float gamma ) |
类 QStandardItem :
bool | isAutoTristate () const |
bool | isUserTristate () const |
void | setAutoTristate (bool tristate ) |
void | setUserTristate (bool tristate ) |
类 QGuiApplication :
bool | isFallbackSessionManagementEnabled () |
void | setFallbackSessionManagementEnabled (bool enabled ) |
void | addColorAttachment (const QSize & size , GLenum internalFormat = 0) |
void | addColorAttachment (int width , int height , GLenum internalFormat = 0) |
QVector<QSize> | sizes () const |
GLuint | takeTexture (int colorAttachmentIndex ) |
QVector<GLuint> | textures () const |
QImage | toImage (bool flipped , int colorAttachmentIndex ) const |
类 QColor :
QColor | fromRgba64 (ushort r , ushort g , ushort b , ushort a = USHRT_MAX) |
QColor | fromRgba64 (QRgba64 rgba64 ) |
QRgba64 | rgba64 () const |
void | setRgba64 (QRgba64 rgba ) |
类 QPaintDevice :
qreal | devicePixelRatioF () const |
类 QTextLayout :
void | clearFormats () |
QVector<FormatRange> | formats () const |
void | setFormats (const QVector<FormatRange> & 格式 ) |
void | setHasBorderInFullScreen (QWindow * window , bool border ) |
const QByteArray | setHasBorderInFullScreenIdentifier () |
类 QNetworkReply :
void | redirected (const QUrl & url ) |
类 QNetworkRequest :
int | maximumRedirectsAllowed () const |
void | setMaximumRedirectsAllowed (int maxRedirectsAllowed ) |
类 QHostAddress :
bool | isMulticast () const |
void | swap (QHostAddress & other ) |
类 QDesktopWidget :
void | primaryScreenChanged () |
类 QMainWindow :
void | resizeDocks (const QList<QDockWidget *> & docks , const QList<int> & sizes , Qt::Orientation orientation ) |
类 QMenu :
QAction * | addAction (const QString & text , const QObject * receiver , PointerToMemberFunction method , const QKeySequence & shortcut = 0) |
QAction * | addAction (const QString & text , Functor functor , const QKeySequence & shortcut = 0) |
QAction * | addAction (const QString & text , const QObject * context , Functor functor , const QKeySequence & shortcut = 0) |
QAction * | addAction (const QIcon & icon , const QString & text , const QObject * receiver , PointerToMemberFunction method , const QKeySequence & shortcut = 0) |
QAction * | addAction (const QIcon & icon , const QString & text , Functor functor , const QKeySequence & shortcut = 0) |
QAction * | addAction (const QIcon & icon , const QString & text , const QObject * context , Functor functor , const QKeySequence & shortcut = 0) |
类 QToolBar :
QAction * | addAction (const QString & text , const QObject * receiver , PointerToMemberFunction method ) |
QAction * | addAction (const QString & text , Functor functor ) |
QAction * | addAction (const QString & text , const QObject * context , Functor functor ) |
QAction * | addAction (const QIcon & icon , const QString & text , const QObject * receiver , PointerToMemberFunction method ) |
QAction * | addAction (const QIcon & icon , const QString & text , Functor functor ) |
QAction * | addAction (const QIcon & icon , const QString & text , const QObject * context , Functor functor ) |
类 QBluetoothSocket :
QBluetooth::SecurityFlags | preferredSecurityFlags () const |
void | setPreferredSecurityFlags (QBluetooth::SecurityFlags flags ) |
bool | connectToLocalDebugger (const QString & socketFileName , StartMode mode = DoNotWaitForClient) |
类 QJSEngine :
void | installExtensions (Extensions extensions , const QJSValue & object = QJSValue()) |
QQuickTextureFactory * | textureFactoryForImage (const QImage & image ) |
类 QMediaPlayer :
void | audioRoleChanged (QAudio::Role role ) |
QList<QAudio::Role> | supportedAudioRoles () const |
QString | mimeType () const |
QWebEngineCookieStore * | cookieStore () |
QString | httpAcceptLanguage () const |
void | installUrlSchemeHandler (const QByteArray & scheme , QWebEngineUrlSchemeHandler * handler ) |
void | removeAllUrlSchemeHandlers () |
void | removeUrlScheme (const QByteArray & scheme ) |
void | removeUrlSchemeHandler (QWebEngineUrlSchemeHandler * handler ) |
void | setHttpAcceptLanguage (const QString & httpAcceptLanguage ) |
void | setRequestInterceptor (QWebEngineUrlRequestInterceptor * interceptor ) |
const QWebEngineUrlSchemeHandler * | urlSchemeHandler (const QByteArray & scheme ) const |
类 QWebEnginePage :
void | renderProcessTerminated (RenderProcessTerminationStatus terminationStatus , int exitCode ) |
类 QWebEngineView :
void | renderProcessTerminated (QWebEnginePage::RenderProcessTerminationStatus terminationStatus , int exitCode ) |
类 QWebSocket :
void | open (const QNetworkRequest & request ) |
QNetworkRequest | request () const |
bool | operator< (const QVector<T> & lhs , const QVector<T> & rhs ) |
bool | operator< (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) |
bool | operator< (const QList<T> & lhs , const QList<T> & rhs ) |
bool | operator<= (const QVector<T> & lhs , const QVector<T> & rhs ) |
bool | operator<= (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) |
bool | operator<= (const QList<T> & lhs , const QList<T> & rhs ) |
bool | operator> (const QVector<T> & lhs , const QVector<T> & rhs ) |
bool | operator> (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) |
bool | operator> (const QList<T> & lhs , const QList<T> & rhs ) |
bool | operator>= (const QVector<T> & lhs , const QVector<T> & rhs ) |
bool | operator>= (const QVarLengthArray<T, Prealloc1> & lhs , const QVarLengthArray<T, Prealloc2> & rhs ) |
bool | operator>= (const QList<T> & lhs , const QList<T> & rhs ) |
uint | qAlpha (QRgba64 rgba64 ) |
uint | qBlue (QRgba64 rgba64 ) |
uint | qCountLeadingZeroBits (quint32 v ) |
uint | qCountTrailingZeroBits (quint64 v ) |
uint | qCountTrailingZeroBits (quint16 v ) |
uint | qCountTrailingZeroBits (quint8 v ) |
uint | qCountTrailingZeroBits (quint32 v ) |
int | qGlobalQHashSeed () |
uint | qGreen (QRgba64 rgba64 ) |
uint | qHash (QSizePolicy key , uint seed = 0) |
uint | qHash (const QTransform & key , uint seed = 0) |
uint | qHash (const QMatrix & key , uint seed = 0) |
uint | qHash (const QKeySequence & key , uint seed = 0) |
uint | qHash (const QVersionNumber & key , uint seed = 0) |
uint | qHash (const QVector<T> & key , uint seed = 0) |
uint | qHash (const QRegularExpression & key , uint seed = 0) |
uint | qHash (const QRegExp & key , uint seed = 0) |
uint | qHash (const QLocale & key , uint seed = 0) |
uint | qHash (const QList<T> & key , uint seed = 0) |
uint | qHash (const QMimeType & key , uint seed = 0) |
uint | qHash (const QUrlQuery & key , uint seed = 0) |
QRgba64 | qPremultiply (QRgba64 rgba64 ) |
uint | qRed (QRgba64 rgba64 ) |
QRgba64 | qRgba64 (quint64 c ) |
QRgba64 | qRgba64 (quint16 r , quint16 g , quint16 b , quint16 a ) |
void | qSetGlobalQHashSeed (int newSeed ) |
QRgba64 | qUnpremultiply (QRgba64 rgba64 ) |
QTRY_VERIFY2 ( 条件 , message ) | |
QTRY_VERIFY2_WITH_TIMEOUT ( 条件 , message , timeout ) | |
QT_NO_PROCESS_COMBINED_ARGUMENT_START |
enum | Role { UnknownRole, MusicRole, VideoRole, VoiceCommunicationRole, ..., GameRole } |
enum | OptionsAfterPositionalArgumentsMode { ParseAsOptions, ParseAsPositionalArguments } |
enum | RenderProcessTerminationStatus { NormalTerminationStatus, AbnormalTerminationStatus, CrashedTerminationStatus, KilledTerminationStatus } |
enum | EnterKeyType { EnterKeyDefault, EnterKeyReturn, EnterKeyDone, EnterKeyGo, ..., EnterKeyPrevious } |
typedef | const_reverse_iterator |
typedef | reverse_iterator |
typedef | const_reverse_iterator |
typedef | reverse_iterator |
typedef | const_reverse_iterator |
typedef | reverse_iterator |
typedef | const_reverse_iterator |
typedef | reverse_iterator |
typedef | const_reverse_iterator |
typedef | reverse_iterator |
typedef | const_reverse_iterator |
typedef | reverse_iterator |
typedef | const_reverse_iterator |
typedef | reverse_iterator |
|
|
editingFinished () |
list<int> | supportedAudioRoles () |
int | indexOf (url file ) |
list<int> | supportedAudioRoles () |
void | append (object item ) |
void | clear () |
对象 | get (int index ) |
void | insert (int index , object item ) |
void | move (int from , int to , int n = 1) |
void | remove (int index , int n = 1) |
supportedAudioRoles () |