summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@digia.com>2015-06-02 13:28:29 +0200
committerNico Vertriest <nico.vertriest@digia.com>2015-07-15 11:51:33 +0000
commit0560828b74bb4c6b98f738feac19b378ae4c0e61 (patch)
treee805fa6b3f5ac4fa4bff43f91b1668eb2eeae88c /src
parentb4ef5a9707f36803a664fb0bce4119ae0bacfefd (diff)
downloadqtgraphicaleffects-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>
Diffstat (limited to 'src')
-rw-r--r--src/effects/ConicalGradient.qml65
-rw-r--r--src/effects/LinearGradient.qml63
-rw-r--r--src/effects/RadialGradient.qml63
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"
}
}