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

このページでは、Qt 6.8 で導入されたすべての新しいクラスと関数の包括的なリストを提供します。

新しい名前空間

(since 6.8) namespace QtJniTypes

新しいクラス

新しいメンバー関数

クラスQAbstractEventDispatcher

(since 6.8) void registerTimer(Qt::TimerId timerId, QAbstractEventDispatcher::Duration interval, Qt::TimerType timerType, QObject *object)
(since 6.8) Qt::TimerId registerTimer(QAbstractEventDispatcher::Duration interval, Qt::TimerType timerType, QObject *object)
(since 6.8) QList<QAbstractEventDispatcher::TimerInfoV2> timersForObject(QObject *object) const
(since 6.8) bool unregisterTimer(Qt::TimerId timerId)

クラスQAbstractGrpcChannel

(since 6.8) void setChannelOptions(QGrpcChannelOptions &&options)
(since 6.8) void setChannelOptions(const QGrpcChannelOptions &options)

クラスQAbstractHttpServer

(since 6.8) void addWebSocketUpgradeVerifier(const typename QtPrivate::ContextTypeForFunctor<Handler>::ContextType *context, Handler &&func)
(since 6.8) QHttp2Configuration http2Configuration() const
(since 6.8) void setHttp2Configuration(const QHttp2Configuration &configuration)

クラスQAbstractProtobufSerializer

(since 6.8) virtual QAbstractProtobufSerializer::Error lastError() const = 0
(since 6.8) virtual QString lastErrorString() const = 0

クラスQAnyStringView

(since 6.8) qsizetype max_size() const
(since 6.8) QAnyStringView &slice(qsizetype pos, qsizetype n)
(since 6.8) QAnyStringView &slice(qsizetype pos)

クラスQBasicTimer

(since 6.8) Qt::TimerId id() const

クラスQByteArray

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const
(since 6.8) void resizeForOverwrite(qsizetype size)
(since 6.8) QByteArray &slice(qsizetype pos, qsizetype n)
(since 6.8) QByteArray &slice(qsizetype pos)

クラスQByteArrayView

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const
(since 6.8) QByteArrayView &slice(qsizetype pos, qsizetype n)
(since 6.8) QByteArrayView &slice(qsizetype pos)

クラスQCanBus

(since 6.8) QList<QCanBusDeviceInfo> availableDevices(QString *errorMessage) const

クラスQColorSpace

(since 6.8) QColorSpace::ColorModel colorModel() const
(since 6.8) bool isValidTarget() const
(since 6.8) void setWhitePoint(QPointF whitePoint)
(since 6.8) QColorSpace::TransformModel transformModel() const
(since 6.8) QPointF whitePoint() const

クラスQCryptographicHash

(since 6.8) QByteArrayView hashInto(QSpan<char> buffer, QByteArrayView data, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<char> buffer, QSpan<const QByteArrayView> data, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<std::byte> buffer, QByteArrayView data, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<std::byte> buffer, QSpan<const QByteArrayView> data, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<uchar> buffer, QByteArrayView data, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<uchar> buffer, QSpan<const QByteArrayView> data, QCryptographicHash::Algorithm method)

クラスQDBusObjectPath

(since 6.8) QDebug operator<<(QDebug dbg, const QDBusObjectPath &path)

クラスQDnsLookup

(since 6.8) quint16 defaultPortForProtocol(QDnsLookup::Protocol protocol)
(since 6.8) bool isProtocolSupported(QDnsLookup::Protocol protocol)
(since 6.8) void setSslConfiguration(const QSslConfiguration &sslConfiguration)
(since 6.8) QList<QDnsTlsAssociationRecord> tlsAssociationRecords() const

クラスQFontDatabase

(since 6.8) void addApplicationFallbackFontFamily(QChar::Script script, const QString &familyName)
(since 6.8) QStringList applicationFallbackFontFamilies(QChar::Script script)
(since 6.8) bool removeApplicationFallbackFontFamily(QChar::Script script, const QString &familyName)
(since 6.8) void setApplicationFallbackFontFamilies(QChar::Script script, const QStringList &familyNames)

クラスQGrpcBidiStream

(since 6.8) void writesDone()

クラスQGrpcCallOptions

