diff options
author | Topi Reinio <topi.reinio@qt.io> | 2017-07-11 14:09:48 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-08-29 09:54:41 +0000 |
commit | 2baea9d0c3dcaff258b48dec7633105d6294a75e (patch) | |
tree | dc3c5bbcae336974fea2e03a7794872369cbf9f8 /src/quick/items | |
parent | 194b0c303245f3422a9c3651ce82909d79c913b4 (diff) |
Doc: Fix capitalization in section titles
...and fix some section titles to be less confusing.
Change-Id: If83c3faffead9e2e9be7fc0fb360f1c5b8b1bb51
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
Diffstat (limited to 'src/quick/items')
-rw-r--r-- | src/quick/items/qquickitemviewtransition.cpp | 12 | ||||
-rw-r--r-- | src/quick/items/qquickshadereffect.cpp | 2 | ||||
-rw-r--r-- | src/quick/items/qquickwindow.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/quick/items/qquickitemviewtransition.cpp b/src/quick/items/qquickitemviewtransition.cpp index 04d93937eb..745e5b275f 100644 --- a/src/quick/items/qquickitemviewtransition.cpp +++ b/src/quick/items/qquickitemviewtransition.cpp @@ -639,7 +639,7 @@ QQuickViewTransitionAttached::QQuickViewTransitionAttached(QObject *parent) attached property can be used to augment view transitions. - \section2 View transitions: a simple example + \section2 View Transitions: a Simple Example Here is a basic example of the use of view transitions. The view below specifies transitions for the \c add and \c displaced properties, which will be run when items are added to the view: @@ -668,7 +668,7 @@ QQuickViewTransitionAttached::QQuickViewTransitionAttached(QObject *parent) are some examples of how this can be achieved. - \section2 Using the ViewTransition attached property + \section2 Using the ViewTransition Attached Property As stated, the various ViewTransition properties provide details specific to the individual item being transitioned as well as the operation that triggered the transition. In the animation above, @@ -719,7 +719,7 @@ QQuickViewTransitionAttached::QQuickViewTransitionAttached(QObject *parent) that is triggered by a particular add operation. - \section3 Delaying animations based on index + \section3 Delaying Animations Based on Index Since each view transition is run once for each item affected by the transition, the ViewTransition properties can be used within a transition to define custom behavior for each item's transition. @@ -738,7 +738,7 @@ QQuickViewTransitionAttached::QQuickViewTransitionAttached(QObject *parent) \image viewtransitions-delayedbyindex.gif - \section3 Animating items to intermediate positions + \section3 Animating Items to Intermediate Positions The ViewTransition.item property gives a reference to the item to which the transition is being applied. This can be used to access any of the item's attributes, custom \c property values, @@ -775,7 +775,7 @@ QQuickViewTransitionAttached::QQuickViewTransitionAttached(QObject *parent) \image viewtransitions-pathanim.gif - \section2 Handling interrupted animations + \section2 Handling Interrupted Animations A view transition may be interrupted at any time if a different view transition needs to be applied while the original transition is in progress. For example, say Item A is inserted at index 0 @@ -819,7 +819,7 @@ QQuickViewTransitionAttached::QQuickViewTransitionAttached(QObject *parent) properties. - \section2 Restrictions regarding ScriptAction + \section2 Restrictions Regarding ScriptAction When a view transition is initialized, any property bindings that refer to the ViewTransition attached property are evaluated in preparation for the transition. Due to the nature of the diff --git a/src/quick/items/qquickshadereffect.cpp b/src/quick/items/qquickshadereffect.cpp index a41e9324f3..8f0866f417 100644 --- a/src/quick/items/qquickshadereffect.cpp +++ b/src/quick/items/qquickshadereffect.cpp @@ -475,7 +475,7 @@ QT_BEGIN_NAMESPACE \li \snippet qml/opacitymask.qml 1 \endtable - \section1 Other notes + \section1 Other Notes By default, the ShaderEffect consists of four vertices, one for each corner. For non-linear vertex transformations, like page curl, you can diff --git a/src/quick/items/qquickwindow.cpp b/src/quick/items/qquickwindow.cpp index 07b3d538e5..b58caa061a 100644 --- a/src/quick/items/qquickwindow.cpp +++ b/src/quick/items/qquickwindow.cpp @@ -1226,7 +1226,7 @@ void QQuickWindowPrivate::cleanup(QSGNode *n) \note All classes with QSG prefix should be used solely on the scene graph's rendering thread. See \l {Scene Graph and Rendering} for more information. - \section2 Context and surface formats + \section2 Context and Surface Formats While it is possible to specify a QSurfaceFormat for every QQuickWindow by calling the member function setFormat(), windows may also be created from |