This page contains a comprehensive list of all new classes and functions introduced in Qt 5.8. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
| namespace | QScxmlExecutableContent |
类 QBluetoothDeviceDiscoveryAgent :
| lowEnergyDiscoveryTimeout () const | |
| setLowEnergyDiscoveryTimeout (int timeout ) | |
| start (QBluetoothDeviceDiscoveryAgent::DiscoveryMethods methods ) | |
| supportedDiscoveryMethods () |
| remoteDeviceUuid () const |
| flags () const | |
| setFlags (QCommandLineOption::Flags flags ) |
类 QDateTime :
| currentSecsSinceEpoch () | |
| fromSecsSinceEpoch (qint64 secs , Qt::TimeSpec spec , int offsetSeconds ) | |
| fromSecsSinceEpoch (qint64 secs , const QTimeZone & timeZone ) | |
| setSecsSinceEpoch (qint64 secs ) | |
| toSecsSinceEpoch () const |
类 QLatin1String :
| at (int pos ) const | |
| left (int length ) const | |
| mid (int start ) const | |
| mid (int start , int length ) const | |
| operator[] (int pos ) const | |
| right (int length ) const |
类 QLine :
| center () const |
类 QLineF :
| center () const |
类 QMetaEnum :
| isScoped () const |
类 QMutex :
| try_lock () | |
| try_lock_for (std::chrono::duration<Rep, Period> duration ) | |
| try_lock_until (std::chrono::time_point<Clock, Duration> timePoint ) |
类 QPoint :
| toCGPoint () const |
类 QPointF :
| fromCGPoint (CGPoint point ) | |
| toCGPoint () const |
类 QRect :
| toCGRect () const |
类 QRectF :
| fromCGRect (CGRect rect ) | |
| toCGRect () const |
类 QSize :
| toCGSize () const |
类 QSizeF :
| fromCGSize (CGSize size ) | |
| toCGSize () const |
类 QStringList :
| join (QLatin1String separator ) const |
类 QStringRef :
| chop (int n ) | |
| compare (const QByteArray & other , Qt::CaseSensitivity cs ) const |
类 QTimer :
| intervalAsDuration () const | |
| remainingTimeAsDuration () const | |
| singleShot (std::chrono::milliseconds msec , Qt::TimerType timerType , const QObject * receiver , const char * member ) | |
| singleShot (std::chrono::milliseconds msec , const QObject * receiver , const char * member ) | |
| start (std::chrono::milliseconds msec ) |
类 QWaitCondition :
| notify_all () | |
| notify_one () |
类 QLibraryInfo :
| version () |
类 QOpenGLContext :
| getProcAddress (const char * procName ) const |
类 QColor :
| isValidColor (QLatin1String name ) | |
| setNamedColor (QLatin1String name ) |
类 QRegion :
| begin () const | |
| cbegin () const | |
| cend () const | |
| crbegin () const | |
| crend () const | |
| end () const | |
| rbegin () const | |
| rend () const |
类 TouchPoint :
| rotation () const | |
| uniqueId () const |
类 QAbstractTextDocumentLayout :
| formatAt (const QPointF & pos ) const | |
| imageAt (const QPointF & pos ) const |
类 QFontMetricsF :
| capHeight () const |
类 QFontMetrics :
| capHeight () const |
类 QRawFont :
| capHeight () const |
类 QPlatformTheme :
| virtual | fileIcon (const QFileInfo & fileInfo , QPlatformTheme::IconOptions iconOptions ) const |
类 QHostAddress :
| isEqual (const QHostAddress & other , QHostAddress::ConversionMode mode ) const | |
| operator= (QHostAddress::SpecialAddress address ) | |
| setAddress (QHostAddress::SpecialAddress address ) |
| sendCustomRequest (const QNetworkRequest & request , const QByteArray & verb , QHttpMultiPart * multiPart ) | |
| sendCustomRequest (const QNetworkRequest & request , const QByteArray & verb , const QByteArray & data ) |
| usesSystemConfiguration () |
| diffieHellmanParameters () const | |
| preSharedKeyIdentityHint () const | |
| setDiffieHellmanParameters (const QSslDiffieHellmanParameters & dhparams ) | |
| setPreSharedKeyIdentityHint (const QByteArray & hint ) |
类 QUdpSocket :
| receiveDatagram (qint64 maxSize ) | |
| writeDatagram (const QNetworkDatagram & datagram ) |
类 QJSEngine :
| newQMetaObject () | |
| newQMetaObject (const QMetaObject * metaObject ) |
类 QJSValue :
| isQMetaObject () const | |
| toQMetaObject () const |
类 QQmlEngine :
| exit (int retCode ) |
类 QQuickWindow :
| createImageNode () const | |
| createNinePatchNode () const | |
| createRectangleNode () const | |
| rendererInterface () const | |
| setSceneGraphBackend (QSGRendererInterface::GraphicsApi api ) | |
| setSceneGraphBackend (const QString & backend ) |
类 QSGEngine :
| createImageNode () const | |
| createNinePatchNode () const | |
| createRectangleNode () const | |
| rendererInterface () const |
类 QQuickStyle :
| setFallbackStyle (const QString & style ) |
类 QSerialPort :
| errorOccurred (QSerialPort::SerialPortError error ) |
| spellCheckLanguages () const |
类 QWebSocket :
| preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QWebSocketServer :
| preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QFormLayout :
| removeRow (QLayout * layout ) | |
| removeRow (QWidget * widget ) | |
| removeRow (int row ) | |
| takeRow (QLayout * layout ) | |
| takeRow (QWidget * widget ) | |
| takeRow (int row ) |
类 QMainWindow :
| tabifiedDockWidgetActivated (QDockWidget * dockWidget ) |
类 QUndoStack :
| resetClean () |
| androidContext () | |
| convertVolume (qreal volume , QAudio::VolumeScale from , QAudio::VolumeScale to ) | |
| createTouchDevice (QTouchDevice::DeviceType devType ) | |
| toString ( std::nullptr_t ) |
| operator!= (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) | |
| operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) | |
| operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) | |
| operator!= ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) | |
| operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) | |
| operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) | |
| operator!= (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) | |
| operator<< (QDebug debug , const QSslDiffieHellmanParameters & dhparam ) | |
| operator== (const QSslDiffieHellmanParameters & lhs , const QSslDiffieHellmanParameters & rhs ) | |
| operator== (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) | |
| operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) | |
| operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) | |
| operator== ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) | |
| operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) | |
| operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) | |
| operator== (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) | |
| qHash (const QSslDiffieHellmanParameters & dhparam , uint seed ) | |
| qHash (const QRawFont & font , uint seed ) | |
| qHash (QPointingDeviceUniqueId key , uint seed ) | |
| qHash (const QMultiHash<Key, T> & key , uint seed ) | |
| qHash (const QHash<Key, T> & key , uint seed ) | |
| qmlRegisterUncreatableMetaObject (const QMetaObject & staticMetaObject , const char * uri , int versionMajor , int versionMinor , const char * qmlName , const QString & reason ) |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_ENUM_NS ( ... ) | |
| Q_FALLTHROUGH | |
| Q_FLAG_NS ( ... ) | |
| Q_NAMESPACE |
| enum | VolumeScale { LinearVolumeScale, CubicVolumeScale, LogarithmicVolumeScale, DecibelVolumeScale } |
| enum | DiscoveryMethod { NoMethod, ClassicMethod, LowEnergyMethod } |
| enum | ConversionModeFlag { ConvertV4MappedToIPv4, ConvertV4CompatToIPv4, ConvertUnspecifiedAddress, ConvertLocalHost, TolerantConversion, StrictConversion } |
| enum | LegendMarkerType { LegendMarkerTypeArea, LegendMarkerTypeBar, LegendMarkerTypePie, LegendMarkerTypeXY, LegendMarkerTypeBoxPlot, LegendMarkerTypeCandlestick } |
| enum | anonymous { NoContainer, NoString, NoInstruction, NoEvaluator } |
| typedef | QModbusDataUnitMap |
| typedef | const_iterator |
| typedef | const_reverse_iterator |
| typedef | ContainerId |
| typedef | EvaluatorId |
| typedef | InstructionId |
| typedef | StringId |
| delayed | |
| font.hintingPreference | |
| font.hintingPreference | |
| font.hintingPreference | |
| imageSource | |
| overwriteMode | |
| overwriteMode |
| binaryMessageReceived () |
| convertVolume () | |
| tryVerify () | |
| sendBinaryMessage () |