summaryrefslogtreecommitdiff
path: root/doc/src/qtquick/qtquick-buttons.qdoc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-11-28 12:35:05 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2016-11-28 12:53:49 +0000
commit8399fe1416d18fe55f29ae610217a3f1eefb9f41 (patch)
tree4878491897d9c0c6aa21fb26ee820415dd4159d5 /doc/src/qtquick/qtquick-buttons.qdoc
parentbf8f998b5e2cec49a6db29016546b52c637d847e (diff)
downloadqt-creator-8399fe1416d18fe55f29ae610217a3f1eefb9f41.tar.gz
Doc: Fix ambiguous links
Use the [QML] specifier to make sure that the links lead to QML type documentation. Change-Id: I93afda14a72cdfe5e941378e332f66bdfe131352 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'doc/src/qtquick/qtquick-buttons.qdoc')
-rw-r--r--doc/src/qtquick/qtquick-buttons.qdoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/qtquick/qtquick-buttons.qdoc b/doc/src/qtquick/qtquick-buttons.qdoc
index 8fb2e66d20..c82166789f 100644
--- a/doc/src/qtquick/qtquick-buttons.qdoc
+++ b/doc/src/qtquick/qtquick-buttons.qdoc
@@ -106,8 +106,8 @@
\endlist
To create a graphical button that scales beautifully without using vector
- graphics, use the \l{BorderImage} type. For more information, see
- \l{Creating Scalable Buttons and Borders}.
+ graphics, use the \l [QML]{BorderImage}{Border Image} type. For more
+ information, see \l{Creating Scalable Buttons and Borders}.
*/
@@ -121,17 +121,17 @@
\title Creating Scalable Buttons and Borders
- You can use the
- \l{BorderImage} type to display an image, such as a PNG file, as a border
- and a background.
+ You can use the \l [QML]{BorderImage}{Border Image} type to display an
+ image, such as a PNG file, as a border and a background.
Use two border images and suitable graphics to make it look like the
button is pushed down when it is clicked. One of the border images
is visible by default. You can specify that it is hidden and the other one
becomes visible when the mouse is clicked.
- Add a \l MouseArea type that covers the whole area and emits the clicked
- signal (\c {item.clicked()}) when it detects a mouse click.
+ Add a \l [QML]{MouseArea}{Mouse Area} type that covers the whole area and
+ emits the clicked signal (\c {item.clicked()}) when it detects a mouse
+ click.
You can add text to the button and set it up as a property. The text can
then be initialized from the outside, making the button a reusable UI