(since 6.8) QVariant operator QVariant() const
(since 6.8) QDebug operator<<(QDebug debug, const QGrpcCallOptions &callOpts)
(since 6.8) void swap(QGrpcCallOptions &other)

クラスQGrpcChannelOptions

(since 6.8) QVariant operator QVariant() const
(since 6.8) QDebug operator<<(QDebug debug, const QGrpcChannelOptions &chOpts)
(since 6.8) QGrpcSerializationFormat serializationFormat() const
(since 6.8) QGrpcChannelOptions &setSerializationFormat(const QGrpcSerializationFormat &format)
(since 6.8) void swap(QGrpcChannelOptions &other)

クラスQGrpcClientStream

(since 6.8) void writesDone()

クラスQGrpcOperation

(since 6.8) bool read(QProtobufMessage *message) const

クラスQGrpcSerializationFormat

(since 6.8) QVariant operator QVariant() const
(since 6.8) QDebug operator<<(QDebug debug, const QGrpcSerializationFormat &sfmt)
(since 6.8) void swap(QGrpcSerializationFormat &other)

クラスQGrpcStatus

(since 6.8) bool isOk() const
(since 6.8) QVariant operator QVariant() const
(since 6.8) QDataStream &operator<<(QDataStream &out, const QGrpcStatus &status)
(since 6.8) QDebug operator<<(QDebug debug, const QGrpcStatus &status)
(since 6.8) QDataStream &operator>>(QDataStream &in, QGrpcStatus &status)
(since 6.8) size_t qHash(const QGrpcStatus &key, size_t seed)
(since 6.8) void swap(QGrpcStatus &other)

クラスQHash

(since 6.8) size_t qHash(qint128 key, size_t seed)
(since 6.8) size_t qHash(quint128 key, size_t seed)

クラスQHelpContentModel

(since 6.8) void createContentsForCurrentFilter()

クラスQHelpIndexModel

(since 6.8) void createIndexForCurrentFilter()

クラスQHttpHeaders

(since 6.8) bool replaceOrAppend(QHttpHeaders::WellKnownHeader name, QAnyStringView newValue)

クラスQHttpPart

(since 6.8) QDebug operator<<(QDebug debug, const QHttpPart &part)

クラスQHttpServerResponder

(since 6.8) void swap(QHttpServerResponder &other)
(since 6.8) void writeBeginChunked(const QByteArray &mimeType, QHttpServerResponder::StatusCode status)
(since 6.8) void writeBeginChunked(const QHttpHeaders &headers, QHttpServerResponder::StatusCode status)
(since 6.8) void writeBeginChunked(const QHttpHeaders &headers, QList<QHttpHeaders::WellKnownHeader> trailers, QHttpServerResponder::StatusCode status)
(since 6.8) void writeChunk(const QByteArray &data)
(since 6.8) void writeEndChunked(const QByteArray &data)
(since 6.8) void writeEndChunked(const QByteArray &data, const QHttpHeaders &trailers)

クラスQHttpServerResponse

(since 6.8) QHttpHeaders headers() const
(since 6.8) void setHeaders(QHttpHeaders &&newHeaders)
(since 6.8) void setHeaders(const QHttpHeaders &newHeaders)

クラスQIdentityProxyModel

(since 6.8) bool handleSourceDataChanges() const
(since 6.8) bool handleSourceLayoutChanges() const
(since 6.8) void setHandleSourceDataChanges(bool b)
(since 6.8) void setHandleSourceLayoutChanges(bool b)

クラスQImage

(since 6.8) void applyColorTransform(const QColorTransform &transform, QImage::Format toFormat, Qt::ImageConversionFlags flags)
(since 6.8) QImage colorTransformed(const QColorTransform &transform, QImage::Format toFormat, Qt::ImageConversionFlags flags) const &
(since 6.8) QImage colorTransformed(const QColorTransform &transform, QImage::Format format, Qt::ImageConversionFlags flags) &&
(since 6.8) void convertToColorSpace(const QColorSpace &colorSpace, QImage::Format format, Qt::ImageConversionFlags flags)
(since 6.8) QImage convertedToColorSpace(const QColorSpace &colorSpace, QImage::Format format, Qt::ImageConversionFlags flags) &&
(since 6.8) QImage convertedToColorSpace(const QColorSpace &colorSpace, QImage::Format format, Qt::ImageConversionFlags flags) const &

