tests/auto/declarative/qdeclarativetextedit/data/navigation.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 
       
     3 Rectangle {
       
     4     property variant myInput: input
       
     5 
       
     6     width: 800; height: 600; color: "blue"
       
     7 
       
     8     Item { 
       
     9         id: firstItem;
       
    10         KeyNavigation.right: input
       
    11     }
       
    12 
       
    13     TextEdit { id: input; focus: true
       
    14         KeyNavigation.left: firstItem
       
    15         KeyNavigation.right: lastItem
       
    16         KeyNavigation.up: firstItem
       
    17         KeyNavigation.down: lastItem
       
    18     }
       
    19     Item {
       
    20         id: lastItem 
       
    21         KeyNavigation.left: input
       
    22     }
       
    23 }