This page contains a comprehensive list of all new classes and functions introduced in Qt 5.1. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
virtual | renameOverwrite (const QString & newName ) |
virtual | syncToDisk () |
类 QProcess :
setArguments (const QStringList & arguments ) | |
setProgram (const QString & program ) | |
start (QIODevice::OpenMode mode ) |
类 QChar :
script (uint ucs4 ) | |
script () const |
类 QJsonDocument :
toJson (QJsonDocument::JsonFormat format ) const |
类 QLocale :
toDouble (const QStringRef & s , bool * ok ) const | |
toFloat (const QStringRef & s , bool * ok ) const | |
toInt (const QStringRef & s , bool * ok ) const | |
toLongLong (const QStringRef & s , bool * ok ) const | |
toShort (const QStringRef & s , bool * ok ) const | |
toUInt (const QStringRef & s , bool * ok ) const | |
toULongLong (const QStringRef & s , bool * ok ) const | |
toUShort (const QStringRef & s , bool * ok ) const |
类 QMap :
insert (QMap::const_iterator pos , const Key & key , const T & value ) | |
insertMulti (QMap::const_iterator pos , const Key & key , const T & value ) |
类 QMargins :
operator*= (int factor ) | |
operator*= (qreal factor ) | |
operator+= (const QMargins & margins ) | |
operator-= (const QMargins & margins ) | |
operator/= (int divisor ) | |
operator/= (qreal divisor ) |
类 QMetaMethod :
revision () const |
类 QMetaProperty :
revision () const |
类 QMultiMap :
insert (typename QMap<Key, T>::const_iterator pos , const Key & key , const T & value ) |
类 QPoint :
dotProduct (const QPoint & p1 , const QPoint & p2 ) |
类 QPointF :
dotProduct (const QPointF & p1 , const QPointF & p2 ) |
类 QRect :
marginsAdded (const QMargins & margins ) const | |
marginsRemoved (const QMargins & margins ) const | |
operator+= (const QMargins & margins ) | |
operator-= (const QMargins & margins ) |
namedCaptureGroups () const |
类 QSharedPointer :
create (Args &&... args ) |
类 QString :
contains (const QRegularExpression & re , QRegularExpressionMatch * match ) const |
类 QStringRef :
toDouble (bool * ok ) const | |
toFloat (bool * ok ) const | |
toInt (bool * ok , int base ) const | |
toLong (bool * ok , int base ) const | |
toLongLong (bool * ok , int base ) const | |
toShort (bool * ok , int base ) const | |
toUInt (bool * ok , int base ) const | |
toULong (bool * ok , int base ) const | |
toULongLong (bool * ok , int base ) const | |
toUShort (bool * ok , int base ) const | |
trimmed () const |
类 QUrl :
fromStringList (const QStringList & urls , QUrl::ParsingMode mode ) | |
toStringList (const QList<QUrl> & urls , QUrl::FormattingOptions options ) |
类 QVarLengthArray :
squeeze () |
类 QVector :
removeFirst () | |
removeLast () | |
takeFirst () | |
takeLast () |
类 QIcon :
actualSize (QWindow * window , const QSize & size , QIcon::Mode mode , QIcon::State state ) const | |
pixmap (QWindow * window , const QSize & size , QIcon::Mode mode , QIcon::State state ) const |
类 QInputMethod :
inputItemRectangle () const | |
setInputItemRectangle (const QRectF & rect ) |
类 QKeySequence :
listFromString (const QString & str , QKeySequence::SequenceFormat format ) | |
listToString (const QList<QKeySequence> & list , QKeySequence::SequenceFormat format ) |
类 QVector2D :
distanceToLine (const QVector2D & point , const QVector2D & direction ) const | |
distanceToPoint (const QVector2D & point ) const |
类 QVector3D :
distanceToPoint (const QVector3D & point ) const |
类 QWindow :
alert (int msec ) |
类 QRawFont :
advancesForGlyphIndexes (const QVector<quint32> & glyphIndexes , QRawFont::LayoutFlags layoutFlags ) const | |
advancesForGlyphIndexes (const quint32 * glyphIndexes , QPointF * advances , int numGlyphs , QRawFont::LayoutFlags layoutFlags ) const |
writingSystemsFromTrueTypeBits (quint32 [4] unicodeRange , quint32 [2] codePageRange ) |
类 QPlatformTheme :
virtual | createIconEngine (const QString & iconName ) const |
类 QPlatformWindow :
virtual | isAlertState () const |
virtual | setAlertState (bool enable ) |
类 QLocalSocket :
connectToServer (QIODevice::OpenMode openMode ) | |
setServerName (const QString & name ) |
encrypted (QNetworkReply * reply ) |
类 QNetworkReply :
encrypted () |
localCertificateChain () const | |
setLocalCertificateChain (const QList<QSslCertificate> & localChain ) |
类 QSslSocket :
localCertificateChain () const | |
setLocalCertificateChain (const QList<QSslCertificate> & localChain ) |
baseUrl () const |
类 QQuickItem :
forceActiveFocus (Qt::FocusReason reason ) |
类 QQuickWindow :
closing (QQuickCloseEvent * close ) | |
hasDefaultAlphaBuffer () | |
setDefaultAlphaBuffer (bool useAlpha ) |
类 QAccelerometer :
accelerationModeChanged (QAccelerometer::AccelerationMode accelerationMode ) | |
setAccelerationMode (QAccelerometer::AccelerationMode accelerationMode ) |
类 QLightSensor :
setFieldOfView (qreal fieldOfView ) |
类 QRotationSensor :
setHasZ (bool hasZ ) |
类 QSensor :
setCurrentOrientation (int currentOrientation ) | |
setEfficientBufferSize (int efficientBufferSize ) | |
setMaxBufferSize (int maxBufferSize ) | |
setSkipDuplicates (bool skipDuplicates ) | |
skipDuplicatesChanged (bool skipDuplicates ) |
类 QSqlRecord :
keyValues (const QSqlRecord & keyFields ) const |
类 QSqlTableModel :
primaryValues (int row ) const |
类 QGraphicsView :
rubberBandChanged (QRect rubberBandRect , QPointF fromScenePoint , QPointF toScenePoint ) | |
rubberBandRect () const |
类 QMenu :
addSection (const QIcon & icon , const QString & text ) | |
addSection (const QString & text ) | |
insertSection (QAction * before , const QIcon & icon , const QString & text ) | |
insertSection (QAction * before , const QString & text ) |
operator* (qreal factor , const QMargins & margins ) | |
operator* (int factor , const QMargins & margins ) | |
operator* (const QMargins & margins , qreal factor ) | |
operator* (const QMargins & margins , int factor ) | |
operator+ (const QRect & rectangle , const QMargins & margins ) | |
operator+ (const QMargins & margins , const QRect & rectangle ) | |
operator+ (const QMargins & m1 , const QMargins & m2 ) | |
operator- (const QMargins & margins ) | |
operator- (const QMargins & m1 , const QMargins & m2 ) | |
operator/ (const QMargins & margins , qreal divisor ) | |
operator/ (const QMargins & margins , int divisor ) | |
qDegreesToRadians (float degrees ) | |
qDegreesToRadians (double degrees ) | |
qEnvironmentVariableIsEmpty (const char * varName ) | |
qEnvironmentVariableIsSet (const char * varName ) | |
qRadiansToDegrees (float radians ) | |
qRadiansToDegrees (double radians ) | |
qunsetenv (const char * varName ) |
Q_COREAPP_STARTUP_FUNCTION (QtStartUpFunction ptr ) | |
Q_GLOBAL_STATIC ( Type , VariableName ) | |
Q_GLOBAL_STATIC_WITH_ARGS ( Type , VariableName , 自变量 ) |
enum | AccelerationMode { Combined, Gravity, User } |
enum | Script { Script_Unknown, Script_Inherited, Script_Common, Script_Latin, ..., ScriptCount } |
enum | JsonFormat { Indented, Compact } |
enum | LayoutFlag { SeparateAdvances, KernedAdvances, UseDesignMetrics } |
enum | AxesOrientationMode { FixedOrientation, AutomaticOrientation, UserOrientation } |
enum | Visibility { Hidden, AutomaticVisibility, Windowed, Minimized, Maximized, FullScreen } |
enum | ApplicationState { ApplicationSuspended, ApplicationHidden, ApplicationInactive, ApplicationActive } |
enum | Edge { TopEdge, LeftEdge, RightEdge, BottomEdge } |
typedef | qoutputrangelist |
typedef | qrange |
typedef | qrangelist |
|
|
closing () |
forceLayout () | |
forceActiveFocus () | |
nextItemInFocusChain () | |
forceLayout () | |
alert () | |
requestActivate () |