add qml-elements
[mdictionary] / src / mdictionary / qml / SearchBarWidget.qml
1 import Qt 4.7
2
3 Rectangle {
4     id: rectangle1
5     width: 500
6     height: 40
7
8     SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }
9     color : myPalette.window;
10
11     TextInput {
12         id: text_input
13         y: 10
14         width: 350
15         height: 20
16
17         color: "#000000"
18         text: "textInput"
19         anchors.left: parent.left
20         anchors.leftMargin: 15
21         font.pixelSize: 12
22
23         IconButton {
24             id: iconbutton;
25             width:20;
26             height:20;
27             anchors.right: parent.right
28             enabled: true;
29             pathToIcon: "/home/jakub/go-previous.png";
30         }
31     }
32 }