Rewrite the canvas item's paint logic.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativefocusscope / data / qtBug13380.qml
1 import QtQuick 1.0
2
3 Rectangle {
4     width: 400; height: 400
5
6     property bool showRect: false
7     onShowRectChanged: if (showRect) rect.visible = true
8     property bool noFocus: !fs2.activeFocus
9
10     FocusScope {
11         id: fs1
12         focus: true
13     }
14     Rectangle {
15         id: rect
16         visible: false
17         FocusScope {
18             id: fs2
19             Rectangle {
20                 focus: true
21             }
22         }
23     }
24 }