クラスQJniObject

(since 6.8) void swap(QJniObject &other)

クラスQLatin1StringMatcher

(since 6.8) qsizetype indexIn(QStringView haystack, qsizetype from) const

クラスQLatin1StringView

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const
(since 6.8) QLatin1StringView &slice(qsizetype pos)
(since 6.8) QLatin1StringView &slice(qsizetype pos, qsizetype n)

クラスQLibraryInfo

(since 6.8) QStringList paths(QLibraryInfo::LibraryPath p)

クラスQLineF

(since 6.8) bool qFuzzyCompare(const QLineF &lhs, const QLineF &rhs)
(since 6.8) bool qFuzzyIsNull(const QLineF &line)

クラスQList

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const
(since 6.8) void resizeForOverwrite(qsizetype size)

クラスQLocalServer

(since 6.8) void addPendingConnection(QLocalSocket *socket)

クラスQMap

(since 6.8) size_t qHash(const QMap<Key, T> &key, size_t seed)

クラスQMarginsF

(since 6.8) bool qFuzzyCompare(const QMarginsF &lhs, const QMarginsF &rhs)
(since 6.8) bool qFuzzyIsNull(const QMarginsF &margins)

クラスQMessageAuthenticationCode

(since 6.8) QByteArrayView hashInto(QSpan<char> buffer, QByteArrayView message, QByteArrayView key, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<char> buffer, QSpan<const QByteArrayView> messageParts, QByteArrayView key, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<std::byte> buffer, QByteArrayView message, QByteArrayView key, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<std::byte> buffer, QSpan<const QByteArrayView> messageParts, QByteArrayView key, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<uchar> buffer, QByteArrayView message, QByteArrayView key, QCryptographicHash::Algorithm method)
(since 6.8) QByteArrayView hashInto(QSpan<uchar> buffer, QSpan<const QByteArrayView> messageParts, QByteArrayView key, QCryptographicHash::Algorithm method)

クラスQNetworkAccessManager

(since 6.8) QNetworkReply *post(const QNetworkRequest &request, std::nullptr_t nptr)
(since 6.8) QNetworkReply *put(const QNetworkRequest &request, std::nullptr_t nptr)

クラスQNetworkCacheMetaData

(since 6.8) QHttpHeaders headers() const
(since 6.8) void setHeaders(const QHttpHeaders &headers)

クラスQNetworkProxy

(since 6.8) QHttpHeaders headers() const
(since 6.8) void setHeaders(QHttpHeaders &&newHeaders)
(since 6.8) void setHeaders(const QHttpHeaders &newHeaders)

クラスQNetworkReply

(since 6.8) QHttpHeaders headers() const
(since 6.8) void setHeaders(const QHttpHeaders &newHeaders)
(since 6.8) void setHeaders(QHttpHeaders &&newHeaders)
(since 6.8) void setWellKnownHeader(QHttpHeaders::WellKnownHeader name, QByteArrayView value)

クラスQNetworkRequest

(since 6.8) QHttpHeaders headers() const
(since 6.8) void setHeaders(QHttpHeaders &&newHeaders)
(since 6.8) void setHeaders(const QHttpHeaders &newHeaders)

クラスQNetworkRequestFactory

(since 6.8) QVariant attribute(QNetworkRequest::Attribute attribute) const
(since 6.8) QVariant attribute(QNetworkRequest::Attribute attribute, const QVariant &defaultValue) const
(since 6.8) void clearAttribute(QNetworkRequest::Attribute attribute)
(since 6.8) void clearAttributes()
(since 6.8) QNetworkRequest::Priority priority() const
(since 6.8) void setAttribute(QNetworkRequest::Attribute attribute, const QVariant &value)
(since 6.8) void setPriority(QNetworkRequest::Priority priority)

クラスQOAuth2AuthorizationCodeFlow

(since 6.8) QOAuth2AuthorizationCodeFlow::PkceMethod pkceMethod() const
(since 6.8) void setPkceMethod(QOAuth2AuthorizationCodeFlow::PkceMethod method, qsizetype length)

クラスQObject

(since 6.8) void killTimer(Qt::TimerId id)

