Qt 6.7 の新しいクラスと関数

このページには、Qt 6.7 で導入されたすべての新しいクラスと関数の包括的な一覧が掲載されています。

新しい名前空間

(since 6.7) namespace QtVideo

新しいクラス

新しいメンバー関数

QAbstractGrpcChannel クラス :

(since 6.7) virtual void bidiStream(QGrpcOperationContext *operationContext, QByteArray &&messageData) = 0
(since 6.7) virtual void call(QGrpcOperationContext *operationContext, QByteArray &&messageData) = 0
(since 6.7) virtual void clientStream(QGrpcOperationContext *operationContext, QByteArray &&messageData) = 0
(since 6.7) virtual void serverStream(QGrpcOperationContext *operationContext, QByteArray &&messageData) = 0

QAtomicInteger クラス :

(since 6.7) void qYieldCpu()

QByteArrayView クラス :

(since 6.7) operator std::string_view() const

QCalendar クラス :

(since 6.7) QDate matchCenturyToWeekday(const QCalendar::YearMonthDay &parts, int dow) const

QCanDbcFileParser クラス :

(since 6.7) bool parseData(QStringView data)

クラスQCborStreamReader :

(since 6.7) QByteArray readAllByteArray()
(since 6.7) QString readAllString()
(since 6.7) QByteArray readAllUtf8String()
(since 6.7) bool readAndAppendToByteArray(QByteArray &dst)
(since 6.7) bool readAndAppendToString(QString &dst)
(since 6.7) bool readAndAppendToUtf8String(QByteArray &dst)
(since 6.7) QCborStreamReader::StringResult<QByteArray> readUtf8String()

クラスQCheckBox :

(since 6.7) void checkStateChanged(Qt::CheckState state)

クラスQCoreApplication :

(since 6.7) void processEvents(QEventLoop::ProcessEventsFlags flags, QDeadlineTimer deadline)

クラスQDBusAbstractInterface :

(since 6.7) bool isInteractiveAuthorizationAllowed() const
(since 6.7) void setInteractiveAuthorizationAllowed(bool enable)

クラスQDataStream :

(since 6.7) QDataStream &readBytes(char *&s, qint64 &l)

クラスQDate :

(since 6.7) QDate fromString(QStringView string, QStringView format, int baseYear = QLocale::DefaultTwoDigitBaseYear)
(since 6.7) QDate fromString(const QString &string, QStringView format, int baseYear = QLocale::DefaultTwoDigitBaseYear)
(since 6.7) QDate fromString(const QString &string, const QString &format, int baseYear = QLocale::DefaultTwoDigitBaseYear)
(since 6.7) QDate fromString(QStringView string, QStringView format, int baseYear, QCalendar cal)

クラスQDateTime :

(since 6.7) QDateTime fromString(QStringView string, QStringView format, int baseYear = QLocale::DefaultTwoDigitBaseYear)
(since 6.7) QDateTime fromString(const QString &string, QStringView format, int baseYear = QLocale::DefaultTwoDigitBaseYear)
(since 6.7) QDateTime fromString(const QString &string, const QString &format, int baseYear = QLocale::DefaultTwoDigitBaseYear)
(since 6.7) QDateTime fromString(QStringView string, QStringView format, int baseYear, QCalendar cal)

クラスQDebug :

(since 6.7) QDebug &operator<<(T i)
(since 6.7) QDebug &operator<<(T i)
(since 6.7) QDebug &operator<<(const std::optional<T> &opt)
(since 6.7) QDebug &operator<<(std::nullopt_t)
(since 6.7) QDebug operator<<(QDebug d, QAnyStringView s)
(since 6.7) bool quoteStrings() const
(since 6.7) void setQuoteStrings(bool b)

クラスQEventLoop :

(since 6.7) void processEvents(QEventLoop::ProcessEventsFlags flags, QDeadlineTimer deadline)

クラスQEventLoopLocker :

(since 6.7) QEventLoopLocker &operator=(QEventLoopLocker &&other)
(since 6.7) void swap(QEventLoopLocker &other)
(since 6.7) void swap(QEventLoopLocker &lhs, QEventLoopLocker &rhs)

クラスQFont :

