~maliit-team/maliit-plugin-jp/trunk

« back to all changes in this revision

Viewing changes to skeleton/mallit/qml/main.qml

  • Committer: liang
  • Date: 2011-06-24 11:40:44 UTC
  • Revision ID: git-v1:6db91b8fe00163360606392a29d23802745934e2
add meego component, look like native applicate, add fix tooltip

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
        id : palette
18
18
    }
19
19
 
20
 
    RealMouseArea {
 
20
    RootMouseArea {
21
21
        id : root
22
22
        x : 0
23
23
        y : 160
24
24
        width : 854
25
25
        height : 320
 
26
        /*Rectangle {*/
 
27
            /*anchors.fill : parent*/
 
28
            /*color : "#FF000000"*/
 
29
        /*}*/
26
30
        Keyboard {
27
31
            id : keyboard
28
32
            x : 0
34
38
    Tooltip {
35
39
        id : tooltip
36
40
    }
 
41
    RealMouseArea {
 
42
        x : root.x
 
43
        y : root.y
 
44
        width : root.width
 
45
        height : root.height
 
46
        ProxyMouseArea {
 
47
            anchors.fill : parent
 
48
            target : root
 
49
        }
 
50
    }
37
51
 
38
52
    Component.onCompleted : {
39
53
        inputmethod.setInputMethodArea( Qt.rect( root.x, root.y, root.width, root.height ) )