クラスQPdfWriter

(since 6.8) QPdfWriter::ColorModel colorModel() const
(since 6.8) QUuid documentId() const
(since 6.8) QPdfOutputIntent outputIntent() const
(since 6.8) void setColorModel(QPdfWriter::ColorModel model)
(since 6.8) void setDocumentId(QUuid documentId)
(since 6.8) void setOutputIntent(const QPdfOutputIntent &intent)

クラスQPointF

(since 6.8) bool qFuzzyCompare(const QPointF &p1, const QPointF &p2)
(since 6.8) bool qFuzzyIsNull(const QPointF &point)

クラスQProtobufMessage

(since 6.8) bool deserialize(QAbstractProtobufSerializer *serializer, QByteArrayView data)
(since 6.8) const QtProtobufPrivate::QProtobufPropertyOrdering *propertyOrdering() const
(since 6.8) QByteArray serialize(QAbstractProtobufSerializer *serializer) const

クラスQQuickRenderTarget

(since 6.8) QRhiTexture *depthTexture() const
(since 6.8) QQuickRenderTarget fromD3D11Texture(void *texture, uint format, QSize pixelSize, int sampleCount, QQuickRenderTarget::Flags flags)
(since 6.8) QQuickRenderTarget fromD3D12Texture(void *texture, int resourceState, uint format, uint viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget::Flags flags)
(since 6.8) QQuickRenderTarget fromMetalTexture(MTLTexture *texture, uint format, uint viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget::Flags flags)
(since 6.8) QQuickRenderTarget fromOpenGLTexture(uint textureId, uint format, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget::Flags flags)
(since 6.8) QQuickRenderTarget fromVulkanImage(VkImage image, VkImageLayout layout, VkFormat format, VkFormat viewFormat, QSize pixelSize, int sampleCount, int arraySize, QQuickRenderTarget::Flags flags)
(since 6.8) void setDepthTexture(QRhiTexture *texture)

クラスQQuickWebEngineProfile

(since 6.8) QWebEngineClientHints *clientHints() const
(since 6.8) QList<QWebEnginePermission> listAllPermissions() const
(since 6.8) QList<QWebEnginePermission> listPermissionsForOrigin(const QUrl &securityOrigin) const
(since 6.8) QList<QWebEnginePermission> listPermissionsForPermissionType(QWebEnginePermission::PermissionType permissionType) const
(since 6.8) QWebEnginePermission queryPermission(const QUrl &securityOrigin, QWebEnginePermission::PermissionType permissionType) const

クラスQRectF

(since 6.8) bool qFuzzyCompare(const QRectF &lhs, const QRectF &rhs)
(since 6.8) bool qFuzzyIsNull(const QRectF &rect)

クラスQRegion

(since 6.8) QSpan<const QRect> rects() const
(since 6.8) void setRects(QSpan<const QRect> rects)

クラスQRhiTexture

(since 6.8) QRhiTexture::ViewFormat readViewFormat() const
(since 6.8) void setReadViewFormat(const QRhiTexture::ViewFormat &fmt)
(since 6.8) void setWriteViewFormat(const QRhiTexture::ViewFormat &fmt)
(since 6.8) QRhiTexture::ViewFormat writeViewFormat() const

クラスQRhiTextureRenderTargetDescription

(since 6.8) QRhiTexture *depthResolveTexture() const
(since 6.8) void setDepthResolveTexture(QRhiTexture *tex)

クラスQSGMaterial

(since 6.8) int viewCount() const

クラスQSGMaterialShader

(since 6.8) void setShaderFileName(QSGMaterialShader::Stage stage, const QString &filename, int viewCount)

クラスQSizeF

(since 6.8) bool qFuzzyCompare(const QSizeF &lhs, const QSizeF &rhs)
(since 6.8) bool qFuzzyIsNull(const QSizeF &size)

クラスQSpan

(since 6.8) QSpan<const std::byte, E == q20::dynamic_extent ? q20::dynamic_extent : E * sizeof(T)> as_bytes(QSpan<T, E> s)
(since 6.8) QSpan<std::byte, E == q20::dynamic_extent ? q20::dynamic_extent : E * sizeof(T)> as_writable_bytes(QSpan<T, E> s)