(since 6.7) void clearFeatures()
(since 6.7) void clearVariableAxes()
(since 6.7) QList<QFont::Tag> featureTags() const
(since 6.7) quint32 featureValue(QFont::Tag tag) const
(since 6.7) bool isFeatureSet(QFont::Tag tag) const
(since 6.7) bool isVariableAxisSet(QFont::Tag tag) const
(since 6.7) void setFeature(QFont::Tag tag, quint32 value)
(since 6.7) void setVariableAxis(QFont::Tag tag, float value)
(since 6.7) void unsetFeature(QFont::Tag tag)
(since 6.7) void unsetVariableAxis(QFont::Tag tag)
(since 6.7) QList<QFont::Tag> variableAxisTags() const
(since 6.7) float variableAxisValue(QFont::Tag tag) const

クラスQGrpcClientBase :

(since 6.7) std::shared_ptr<QAbstractGrpcChannel> channel() const
(since 6.7) void channelChanged()

クラスQHttpServerRequest :

(since 6.7) QSslConfiguration sslConfiguration() const

クラスQIcon :

(since 6.7) QIcon fromTheme(QIcon::ThemeIcon icon)
(since 6.7) QIcon fromTheme(QIcon::ThemeIcon icon, const QIcon &fallback)
(since 6.7) bool hasThemeIcon(QIcon::ThemeIcon icon)

クラスQJniObject :

(since 6.7) auto callStaticMethod(const char *methodName, Args &&... args)

クラスQMetaObject :

(since 6.7) bool invokeMethod(QObject *context, Functor &&function, Args &&... arguments)
(since 6.7) bool invokeMethod(QObject *context, Functor &&function, QTemplatedMetaMethodReturnArgument<FunctorReturnType> ret, Args &&... arguments)
(since 6.7) bool invokeMethod(QObject *context, Functor &&function, Qt::ConnectionType type, Args &&... arguments)
(since 6.7) bool invokeMethod(QObject *context, Functor &&function, Qt::ConnectionType type, QTemplatedMetaMethodReturnArgument<FunctorReturnType> ret, Args &&... arguments)

クラスQNetworkAccessManager :

(since 6.7) QNetworkReply *get(const QNetworkRequest &request, QIODevice *data)
(since 6.7) QNetworkReply *get(const QNetworkRequest &request, const QByteArray &data)
(since 6.7) void setTransferTimeout(std::chrono::milliseconds duration = QNetworkRequest::DefaultTransferTimeout)
(since 6.7) std::chrono::milliseconds transferTimeoutAsDuration() const

クラスQNetworkRequest :

(since 6.7) void setTransferTimeout(std::chrono::milliseconds duration = DefaultTransferTimeout)
(since 6.7) std::chrono::milliseconds transferTimeoutAsDuration() const

クラスQObject :

(since 6.7) T findChild(Qt::FindChildOptions options = Qt::FindChildrenRecursively) const

クラスQOpcUaAttributeOperand :

(since 6.7) bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
(since 6.7) bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

クラスQOpcUaClient :

(since 6.7) QOpcUaHistoryReadResponse *readHistoryEvents(const QOpcUaHistoryReadEventRequest &request)
(since 6.7) bool registerNodes(const QStringList &nodesToRegister)
(since 6.7) void registerNodesFinished(const QStringList &nodesToRegister, const QStringList &registeredNodeIds, QOpcUa::UaStatusCode statusCode)
(since 6.7) bool unregisterNodes(const QStringList &nodesToUnregister)
(since 6.7) void unregisterNodesFinished(const QStringList &nodesToUnregister, QOpcUa::UaStatusCode statusCode)

クラスQOpcUaContentFilterElement :

(since 6.7) bool operator!=(const QOpcUaContentFilterElement &lhs, const QOpcUaContentFilterElement &rhs)

クラスQOpcUaDataValue :

(since 6.7) operator QVariant() const
(since 6.7) bool operator!=(const QOpcUaDataValue &lhs, const QOpcUaDataValue &rhs)
(since 6.7) bool operator==(const QOpcUaDataValue &lhs, const QOpcUaDataValue &rhs)
(since 6.7) quint16 serverPicoseconds() const
(since 6.7) void setServerPicoseconds(quint16 serverPicoseconds)
(since 6.7) void setSourcePicoseconds(quint16 sourcePicoseconds)
(since 6.7) quint16 sourcePicoseconds() const

クラスQOpcUaElementOperand :

(since 6.7) bool operator!=(const QOpcUaElementOperand &lhs, const QOpcUaElementOperand &rhs)
(since 6.7) bool operator==(const QOpcUaElementOperand &lhs, const QOpcUaElementOperand &rhs)

クラスQOpcUaGenericStructHandler :

(since 6.7) bool initialized() const

クラスQOpcUaHistoryReadRawRequest:

(since 6.7) void setTimestampsToReturn(QOpcUa::TimestampsToReturntimestampsToReturn)
(since 6.7) QOpcUa::TimestampsToReturn timestampsToReturn() const

