diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-19 06:34:44 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-19 08:15:20 (GMT) |
commit | 21e87b18698c50bcfe0800509563e71c79aae0bb (patch) | |
tree | 4567cb8a5bd3127fe98d7ce5a5042550bca48b7b /doc/src/declarative/focus.qdoc | |
parent | 51555ed45f6397fa7cdfae771ee6275733bce615 (diff) | |
download | Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2 |
Renaming Rect -> Rectangle
Diffstat (limited to 'doc/src/declarative/focus.qdoc')
-rw-r--r-- | doc/src/declarative/focus.qdoc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/src/declarative/focus.qdoc b/doc/src/declarative/focus.qdoc index 60311da..5c53483 100644 --- a/doc/src/declarative/focus.qdoc +++ b/doc/src/declarative/focus.qdoc @@ -23,7 +23,7 @@ If the \c {Rect} element in the following example has active focus and the \e A Item { KeyActions { keyA: "print('Key A was pressed')" - Rect {} + Rectangle {} } } \endcode @@ -56,7 +56,7 @@ the \c {KeyActions} element has \e {active focus} and pressing the \table \row \o \code - Rect { + Rectangle { color: "lightsteelblue"; width: 240; height: 25 Text { id: MyText } KeyActions { @@ -81,16 +81,16 @@ reponds accordingly. \table \row \o \code -Rect { +Rectangle { color: "red"; width: 240; height: 55 MyWidget {} MyWidget { y: 30; focus: true } } \endcode \o \code -Rect { +Rectangle { color: "red"; width: 240; height: 55 - Rect { + Rectangle { color: "lightsteelblue"; width: 240; height: 25 Text { id: MyText } KeyActions { @@ -100,7 +100,7 @@ Rect { keyC: "MyText.text = 'Key C was pressed'" } } - Rect { + Rectangle { y: 30; focus: true color: "lightsteelblue"; width: 240; height: 25 Text { id: MyText } @@ -147,7 +147,7 @@ result shown. \o \code FocusScope { width: 240; height: 25 - Rect { + Rectangle { color: "lightsteelblue"; width: 240; height: 25 Text { id: MyText } KeyActions { @@ -178,7 +178,7 @@ then on clicking the either one gives it focus. \table \row \o \code -Rect { +Rectangle { color: "red"; width: 240; height: 55 MyClickableWidget {} MyClickableWidget { y: 30; focus: true } @@ -217,7 +217,7 @@ print the name of the current list item. \table \row \o \code -Rect { +Rectangle { color: "lightsteelblue"; width: 240; height: 320 ListView { |