クラスQSqlDatabase

(since 6.8) bool moveToThread(QThread *targetThread)
(since 6.8) QThread *thread() const

クラスQString

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const
(since 6.8) void resizeForOverwrite(qsizetype size)
(since 6.8) QString &slice(qsizetype pos, qsizetype n)
(since 6.8) QString &slice(qsizetype pos)

クラスQStringView

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const
(since 6.8) QStringView &slice(qsizetype pos, qsizetype n)
(since 6.8) QStringView &slice(qsizetype pos)

クラスQStyleHints

(since 6.8) void setColorScheme(Qt::ColorScheme scheme)
(since 6.8) void unsetColorScheme()

クラスQSvgRenderer

(since 6.8) void setDefaultOptions(QtSvg::Options flags)

クラスQThread

(since 6.8) bool isCurrentThread() const
(since 6.8) bool isMainThread()

クラスQThreadPool

(since 6.8) bool waitForDone(QDeadlineTimer deadline)

クラスQTimeZone

(since 6.8) bool hasAlternativeName(QByteArrayView alias) const

クラスQTimer

(since 6.8) Qt::TimerId id() const

クラスQTimerEvent

(since 6.8) Qt::TimerId id() const

クラスQUtf8StringView

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const
(since 6.8) QUtf8StringView &slice(qsizetype pos, qsizetype n)
(since 6.8) QUtf8StringView &slice(qsizetype pos)

クラスQVarLengthArray

(since 6.8) qsizetype maxSize()
(since 6.8) qsizetype max_size() const

クラスQVersionNumber

(since 6.8) QVersionNumber::const_iterator begin() const
(since 6.8) QVersionNumber::const_iterator cbegin() const
(since 6.8) QVersionNumber::const_iterator cend() const
(since 6.8) QVersionNumber::const_iterator constBegin() const
(since 6.8) QVersionNumber::const_iterator constEnd() const
(since 6.8) QVersionNumber::const_reverse_iterator crbegin() const
(since 6.8) QVersionNumber::const_reverse_iterator crend() const
(since 6.8) QVersionNumber::const_iterator end() const
(since 6.8) QVersionNumber::const_reverse_iterator rbegin() const
(since 6.8) QVersionNumber::const_reverse_iterator rend() const

クラスQWebEnginePage

(since 6.8) std::optional<QWebEngineFrame> findFrameByName(QAnyStringView name)
(since 6.8) QWebEngineFrame mainFrame()
(since 6.8) void permissionRequested(QWebEnginePermission permission)
(since 6.8) void printRequestedByFrame(QWebEngineFrame frame)
(since 6.8) void zoomFactorChanged(qreal factor)

クラスQWebEngineProfile

(since 6.8) QWebEngineClientHints *clientHints() const
(since 6.8) QList<QWebEnginePermission> listAllPermissions() const
(since 6.8) QList<QWebEnginePermission> listPermissionsForOrigin(const QUrl &securityOrigin) const
(since 6.8) QList<QWebEnginePermission> listPermissionsForPermissionType(QWebEnginePermission::PermissionType permissionType) const
(since 6.8) QWebEngineProfile::PersistentPermissionsPolicy persistentPermissionsPolicy() const
(since 6.8) QWebEnginePermission queryPermission(const QUrl &securityOrigin, QWebEnginePermission::PermissionType permissionType) const
(since 6.8) void setPersistentPermissionsPolicy(QWebEngineProfile::PersistentPermissionsPolicy newPersistentPermissionsPolicy)

クラスQWebEngineView

(since 6.8) void printRequestedByFrame(QWebEngineFrame frame)

クラスQWidget

(since 6.8) QWidget *childAt(const QPointF &p) const

名前空間の新しい関数

