diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2015-06-02 13:28:29 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@digia.com> | 2015-07-15 11:51:33 +0000 |
commit | 0560828b74bb4c6b98f738feac19b378ae4c0e61 (patch) | |
tree | e805fa6b3f5ac4fa4bff43f91b1668eb2eeae88c | |
parent | b4ef5a9707f36803a664fb0bce4119ae0bacfefd (diff) | |
download | qtgraphicaleffects-0560828b74bb4c6b98f738feac19b378ae4c0e61.tar.gz qtgraphicaleffects-0560828b74bb4c6b98f738feac19b378ae4c0e61.tar.bz2 qtgraphicaleffects-0560828b74bb4c6b98f738feac19b378ae4c0e61.zip |
Doc: rearrang tables with overflow
Task-number: QTBUG-46475
Change-Id: I6f3256255089e40180af72d73b4c1d86ca505292
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
-rw-r--r-- | src/effects/ConicalGradient.qml | 65 | ||||
-rw-r--r-- | src/effects/LinearGradient.qml | 63 | ||||
-rw-r--r-- | src/effects/RadialGradient.qml | 63 |
3 files changed, 124 insertions, 67 deletions
diff --git a/src/effects/ConicalGradient.qml b/src/effects/ConicalGradient.qml index 044fd46..73710dc 100644 --- a/src/effects/ConicalGradient.qml +++ b/src/effects/ConicalGradient.qml @@ -206,41 +206,60 @@ Item { \row \li \b {gradient:} \code Gradient { - GradientStop { position: 0.000 - color: Qt.rgba(1, 0, 0, 1) } - GradientStop { position: 0.167; - color: Qt.rgba(1, 1, 0, 1) } - GradientStop { position: 0.333; - color: Qt.rgba(0, 1, 0, 1) } - GradientStop { position: 0.500; - color: Qt.rgba(0, 1, 1, 1) } - GradientStop { position: 0.667; - color: Qt.rgba(0, 0, 1, 1) } - GradientStop { position: 0.833; - color: Qt.rgba(1, 0, 1, 1) } - GradientStop { position: 1.000; - color: Qt.rgba(1, 0, 0, 1) } + GradientStop { + position: 0.000 + color: Qt.rgba(1, 0, 0, 1) + } + GradientStop { + position: 0.167 + color: Qt.rgba(1, 1, 0, 1) + } + GradientStop { + position: 0.333 + color: Qt.rgba(0, 1, 0, 1) + } + GradientStop { + position: 0.500 + color: Qt.rgba(0, 1, 1, 1) + } + GradientStop { + position: 0.667 + color: Qt.rgba(0, 0, 1, 1) + } + GradientStop { + position: 0.833 + color: Qt.rgba(1, 0, 1, 1) + } + GradientStop { + position: 1.000 + color: Qt.rgba(1, 0, 0, 1) + } } \endcode \li \b {gradient:} \code Gradient { - GradientStop { position: 0.0 - color: "#F0F0F0" + GradientStop { + position: 0.0 + color: "#F0F0F0" } - GradientStop { position: 0.5 - color: "#000000" + GradientStop { + position: 0.5 + color: "#000000" } - GradientStop { position: 1.0 - color: "#F0F0F0" + GradientStop { + position: 1.0 + color: "#F0F0F0" } } \endcode \li \b {gradient:} \code Gradient { - GradientStop { position: 0.0 - color: "#00000000" + GradientStop { + position: 0.0 + color: "#00000000" } - GradientStop { position: 1.0 + GradientStop { + position: 1.0 color: "#FF000000" } } diff --git a/src/effects/LinearGradient.qml b/src/effects/LinearGradient.qml index b9d2934..1f6a8c4 100644 --- a/src/effects/LinearGradient.qml +++ b/src/effects/LinearGradient.qml @@ -194,41 +194,60 @@ Item { \row \li \b {gradient:} \code Gradient { - GradientStop { position: 0.000 - color: Qt.rgba(1, 0, 0, 1) } - GradientStop { position: 0.167; - color: Qt.rgba(1, 1, 0, 1) } - GradientStop { position: 0.333; - color: Qt.rgba(0, 1, 0, 1) } - GradientStop { position: 0.500; - color: Qt.rgba(0, 1, 1, 1) } - GradientStop { position: 0.667; - color: Qt.rgba(0, 0, 1, 1) } - GradientStop { position: 0.833; - color: Qt.rgba(1, 0, 1, 1) } - GradientStop { position: 1.000; - color: Qt.rgba(1, 0, 0, 1) } + GradientStop { + position: 0.000 + color: Qt.rgba(1, 0, 0, 1) + } + GradientStop { + position: 0.167 + color: Qt.rgba(1, 1, 0, 1) + } + GradientStop { + position: 0.333 + color: Qt.rgba(0, 1, 0, 1) + } + GradientStop { + position: 0.500 + color: Qt.rgba(0, 1, 1, 1) + } + GradientStop { + position: 0.667 + color: Qt.rgba(0, 0, 1, 1) + } + GradientStop { + position: 0.833 + color: Qt.rgba(1, 0, 1, 1) + } + GradientStop { + position: 1.000 + color: Qt.rgba(1, 0, 0, 1) + } } \endcode \li \b {gradient:} \code Gradient { - GradientStop { position: 0.0 - color: "#F0F0F0" + GradientStop { + position: 0.0 + color: "#F0F0F0" } - GradientStop { position: 0.5 - color: "#000000" + GradientStop { + position: 0.5 + color: "#000000" } - GradientStop { position: 1.0 - color: "#F0F0F0" + GradientStop { + position: 1.0 + color: "#F0F0F0" } } \endcode \li \b {gradient:} \code Gradient { - GradientStop { position: 0.0 + GradientStop { + position: 0.0 color: "#00000000" } - GradientStop { position: 1.0 + GradientStop { + position: 1.0 color: "#FF000000" } } diff --git a/src/effects/RadialGradient.qml b/src/effects/RadialGradient.qml index afd6aff..b120f5f 100644 --- a/src/effects/RadialGradient.qml +++ b/src/effects/RadialGradient.qml @@ -265,42 +265,61 @@ Item { \row \li \b {gradient:} \code Gradient { - GradientStop { position: 0.000 - color: Qt.rgba(1, 0, 0, 1) } - GradientStop { position: 0.167; - color: Qt.rgba(1, 1, 0, 1) } - GradientStop { position: 0.333; - color: Qt.rgba(0, 1, 0, 1) } - GradientStop { position: 0.500; - color: Qt.rgba(0, 1, 1, 1) } - GradientStop { position: 0.667; - color: Qt.rgba(0, 0, 1, 1) } - GradientStop { position: 0.833; - color: Qt.rgba(1, 0, 1, 1) } - GradientStop { position: 1.000; - color: Qt.rgba(1, 0, 0, 1) } + GradientStop { + position: 0.000 + color: Qt.rgba(1, 0, 0, 1) + } + GradientStop { + position: 0.167 + color: Qt.rgba(1, 1, 0, 1) + } + GradientStop { + position: 0.333 + color: Qt.rgba(0, 1, 0, 1) + } + GradientStop { + position: 0.500 + color: Qt.rgba(0, 1, 1, 1) + } + GradientStop { + position: 0.667 + color: Qt.rgba(0, 0, 1, 1) + } + GradientStop { + position: 0.833 + color: Qt.rgba(1, 0, 1, 1) + } + GradientStop { + position: 1.000 + color: Qt.rgba(1, 0, 0, 1) + } } \endcode \li \b {gradient:} \code Gradient { - GradientStop { position: 0.0 - color: "#F0F0F0" + GradientStop { + position: 0.0 + color: "#F0F0F0" } - GradientStop { position: 0.5 - color: "#000000" + GradientStop { + position: 0.5 + color: "#000000" } - GradientStop { position: 1.0 - color: "#F0F0F0" + GradientStop { + position: 1.0 + color: "#F0F0F0" } } \endcode \li \b {gradient:} \code Gradient { - GradientStop { position: 0.0 + GradientStop { + position: 0.0 color: "#00000000" } - GradientStop { position: 1.0 + GradientStop { + position: 1.0 color: "#FF000000" } } |