summaryrefslogtreecommitdiffstats
path: root/examples/speech/quickspeech
diff options
context:
space:
mode:
Diffstat (limited to 'examples/speech/quickspeech')
-rw-r--r--examples/speech/quickspeech/doc/images/quickspeech-example.pngbin34979 -> 62879 bytes
-rw-r--r--examples/speech/quickspeech/doc/src/quickspeech.qdoc16
-rw-r--r--examples/speech/quickspeech/main.qml1
3 files changed, 10 insertions, 7 deletions
diff --git a/examples/speech/quickspeech/doc/images/quickspeech-example.png b/examples/speech/quickspeech/doc/images/quickspeech-example.png
index 03a2f60..68d8352 100644
--- a/examples/speech/quickspeech/doc/images/quickspeech-example.png
+++ b/examples/speech/quickspeech/doc/images/quickspeech-example.png
Binary files differ
diff --git a/examples/speech/quickspeech/doc/src/quickspeech.qdoc b/examples/speech/quickspeech/doc/src/quickspeech.qdoc
index b22d909..dda3539 100644
--- a/examples/speech/quickspeech/doc/src/quickspeech.qdoc
+++ b/examples/speech/quickspeech/doc/src/quickspeech.qdoc
@@ -2,17 +2,19 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
- \example speech/quickspeech
+ \example quickspeech
\title Quick Speech Example
\ingroup texttospeech_examples
- \brief Using text-to-speech in a Qt Quick application.
+ \brief The Quick Speech example reads out user-provided text.
- \e{Quick Speech} example demonstrates how the TextToSpeech type can be used
- from QML to read out text, as well as control the pitch, volume, and rate
- of the speech. It also lets you select a language and voice, if additional
- languages and voices are found.
+ The \e{Quick Speech} example demonstrates how the TextToSpeech type can be used
+ in a \l{Qt Quick} application to read out text, and to control the speech.
- \image hellospeak-example.png
+ The example uses \l{Qt Quick Controls} to provide controls for the pitch, volume, and
+ rate of the speech. It also lets the user select an engine, the language, and a
+ voice.
+
+ \image quickspeech-example.png
\include examples-run.qdocinc
*/
diff --git a/examples/speech/quickspeech/main.qml b/examples/speech/quickspeech/main.qml
index 209d476..9099636 100644
--- a/examples/speech/quickspeech/main.qml
+++ b/examples/speech/quickspeech/main.qml
@@ -39,6 +39,7 @@ ApplicationWindow {
ColumnLayout {
anchors.fill: parent
+ anchors.margins: 8
id: inputForm
TextArea {