(since 6.8) Qt::strong_ordering compareThreeWay(std::nullptr_t lhs, Qt::totally_ordered_wrapper<T *> rhs)
(since 6.8) Qt::strong_ordering compareThreeWay(U *lhs, Qt::totally_ordered_wrapper<T *> rhs)
(since 6.8) Qt::strong_ordering compareThreeWay(Qt::totally_ordered_wrapper<T *> lhs, std::nullptr_t rhs)
(since 6.8) Qt::strong_ordering compareThreeWay(Qt::totally_ordered_wrapper<T *> lhs, U *rhs)
(since 6.8) Qt::strong_ordering compareThreeWay(Qt::totally_ordered_wrapper<T *> lhs, Qt::totally_ordered_wrapper<U *> rhs)
(since 6.8) void failOnWarning()
(since 6.8) void setThrowOnFail(bool enable)
(since 6.8) void setThrowOnSkip(bool enable)
(since 6.8) void wheelEvent(QWindow *window, QPointF pos, QPoint angleDelta, QPoint pixelDelta, Qt::KeyboardModifiers stateKey, Qt::ScrollPhase phase)

新しいマクロ

(since 6.8) QTEST_THROW_ON_FAIL
(since 6.8) QTEST_THROW_ON_SKIP
(since 6.8) QT_ENABLE_STRICT_MODE_UP_TO
(since 6.8) QT_NO_QASCONST
(since 6.8) QT_NO_QSNPRINTF
(since 6.8) QT_NO_USE_NODISCARD_FILE_OPEN
(since 6.8) QT_USE_NODISCARD_FILE_OPEN
(since 6.8) Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT(className, QmlType)
(since 6.8) Q_DECLARE_JNI_CLASS(Type, JavaSignature)
(since 6.8) Q_DECLARE_JNI_NATIVE_METHOD(Method, JavaName)
(since 6.8) Q_DECLARE_JNI_NATIVE_METHOD(Method)
(since 6.8) Q_DECLARE_JNI_NATIVE_METHOD_IN_CURRENT_SCOPE(Method, JavaName)
(since 6.8) Q_DECLARE_JNI_NATIVE_METHOD_IN_CURRENT_SCOPE(Method)
(since 6.8) Q_JNI_NATIVE_METHOD(Method)
(since 6.8) Q_JNI_NATIVE_SCOPED_METHOD(Method, Scope)

新しい列挙型

(since 6.8) enum class BlendOp { Add, Subtract, ReverseSubtract, Min, Max }
(since 6.8) enum class Error { None, InvalidHeader, UnknownType, UnexpectedEndOfStream, InvalidFormat }
(since 6.8) enum class AnnouncementPoliteness { Polite, Assertive }
(since 6.8) enum class Attribute { Custom, Level }
(since 6.8) enum class ColorModel { Undefined, Rgb, Gray, Cmyk }
(since 6.8) enum class TransformModel { ThreeComponentMatrix, ElementListProcessing }
(since 6.8) enum class PkceMethod { S256, Plain, None }
(since 6.8) enum class OutOfBoundsPolicy { Reject, Clamp }
(since 6.8) enum class ColorModel { RGB, Grayscale, CMYK, Auto }
(since 6.8) enum class Flag { MultisampleResolve }
(since 6.8) enum class PersistentPermissionsPolicy { AskEveryTime, StoreInMemory, StoreOnDisk }
(since 6.8) enum class PersistentPermissionsPolicy { AskEveryTime, StoreInMemory, StoreOnDisk }
(since 6.8) enum class ContextMenuTrigger { Press, Release }
(since 6.8) enum class TimerId { Invalid }

新しい列挙型の値

新しい型のエイリアス

(since 6.8) const_iterator
(since 6.8) const_pointer
(since 6.8) const_reference
(since 6.8) const_reverse_iterator
(since 6.8) difference_type
(since 6.8) pointer
(since 6.8) reference
(since 6.8) size_type
(since 6.8) value_type

新しいプロパティ

新しい変数

(since 6.8) opAlpha
(since 6.8) opColor

新しいQML型

新しいQMLプロパティ

QML タイプBorderImage

(since 6.8) retainWhileLoading : bool

QMLタイプDrag

(since 6.8) imageSourceSize : size

QMLタイプGrpcChannelOptions

(since 6.8) serializationFormat : enumeration

QMLタイプHorizontalHeaderView

(since 6.8) movableColumns : bool

QMLタイプImage

(since 6.8) retainWhileLoading : bool

QMLタイプLayout

(since 6.8) useDefaultSizePolicy : enumeration

QMLタイプMediaPlayer

(since 6.8) audioBufferOutput : QAudioBufferOutput

QMLタイプMenuItem

