diff options
author | Andreas Eliasson <andreas.eliasson@qt.io> | 2023-02-10 19:20:34 +0100 |
---|---|---|
committer | Andreas Eliasson <andreas.eliasson@qt.io> | 2023-03-07 09:24:50 +0000 |
commit | e09d1a5694fa48332831521ec3851e5bffcf8ffe (patch) | |
tree | 752cc6076db0c11014a5dab74d759f3e1c6c28f6 /src/quick | |
parent | 26446d3b7e2e85a3ee3f19078b32f50c4efaf822 (diff) |
Doc: Remove duplicate words (typos)
Pick-to: 6.5 6.4 6.2
Change-Id: Ibd29739b894598e5d7837ed5f9150e08ca07fa35
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/quick')
-rw-r--r-- | src/quick/handlers/qquickpointerhandler.cpp | 2 | ||||
-rw-r--r-- | src/quick/handlers/qquickwheelhandler.cpp | 2 | ||||
-rw-r--r-- | src/quick/items/qquickrendercontrol.cpp | 4 | ||||
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/quick/handlers/qquickpointerhandler.cpp b/src/quick/handlers/qquickpointerhandler.cpp index 81bf7de8b0..1de0a02055 100644 --- a/src/quick/handlers/qquickpointerhandler.cpp +++ b/src/quick/handlers/qquickpointerhandler.cpp @@ -414,7 +414,7 @@ bool QQuickPointerHandler::approveGrabTransition(QPointerEvent *event, const QEv \value PointerHandler.ApprovesCancellation This handler will allow its grab to be set to null. \value PointerHandler.ApprovesTakeOverByAnything - This handler gives permission for any any type of Item or Handler to take the grab. + This handler gives permission for any type of Item or Handler to take the grab. The default is \c {PointerHandler.CanTakeOverFromItems | PointerHandler.CanTakeOverFromHandlersOfDifferentType | PointerHandler.ApprovesTakeOverByAnything} diff --git a/src/quick/handlers/qquickwheelhandler.cpp b/src/quick/handlers/qquickwheelhandler.cpp index 4cc9766fd1..925e481244 100644 --- a/src/quick/handlers/qquickwheelhandler.cpp +++ b/src/quick/handlers/qquickwheelhandler.cpp @@ -524,7 +524,7 @@ QMetaProperty &QQuickWheelHandlerPrivate::targetMetaProperty() const By default, this property is set to \l{QInputDevice::DeviceType}{PointerDevice.Mouse}, so as to react only to - events events from an actual mouse wheel. + events from an actual mouse wheel. WheelHandler can be made to respond to both mouse wheel and touchpad scrolling by setting acceptedDevices to diff --git a/src/quick/items/qquickrendercontrol.cpp b/src/quick/items/qquickrendercontrol.cpp index 0575c5e5eb..5956babaf0 100644 --- a/src/quick/items/qquickrendercontrol.cpp +++ b/src/quick/items/qquickrendercontrol.cpp @@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE Management of the graphics devices, contexts, image and texture objects is up to the application. The device or context that will be used by Qt Quick must - be created before calling initialize(). The creation of the the texture object + be created before calling initialize(). The creation of the texture object can be deferred, see below. Qt 5.4 introduces the ability for QOpenGLContext to adopt existing native contexts. Together with QQuickRenderControl this makes it possible to create a QOpenGLContext that shares with an external @@ -574,7 +574,7 @@ QQuickWindow *QQuickRenderControl::window() const to the user of QQuickRenderControl to specify these points. A typical update step, including initialization of rendering into an - existing texture, could like like the following. The example snippet + existing texture, could look like the following. The example snippet assumes Direct3D 11 but the same concepts apply other graphics APIs as well. diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 360d51a5bc..3ebfa9d971 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -3136,7 +3136,7 @@ void QQuickWindow::setDefaultAlphaBuffer(bool useAlpha) buffering of resources, such as buffers, is up to the graphics API client to manage. Most commonly, a uniform buffer where the data changes between frames cannot simply change its contents when submitting a frame, given - that that frame may still be active ("in flight") when starting to record + that the frame may still be active ("in flight") when starting to record the next frame. To avoid stalling the pipeline, one way is to have multiple buffers (and memory allocations) under the hood, thus realizing at least a double buffered scheme for such resources. @@ -3493,7 +3493,7 @@ void QQuickWindow::endExternalCommands() However if you set this property, then Qt Quick will no longer wait until the \c transientParent window is shown before showing this window. If you - want to to be able to show a transient window independently of the "parent" + want to be able to show a transient window independently of the "parent" Item or Window within which it was declared, you can remove that relationship by setting \c transientParent to \c null: |