Harmattan font changes completed
[marketstoday] / src / qml / Library / MenuBar.qml
1 /*
2 @version: 0.5
3 @author: Sudheer K. <scifi1947 at gmail.com>
4 @license: GNU General Public License
5 */
6
7 import Qt 4.7
8
9 Item {
10     id: menuBar
11     signal tickersClicked
12     signal optionsClicked
13     property int itemHeight: menuBar.height
14
15     BorderImage { source: "images/toolbar.sci"; width: parent.width; height: parent.height + 14; y: -7 }
16
17     Item {
18         id: container
19         anchors.fill: parent
20
21         Row {
22             spacing: 5
23             height: 50
24             anchors.centerIn: parent
25
26             Button {
27                 id: buttonTickers
28                 text: "Add/Remove Tickers"
29                 fontSize: 18
30                 width: 200; height: parent.height
31                 onClicked: menuBar.tickersClicked()
32             }
33
34             Button {
35                 id: buttonOptions
36                 text: "Update Settings"
37                 fontSize: 18
38                 width: 200; height: parent.height
39                 onClicked: menuBar.optionsClicked()
40             }
41         }
42     }
43 }