(since 6.8) implicitTextPadding : bool
(since 6.8) textPadding : bool

QMLタイプPathText

(since 6.8) font.contextFontMerging : bool
(since 6.8) font.preferTypoLineMetrics : bool

QMLタイプPdfSearchModel

(since 6.8) count : int

QMLタイプPopup

(since 6.8) popupType : enumeration

QMLタイプPrincipledMaterial

(since 6.8) baseColorChannel : enumeration
(since 6.8) baseColorSingleChannelEnabled : bool
(since 6.8) emissiveChannel : enumeration
(since 6.8) emissiveSingleChannelEnabled : bool
(since 6.8) invertOpacityMapValue : real
(since 6.8) specularChannel : enumeration
(since 6.8) specularSingleChannelEnabled : bool
(since 6.8) vertexColorAlphaMask : enumeration
(since 6.8) vertexColorBlueMask : enumeration
(since 6.8) vertexColorGreenMask : enumeration
(since 6.8) vertexColorRedMask : enumeration
(since 6.8) vertexColorsMaskEnabled : bool

QMLタイプShapePath

(since 6.8) fillItem : Item
(since 6.8) fillTransform : matrix4x4

QMLタイプShellSurface

(since 6.8) modal : bool

QMLタイプSpecularGlossyMaterial

(since 6.8) albedoChannel : enumeration
(since 6.8) albedoSingleChannelEnabled : bool
(since 6.8) emissiveChannel : enumeration
(since 6.8) emissiveSingleChannelEnabled : bool
(since 6.8) invertOpacityMapValue : real
(since 6.8) specularChannel : enumeration
(since 6.8) specularSingleChannelEnabled : bool
(since 6.8) vertexColorAlphaMask : enumeration
(since 6.8) vertexColorBlueMask : enumeration
(since 6.8) vertexColorGreenMask : enumeration
(since 6.8) vertexColorRedMask : enumeration
(since 6.8) vertexColorsMaskEnabled : bool

QMLタイプText

(since 6.8) font.contextFontMerging : bool
(since 6.8) font.preferTypoLineMetrics : bool

QMLタイプTextEdit

(since 6.8) font.contextFontMerging : bool
(since 6.8) font.preferTypoLineMetrics : bool

QMLタイプTextInput

(since 6.8) font.contextFontMerging : bool
(since 6.8) font.preferTypoLineMetrics : bool

QMLタイプVerticalHeaderView

(since 6.8) movableRows : bool

QMLタイプWebEngineNavigationRequest

(since 6.8) hasFormData : bool

QMLタイプWebEngineProfile

(since 6.8) persistentPermissionsPolicy : enumeration

QMLタイプXdgToplevel

(since 6.8) modal : bool

QMLタイプpickResult

(since 6.8) hitType : enumeration
(since 6.8) itemHit : Item

新しいQMLシグナル

(since 6.8) columnMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)
(since 6.8) rowMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex)

新しいQMLメソッド

QML タイプTableView

(since 6.8) clearColumnReordering()
(since 6.8) clearRowReordering()
(since 6.8) moveColumn(int source, int destination)
(since 6.8) moveRow(int source, int destination)

QMLタイプView3D

(since 6.8) pickResult pick(float x, float y, Model model)
(since 6.8) List<pickResult> pickSubset(float x, float y, list<Model> models)
(since 6.8) setTouchpoint(Item target, point position, int pointId, bool pressed)

QML タイプWebEngineProfile

(since 6.8) list<webEnginePermission> listAllPermissions()
(since 6.8) list<webEnginePermission> listPermissionsForOrigin(url securityOrigin)
(since 6.8) list<webEnginePermission> listPermissionsForPermissionType(WebEnginePermission.PermissionType permissionType)
(since 6.8) void queryPermission(url securityOrigin, WebEnginePermission.PermissionType permissionType)

©2024 The Qt Company Ltd. 本書に含まれる文書の著作権は、それぞれの所有者に帰属します。 本書で提供されるドキュメントは、Free Software Foundation が発行したGNU Free Documentation License version 1.3に基づいてライセンスされています。 Qtおよびそれぞれのロゴは、フィンランドおよびその他の国におけるThe Qt Company Ltd.の 商標です。その他すべての商標は、それぞれの所有者に帰属します。