Qt 6.6 の新しいクラスと関数
このページでは、Qt 6.6 で導入されたすべての新しいクラスと関数の包括的なリストを提供します。
- 新しい名前空間
- 新しいクラス
- 新しいメンバ関数
- 名前空間内の新しい関数
- 新しいグローバル関数
- 新しいマクロ
- 新しい列挙型
- 新しい列挙型の値
- 新しい型のエイリアス
- 新しいプロパティ
- 新しいQML型
- 新しい QML プロパティ
- 新しい QML シグナル
- 新しい QML メソッド
新しい名前空間
(since 6.6) namespace | QWebEngineGlobalSettings |
新しいクラス
- A
- Any (QtProtobuf)
- R
- QRhi
- QRhiBuffer
- QRhiColorAttachment
- QRhiCommandBuffer
- QRhiComputePipeline
- QRhiD3D11InitParams
- QRhiD3D11NativeHandles
- QRhiDepthStencilClearValue
- QRhiDriverInfo
- QRhiGles2InitParams
- QRhiGles2NativeHandles
- QRhiGraphicsPipeline
- QRhiInitParams
- QRhiMetalCommandBufferNativeHandles
- QRhiMetalInitParams
- QRhiMetalNativeHandles
- QRhiNativeHandles
- QRhiNullInitParams
- QRhiNullNativeHandles
- QRhiReadbackDescription
- QRhiReadbackResult
- QRhiRenderBuffer
- QRhiRenderPassDescriptor
- QRhiRenderTarget
- QRhiResource
- QRhiResourceUpdateBatch
- QRhiSampler
- QRhiScissor
- QRhiShaderResourceBinding
- QRhiShaderResourceBindings
- QRhiShaderStage
- QRhiStats
- QRhiSwapChain
- QRhiSwapChainHdrInfo
- QRhiSwapChainProxyData
- QRhiSwapChainRenderTarget
- QRhiTexture
- QRhiTextureCopyDescription
- QRhiTextureRenderTarget
- QRhiTextureRenderTargetDescription
- QRhiTextureSubresourceUploadDescription
- QRhiTextureUploadDescription
- QRhiTextureUploadEntry
- QRhiVertexInputAttribute
- QRhiVertexInputBinding
- QRhiVertexInputLayout
- QRhiViewport
- QRhiVulkanCommandBufferNativeHandles
- QRhiVulkanInitParams
- QRhiVulkanNativeHandles
- QRhiVulkanRenderPassNativeHandles
新しいメンバー関数
クラスQAbstractOAuthReplyHandler :
(since 6.6) void | tokenRequestErrorOccurred(QAbstractOAuth::Error error, const QString &errorString) |
(since 6.6) size_t | qHash(const QBluetoothAddress &key, size_t seed) |
(since 6.6) QBluetoothPermission::CommunicationModes | communicationModes() const |
(since 6.6) void | setCommunicationModes(QBluetoothPermission::CommunicationModes modes) |
(since 6.6) QBluetoothUuid | fromCBUUID(CBUUID *cbUuid) |
(since 6.6) CBUUID * | toCBUUID() const |
クラスQByteArray
(since 6.6) QByteArray & | assign(QByteArrayView v) |
(since 6.6) QByteArray & | assign(InputIterator first, InputIterator last) |
(since 6.6) QByteArray & | assign(qsizetype n, char c) |
クラスQDebug
(since 6.6) QDebug & | operator<<(std::chrono::duration<Rep, Period> duration) |
クラスQDnsLookup
(since 6.6) void | setNameserver(const QHostAddress &nameserver, quint16 port) |
(since 6.6) QElapsedTimer::Duration | durationElapsed() const |
(since 6.6) QElapsedTimer::Duration | durationTo(const QElapsedTimer &other) const |
クラスQFileInfo
(since 6.6) QDateTime | birthTime(const QTimeZone &tz) const |
(since 6.6) QDateTime | fileTime(QFileDevice::FileTime time, const QTimeZone &tz) const |
(since 6.6) std::filesystem::path | filesystemReadSymLink() const |
(since 6.6) QDateTime | lastModified(const QTimeZone &tz) const |
(since 6.6) QDateTime | lastRead(const QTimeZone &tz) const |
(since 6.6) QDateTime | metadataChangeTime(const QTimeZone &tz) const |
(since 6.6) QString | readSymLink() const |
(since 6.6) QDateTime | lastModified(const QModelIndex &index, const QTimeZone &tz) const |
クラスQHostAddress
(since 6.6) bool | isPrivateUse() const |
(since 6.6) const void * | constData() const |
(since 6.6) void * | data() |
(since 6.6) const void * | data() const |
(since 6.6) QMetaType | metaType() const |
(since 6.6) QJSPrimitiveValue | to() const |
クラスQList
(since 6.6) QList<T> & | assign(std::initializer_list<T> l) |
(since 6.6) QList<T> & | assign(InputIterator first, InputIterator last) |
(since 6.6) QList<T> & | assign(qsizetype n, QList<T>::parameter_type t) |
(since 6.6) QMessageAuthenticationCode & | operator=(QMessageAuthenticationCode &&other) |
(since 6.6) QByteArrayView | resultView() const |
(since 6.6) void | swap(QMessageAuthenticationCode &other) |
クラスQMessageBox
(since 6.6) void | setOption(QMessageBox::Option option, bool on) |
(since 6.6) bool | testOption(QMessageBox::Option option) const |
クラスQMetaEnum
(since 6.6) QMetaType | metaType() const |
(since 6.6) bool | write(QObject *object, QVariant &&v) const |
(since 6.6) bool | writeOnGadget(void *gadget, QVariant &&value) const |
クラスQMetaType
(since 6.6) QMetaType | underlyingType() const |
クラスQMutex
(since 6.6) bool | tryLock(QDeadlineTimer timer) |
(since 6.6) QSGTexture * | fromNative(void *texture, int resourceState, QQuickWindow *window, const QSize &size, QQuickWindow::CreateTextureOptions options) |
(since 6.6) bool | qAreNtfsPermissionChecksEnabled() |
(since 6.6) bool | qDisableNtfsPermissionChecks() |
(since 6.6) bool | qEnableNtfsPermissionChecks() |
クラスQObject
(since 6.6) bool | setProperty(const char *name, QVariant &&value) |
クラスQOpcUaClient
(since 6.6) QOpcUaConnectionSettings | connectionSettings() const |
(since 6.6) void | setConnectionSettings(const QOpcUaConnectionSettings &connectionSettings) |
クラスQPalette
(since 6.6) const QBrush & | accent() const |
(since 6.6) bool | operator==(const QPalette &p) const |
クラスQPdfDocument
(since 6.6) int | pageIndexForLabel(const QString &label) |
クラスQPointer
(since 6.6) QPointer<T> & | operator=(const QPointer<X> &other) |
クラスQProcess
(since 6.6) void | setUnixProcessParameters(const QProcess::UnixProcessParameters ¶ms) |
(since 6.6) void | setUnixProcessParameters(QProcess::UnixProcessFlags flagsOnly) |
(since 6.6) QProcess::UnixProcessParameters | unixProcessParameters() const |
クラスQPromise
(since 6.6) bool | addResults(const QList<T> &results) |
(since 6.6) bool | emplaceResult(Args &&... args) |
(since 6.6) bool | emplaceResultAt(int index, Args &&... args) |
(since 6.6) bool | setProperty(QAnyStringView propertyName, QVariant &&value) |
クラスQQmlEngine
(since 6.6) void | markCurrentFunctionAsTranslationBinding() |
(since 6.6) void | addTargetAttribute(quint32 targetId, QQuick3DGeometry::Attribute::Semantic semantic, int offset, int stride) |
(since 6.6) void | addTargetAttribute(const QQuick3DGeometry::TargetAttribute &attribute) |
(since 6.6) void | setTargetData(const QByteArray &data) |
(since 6.6) void | setTargetData(int offset, const QByteArray &data) |
(since 6.6) QQuick3DGeometry::TargetAttribute | targetAttribute(int index) const |
(since 6.6) int | targetAttributeCount() const |
(since 6.6) QByteArray | targetData() const |
クラスQQuickGraphicsConfiguration :
(since 6.6) void | setTimestamps(bool enable) |
(since 6.6) bool | timestampsEnabled() const |
クラスQQuickGraphicsDevice :
(since 6.6) QQuickGraphicsDevice | fromRhi(QRhi *rhi) |
(since 6.6) QRhiCommandBuffer * | commandBuffer() const |
(since 6.6) QRhi * | rhi() const |
(since 6.6) QQuickRenderTarget | fromD3D12Texture(void *texture, int resourceState, uint format, const QSize &pixelSize, int sampleCount) |
(since 6.6) QQuickRenderTarget | fromRhiRenderTarget(QRhiRenderTarget *renderTarget) |
クラスQQuickWindow
(since 6.6) QSGTexture * | createTextureFromRhiTexture(QRhiTexture *texture, QQuickWindow::CreateTextureOptions options) const |
(since 6.6) QRhi * | rhi() const |
(since 6.6) QRhiSwapChain * | swapChain() const |
(since 6.6) bool | tryLockForRead(QDeadlineTimer timeout) |
(since 6.6) bool | tryLockForWrite(QDeadlineTimer timeout) |
(since 6.6) bool | tryLock(QDeadlineTimer timeout) |
(since 6.6) QRhiCommandBuffer * | commandBuffer() const |
(since 6.6) QRhiRenderTarget * | renderTarget() const |
クラスQSemaphore
(since 6.6) bool | tryAcquire(int n, QDeadlineTimer timer) |
(since 6.6) QNativeIpcKey | nativeIpcKey() const |
(since 6.6) void | setNativeKey(const QNativeIpcKey &key) |
クラスQSignalSpy
(since 6.6) bool | wait(std::chrono::milliseconds timeout) |
クラスQSqlField
(since 6.6) void | swap(QSqlField &other) |
クラスQSqlIndex
(since 6.6) QSqlIndex & | operator=(QSqlIndex &&other) |
クラスQSqlQuery
(since 6.6) QString | boundValueName(int pos) const |
(since 6.6) QStringList | boundValueNames() const |
クラスQSqlRecord
クラスQString
(since 6.6) QString & | assign(QAnyStringView v) |
(since 6.6) QString & | assign(InputIterator first, InputIterator last) |
(since 6.6) QString & | assign(qsizetype n, QChar c) |
(since 6.6) QString | fromEcmaString(emscripten::val jsString) |
(since 6.6) emscripten::val | toEcmaString() const |
(since 6.6) char16_t * | appendToBuffer(char16_t *out, QByteArrayView in) |
(since 6.6) void | aboutToSynthesize(qsizetype id) |
(since 6.6) qsizetype | enqueue(const QString &utterance) |
(since 6.6) QList<QVoice> | findVoices(Args &&... args) const |
(since 6.6) void | sayingWord(const QString &word, qsizetype id, qsizetype start, qsizetype length) |
(since 6.6) void | synthesize(const QString &text, Functor &&functor) |
(since 6.6) void | synthesize(const QString &text, const QObject *context, Functor &&functor) |
クラスQThread
(since 6.6) void | sleep(std::chrono::nanoseconds nsecs) |
クラスQUuid
(since 6.6) QUuid | fromBytes(const void *bytes, QSysInfo::Endian order) |
(since 6.6) QUuid | fromUInt128(quint128 uuid, QSysInfo::Endian order) |
(since 6.6) QUuid::Id128Bytes | toBytes(QSysInfo::Endian order) const |
(since 6.6) quint128 | toUInt128(QSysInfo::Endian order) const |
クラスId128Bytes
(since 6.6) QUuid::Id128Bytes | qFromBigEndian(QUuid::Id128Bytes src) |
(since 6.6) QUuid::Id128Bytes | qFromLittleEndian(QUuid::Id128Bytes src) |
(since 6.6) QUuid::Id128Bytes | qToBigEndian(QUuid::Id128Bytes src) |
(since 6.6) QUuid::Id128Bytes | qToLittleEndian(QUuid::Id128Bytes src) |
(since 6.6) QVarLengthArray<T, Prealloc> & | assign(std::initializer_list<T> list) |
(since 6.6) QVarLengthArray<T, Prealloc> & | assign(InputIterator first, InputIterator last) |
(since 6.6) QVarLengthArray<T, Prealloc> & | assign(qsizetype n, const T &t) |
クラスQVariant
(since 6.6) T & | emplace(Args &&... args) |
(since 6.6) T & | emplace(std::initializer_list<U> list, Args &&... args) |
(since 6.6) QVariant | fromStdVariant(std::variant<Types...> &&value) |
(since 6.6) QVariant | fromValue(T &&value) |
(since 6.6) T & | get(QVariant &v) |
(since 6.6) T && | get(QVariant &&v) |
(since 6.6) const T & | get(const QVariant &v) |
(since 6.6) const T && | get(const QVariant &&v) |
(since 6.6) T * | get_if(QVariant *v) |
(since 6.6) const T * | get_if(const QVariant *v) |
(since 6.6) QString | devToolsId() const |
(since 6.6) void | setAdditionalResponseHeaders(const QMultiMap<QByteArray, QByteArray> &additionalResponseHeaders) const |
クラスQWebSocket
(since 6.6) void | authenticationRequired(QAuthenticator *authenticator) |
クラスQWidget
(since 6.6) void | setTabOrder(std::initializer_list<QWidget *> widgets) |
クラスQXmlStreamReader :
(since 6.6) bool | hasStandaloneDeclaration() const |
名前空間内の新関数
(since 6.6) QFuture<ValueType> | makeReadyRangeFuture(std::initializer_list<ValueType> values) |
(since 6.6) QFuture<QtFuture::ContainedType<Container>> | makeReadyRangeFuture(Container &&container) |
(since 6.6) QFuture<std::decay_t<T>> | makeReadyValueFuture(T &&value) |
(since 6.6) QFuture<void> | makeReadyVoidFuture() |
新しいグローバル関数
(since 6.6) QString | qWebEngineGetDomainAndRegistry(const QUrl &url) |
新しいマクロ
(since 6.6) | QT_NO_QEXCHANGE |
(since 6.6) | QT_SUPPORTS_INT128 |
(since 6.6) qint128 | Q_INT128_C(literal) |
(since 6.6) | Q_INT128_MAX |
(since 6.6) | Q_INT128_MIN |
(since 6.6) | Q_NODISCARD_CTOR |
(since 6.6) quint128 | Q_UINT128_C(literal) |
(since 6.6) | Q_UINT128_MAX |
新しい列挙型
(since 6.6) enum | CommunicationMode { Access, Advertise, Default } |
(since 6.6) enum class | ReferenceSurface { Map, Globe } |
(since 6.6) enum class | Option { DontUseNativeDialog } |
(since 6.6) enum class | UnixProcessFlag { ResetSignalHandlers, IgnoreSigPipe, CloseFileDescriptors, UseVFork, CreateNewSession, …, ResetIds } |
(since 6.6) enum class | Capability { None, Speak, PauseResume, WordByWordProgress, Synthesize } |
新しい列挙型の値
enum value | BoundaryHint::Utterance |
enum value | ColorRole::Accent |
enum value | Flag::FetchApiAllowed |
enum value | GraphicsApi::Direct3D12 |
enum value | Language::Baluchi |
enum value | Language::Ligurian |
enum value | Language::Rohingya |
enum value | Language::Torwali |
enum value | Property::ListStart |
enum value | RelationFlag::Described |
enum value | RelationFlag::DescriptionFor |
enum value | RelationFlag::FlowsFrom |
enum value | RelationFlag::FlowsTo |
enum value | Resource::GraphicsQueueFamilyIndexResource |
enum value | Resource::GraphicsQueueIndexResource |
enum value | Script::HanifiScript |
enum value | TabPosition::Moving |
enum value | Type::DevicePixelRatioChange |
enum value | WebAction::ChangeTextDirectionLTR |
enum value | WebAction::ChangeTextDirectionRTL |
enum value | WildcardConversionOption::NonPathWildcardConversion |
新しい型のエイリアス
新しいプロパティ
|
|
新しいQML型
新しいQMLプロパティ
QML型CaptureSession :
(since 6.6) | windowCapture : WindowCapture |
QMLタイプCharacterController :
(since 6.6) | enableShapeHitCallback : bool |
QMLタイプColorGroup :
(since 6.6) | accent : color |
QMLタイプDial :
(since 6.6) | endAngle : real |
(since 6.6) | startAngle : real |
QMLタイプMediaRecorder :
(since 6.6) | audioBitRate : int |
(since 6.6) | audioChannelCount : int |
(since 6.6) | audioSampleRate : int |
(since 6.6) | encodingMode : enumeration |
(since 6.6) | videoBitRate : int |
(since 6.6) | videoFrameRate : real |
(since 6.6) | videoResolution : Size |
QMLタイプPath :
(since 6.6) | simplify : bool |
QMLタイプPathText :
(since 6.6) | font.features : object |
QMLタイプRenderStats :
(since 6.6) | lastCompletedGpuTime : float |
QMLタイプScrollView :
(since 6.6) | effectiveScrollBarHeight : real |
(since 6.6) | effectiveScrollBarWidth : real |
QMLタイプShape :
(since 6.6) | boundingRect : rect |
(since 6.6) | preferredRendererType : enumeration |
QMLタイプSpinBox :
(since 6.6) | live : bool |
QMLタイプTableView :
(since 6.6) | selectionMode : enumeration |
QMLタイプText :
(since 6.6) | font.features : object |
QMLタイプTextEdit :
(since 6.6) | font.features : object |
QMLタイプTextInput :
(since 6.6) | font.features : object |
QMLタイプTextToSpeech :
(since 6.6) | engineCapabilities : enumeration |
QMLタイプTreeView :
(since 6.6) | rootIndex : QModelIndex |
QMLタイプXMLHttpRequest :
(since 6.6) | responseURL : string |
QMLタイプvoice :
(since 6.6) | language : enumerator |
新しいQMLシグナル
(since 6.6) | aboutToSynthesize(number id) |
(since 6.6) | sayingWord(string word, int id, int start, int length) |
(since 6.6) | shapeHit(PhysicsNode *body, vector3D position, vector3D impulse, vector3D normal) |
(since 6.6) | wrapped(Dial.WrapDirection direction) |
新しいQMLメソッド
QMLタイプTextToSpeech :
(since 6.6) | enqueue(string utterance) |
(since 6.6) list<voice> | findVoices(map criteria) |
QML タイプXMLHttpRequest :
(since 6.6) void | overrideMimeType(mime) |
本ドキュメントに含まれる文書の著作権は、それぞれの所有者に帰属します。 本書で提供されるドキュメントは、Free Software Foundation が発行したGNU Free Documentation License version 1.3に基づいてライセンスされています。 Qtおよびそれぞれのロゴは、フィンランドおよびその他の国におけるThe Qt Company Ltd.の 商標です。その他すべての商標は、それぞれの所有者に帰属します。