クラス `QOpcUaHistoryReadResponse` :

(since 6.7) QList<QOpcUaHistoryEvent> events() const
(since 6.7) void readHistoryEventsFinished(const QList<QOpcUaHistoryEvent> &results, QOpcUa::UaStatusCode serviceResult)

クラス `QOpcUaLiteralOperand` :

(since 6.7) bool operator!=(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)
(since 6.7) bool operator==(const QOpcUaLiteralOperand &lhs, const QOpcUaLiteralOperand &rhs)

クラス `QOpcUaMonitoringParameters` :

(since 6.7) QHash<quint32, QOpcUa::UaStatusCode> failedTriggeredItemsStatus() const
(since 6.7) void setFailedTriggeredItemsStatus(const QHash<quint32, QOpcUa::UaStatusCode> &status)
(since 6.7) void setTriggeredItemIds(const QSet<quint32> &ids)
(since 6.7) QSet<quint32> triggeredItemIds() const

QOpcUaNode クラス :

(since 6.7) QOpcUaHistoryReadResponse *readHistoryEvents(const QDateTime &startTime, const QDateTime &endTime, QOpcUaMonitoringParameters::EventFilter &filter, quint32 numValues = 0)
(since 6.7) QOpcUaHistoryReadResponse *readHistoryRaw(const QDateTime &startTime, const QDateTime &endTime, quint32 numValues, bool returnBounds, QOpcUa::TimestampsToReturn timestampsToReturn)
(since 6.7) void valueAttributeUpdated(const QVariant &value)

クラスQOpcUaRelativePathElement:

(since 6.7) operator QVariant() const
(since 6.7) bool operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)

クラスQOpcUaSimpleAttributeOperand :

(since 6.7) bool operator!=(const QOpcUaSimpleAttributeOperand &lhs, const QOpcUaSimpleAttributeOperand &rhs)

クラスQPartialOrdering :

(since 6.7) bool is_eq(QPartialOrdering o)
(since 6.7) bool is_gt(QPartialOrdering o)
(since 6.7) bool is_gteq(QPartialOrdering o)
(since 6.7) bool is_lt(QPartialOrdering o)
(since 6.7) bool is_lteq(QPartialOrdering o)
(since 6.7) bool is_neq(QPartialOrdering o)

クラスQProcess :

(since 6.7) void failChildProcessModifier(const char *description, int error = 0)

クラスQProtobufMessage :

(since 6.7) QList<QByteArray> unknownFieldData(qint32 field) const
(since 6.7) QList<qint32> unknownFieldNumbers() const

クラスQProtobufSerializer :

(since 6.7) void shouldPreserveUnknownFields(bool preserveUnknownFields)

クラスQQuickTextDocument :

(technology preview) void save()
(technology preview) void saveAs(const QUrl &url)
(since 6.7) void setTextDocument(QTextDocument *document)
(since 6.7) void textDocumentChanged()

クラスQQuickView :

(since 6.7) void loadFromModule(QAnyStringView uri, QAnyStringView typeName)

クラスQQuickWebEngineProfile :

(since 6.7) void clearHttpCacheCompleted()

クラスQQuickWindow :

(since 6.7) QSGTextNode *createTextNode() const

クラスQRawFont :

(since 6.7) QByteArray fontTable(QFont::Tag tag) const

クラスQRemoteObjectHost :

(since 6.7) void setLocalServerOptions(QLocalServer::SocketOptions options)

クラスQRhiColorAttachment :

(since 6.7) int multiViewCount() const
(since 6.7) void setMultiViewCount(int count)

クラスQRhiGraphicsPipeline :

(since 6.7) int multiViewCount() const
(since 6.7) void setMultiViewCount(int count)

クラスQShader :

(since 6.7) QShader &operator=(QShader &&other)
(since 6.7) void swap(QShader &other)

クラスQShaderBaker :

(since 6.7) void setMultiViewCount(int count)

クラスQSharedPointer :

(since 6.7) bool owner_before(const QSharedPointer<X> &other) const
(since 6.7) bool owner_before(const QWeakPointer<X> &other) const
(since 6.7) bool owner_equal(const QSharedPointer<X> &other) const
(since 6.7) bool owner_equal(const QWeakPointer<X> &other) const
(since 6.7) size_t owner_hash() const

クラスQSignalBlocker :

(since 6.7) void dismiss()

クラスQSqlQuery :

(since 6.7) bool isPositionalBindingEnabled() const
(since 6.7) void setPositionalBindingEnabled(bool enable)

