diff options
author | Leena Miettinen <riitta-leena.miettinen@digia.com> | 2013-11-11 17:04:31 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@digia.com> | 2013-11-12 12:48:49 +0100 |
commit | 9509386a8d024718d4c02cac50e982606b88fb15 (patch) | |
tree | 1f2d7e2b48741174340d2a7e2bd039b4c08fd0b1 /doc/src | |
parent | 02a3945ebe042e2d6b0903f7eca6bd9fae6ed128 (diff) | |
download | qt-creator-9509386a8d024718d4c02cac50e982606b88fb15.tar.gz |
Doc: update buttons topics
Update changed field names, remove information about
an obsolete field, and make terminology more consistent.
Change-Id: I71cde2f371de5dc6e04658cc052601994fbf2aad
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/qtquick/qtquick-buttons.qdoc | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/doc/src/qtquick/qtquick-buttons.qdoc b/doc/src/qtquick/qtquick-buttons.qdoc index 211049ad5a..96c8daa911 100644 --- a/doc/src/qtquick/qtquick-buttons.qdoc +++ b/doc/src/qtquick/qtquick-buttons.qdoc @@ -70,7 +70,7 @@ \li In the \gui Text field, type \b Button. - You can select the text color in the \gui Color section and the + You can select the text color in the \gui {Text color} field and the font, size, and style in the \gui Font section. @@ -166,18 +166,18 @@ \li Click \gui {Design} to edit the file in the visual editor. \li Drag and drop two \gui {Border Image} items from the \gui Library pane - to the scene. + to the canvas. - \li Drag and drop a \gui Text item to the scene. + \li Drag and drop a \gui Text item to the canvas. - \li Drag and drop a \gui {Mouse Area} to the screen. + \li Drag and drop a \gui {Mouse Area} to the canvas. \li In the \gui Navigator pane, select \gui border_image1 to specify settings for it in the \gui Properties pane: \list a - \li Select \gui {Set Expression} in the menu next to the + \li Select \gui {Set Binding} in the menu next to the \gui Visibility check box. \li Enter the following expression to specify that the image is @@ -219,13 +219,10 @@ \li In the \gui Color field, use the color picker to select the font color, or enter a value in the field. - \li In the \gui Text field, select \gui {Set Expression} and + \li In the \gui Text field, select \gui {Set Binding} and enter a pointer to the \c {text} property that you specified earlier: \c {parent.txt}. - \li Select the \gui Smooth check box to enable smooth text - rendering. - \li In the \gui Size field, select \gui {Pixels} to specify the font size in pixels. By default, the size is specified in points. @@ -242,7 +239,7 @@ \li Click \gui Advanced to specify scaling for the text in the \gui Scale field. - \li Select \gui {Set Expression} and enter the following expression: + \li Select \gui {Set Binding} and enter the following expression: \c {if (!mousearea1.pressed) { 1 } else { 0.95 }}. \note You can enter long and complicated expressions also in the |