クラスQStaticLatin1StringMatcher :

(since 6.7) auto qMakeStaticCaseInsensitiveLatin1StringMatcher(const char (&patternToMatch)[N])
(since 6.7) auto qMakeStaticCaseSensitiveLatin1StringMatcher(const char (&patternToMatch)[N])

クラスQString :

(since 6.7) operator std::u16string_view() const

クラスQStringList :

(since 6.7) QStringList filter(const QStringMatcher &matcher) const
(since 6.7) QStringList filter(QLatin1StringView str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const

クラスQStringMatcher :

(since 6.7) QStringView patternView() const

クラスQStringView :

(since 6.7) bool isLower() const
(since 6.7) bool isUpper() const
(since 6.7) operator std::u16string_view() const

クラスQSvgWidget :

(since 6.7) QtSvg::Options options() const
(since 6.7) void setOptions(QtSvg::Options options)

クラス「QTemporaryFile 」:

(since 6.7) QTemporaryFile *createNativeFile(const std::filesystem::path &fileName)
(since 6.7) bool rename(const std::filesystem::path &newName)
(since 6.7) void setFileTemplate(const std::filesystem::path &name)

クラスQUtf8StringView :

(since 6.7) operator std::string_view() const

クラスQVariant :

(since 6.7) QVariant fromMetaType(QMetaType type, const void *copy = nullptr)
(since 6.7) T qvariant_cast(QVariant &&value)

クラスQVulkanWindow :

(since 6.7) void setEnabledFeaturesModifier(const QVulkanWindow::EnabledFeaturesModifier &modifier)
(since 6.7) void setEnabledFeaturesModifier(QVulkanWindow::EnabledFeatures2Modifier modifier)

クラスQWaylandSeat :

(since 6.7) void sendUnicodeKeyPressEvent(uint unicode)
(since 6.7) void sendUnicodeKeyReleaseEvent(uint unicode)

クラスQWeakPointer :

(since 6.7) bool owner_before(const QSharedPointer<X> &other) const
(since 6.7) bool owner_before(const QWeakPointer<X> &other) const
(since 6.7) bool owner_equal(const QSharedPointer<X> &other) const
(since 6.7) bool owner_equal(const QWeakPointer<X> &other) const
(since 6.7) size_t owner_hash() const

クラスQWebEnginePage :

(since 6.7) void desktopMediaRequested(const QWebEngineDesktopMediaRequest &request)
(since 6.7) void webAuthUxRequested(QWebEngineWebAuthUxRequest *request)

クラスQWebEngineProfile :

(since 6.7) void clearHttpCacheCompleted()

クラスQWebEngineUrlRequestInfo :

(since 6.7) QIODevice *requestBody() const

クラスQWebEngineUrlRequestJob :

(since 6.7) QIODevice *requestBody() const

名前空間の新しい関数

(since 6.7) void qSleep(std::chrono::milliseconds msecs)
(since 6.7) void qWait(std::chrono::milliseconds msecs)
(since 6.7) bool qWaitFor(Functor predicate, QDeadlineTimer deadline = QDeadlineTimer( defaultTryTimeout.load(std::memory_order_relaxed)))
(since 6.7) bool qWaitForWindowFocused(QWindow *window, QDeadlineTimer timeout)
(since 6.7) bool qWaitForWindowFocused(QWidget *widget, QDeadlineTimer timeout)

新しいグローバル関数

(since 6.7) auto compareThreeWay(LeftIntlhs, RightIntrhs)
(since 6.7) auto compareThreeWay(LeftFloatlhs, RightFloatrhs)
(since 6.7) auto compareThreeWay(IntTypelhs, FloatTyperhs)
(since 6.7) auto compareThreeWay(FloatTypelhs, IntTyperhs)
(since 6.7) Qt::strong_ordering compareThreeWay(Enumlhs, Enumrhs)
(since 6.7) auto qCompareThreeWay(const LeftType&lhs, const RightType&rhs)
(since 6.7) void qDrawPlainRoundedRect(QPainter*painter, const QRect&rect, qrealrx, qrealry, const QColor&lineColor, intlineWidth= 1, const QBrush*fill= nullptr)
(since 6.7) void qDrawPlainRoundedRect(QPainter*painter, intx, inty, intwidth, intheight, qrealrx, qrealry, const QColor&lineColor, intlineWidth= 1, const QBrush*fill= nullptr)void

新しいマクロ

(since 6.7) QT_NO_CONTEXTLESS_CONNECT
(since 6.7) Q_NODISCARD_CTOR_X(message)
(since 6.7) Q_NODISCARD_X(message)

新しい列挙型

(since 6.7) enum class TransitionResolution { Reject, RelativeToBefore, RelativeToAfter, PreferBefore, PreferAfter, …, LegacyBehavior }
(since 6.7) enum class ThemeIcon { AddressBookNew, ApplicationExit, AppointmentNew, CallStart, CallStop, …, NThemeIcons }
(since 6.7) enum class TagSeparator { Dash, Underscore }
(since 6.7) enum class TimestampsToReturn { Source, Server, Both, Neither, Invalid }
(since 6.7) enum Option { NoOption, Tiny12FeaturesOnly, AssumeTrustedSource, DisableSMILAnimations, DisableCSSAnimations, DisableAnimations }
(since 6.7) enum class Rotation { None, Clockwise90, Clockwise180, Clockwise270 }

新しい列挙値

新しい型エイリアス

(since 6.7) const_pointer
(since 6.7) pointer
(since 6.7) QRhiShaderResourceBindingSet
(since 6.7) EnabledFeatures2Modifier

新しいプロパティ

新しい変数

(since 6.7) const int DefaultTwoDigitBaseYear
(since 6.7) const QOperatingSystemVersionBase Android14

新しいQML型

新しい QML プロパティ

QML タイプConvexMeshShape :

(since 6.7) geometry : Geometry

QML タイプCustomMaterial :

(since 6.7) destinationAlphaBlend : enumeration
(since 6.7) sourceAlphaBlend : enumeration

QML タイプGeoJsonData :

(since 6.7) model : QVariant
(since 6.7) sourceUrl : url

QML タイプHeightFieldShape :

(since 6.7) image : Image

QML タイプItem :

(since 6.7) focusPolicy : enumeration

QML タイプMediaPlayer :

(since 6.7) autoPlay : bool

QML タイプPathText :

(since 6.7) font.variableAxes : object

QML タイプ `PhysicsWorld` :

(since 6.7) numThreads : int
(since 6.7) reportKinematicKinematicCollisions : bool
(since 6.7) reportStaticKinematicCollisions : bool

QML タイプRectangle :

(since 6.7) bottomLeftRadius : real
(since 6.7) bottomRightRadius : real
(since 6.7) topLeftRadius : real
(since 6.7) topRightRadius : real

QML タイプShape :

(since 6.7) horizontalAlignment : enumeration
(since 6.7) verticalAlignment : enumeration

QML タイプ「ShapePath 」:

(since 6.7) pathHints : PathHints

QML タイプ `SystemPalette` :

(since 6.7) accent : color

QML タイプText :

(since 6.7) font.variableAxes : object

QML タイプTextDocument :

(technology preview) errorString : string
(technology preview) modified : bool
(technology preview) source : url
(technology preview) status : enumeration

QML タイプTextEdit :

(technology preview) cursorSelection : QtQuick::TextSelection
(since 6.7) font.variableAxes : object

QML タイプTextInput :

(since 6.7) font.variableAxes : object

QML タイプTexture :

(since 6.7) textureProvider : RenderExtension

QML タイプTriangleMeshShape :

(since 6.7) geometry : Geometry

QML タイプVideo :

(since 6.7) autoPlay : bool

QML タイプView3D :

(since 6.7) effectiveTextureSize : size
(since 6.7) explicitTextureHeight : int
(since 6.7) explicitTextureWidth : int

QML タイプcameraDevice:

(since 6.7) correctionAngle : QtVideo::Rotation

QML タイプfont :

(since 6.7) variableAxes : object

新しい QML メソッド

QML タイプStackView:

(since 6.7) Item popCurrentItem(operation)
(since 6.7) Item popToIndex(index, operation)
(since 6.7) Item popToItem(item, operation)
(since 6.7) Item pushItem(item, properties, operation)
(since 6.7) Item pushItem(component, properties, operation)
(since 6.7) Item pushItem(url, properties, operation)
(since 6.7) Item pushItems(items, operation)
(since 6.7) Item replaceCurrentItem(items, operation)
(since 6.7) Item replaceCurrentItem(item, properties, operation)
(since 6.7) Item replaceCurrentItem(component, properties, operation)
(since 6.7) Item replaceCurrentItem(url, properties, operation)

QML タイプTextDocument :

(technology preview) void save()
(technology preview) void saveAs(url url)

QML タイプWaylandSeat:

(since 6.7) void sendUnicodeKeyPressEvent(uint unicode)
(since 6.7) void sendUnicodeKeyReleaseEvent(uint unicode)

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.