huge update to qml
[panucci.git] / data / ui / qml / FilechooserItem.qml
blob806963b432a9d4fbfc1c8b0f68e9d0a5a2530047
2 import Qt 4.7
4 Item {
5     id: filechooserItem
6     height: config.font_size * 3
7     width: parent.width
8     signal selected()
10     MouseArea {
11         id: mouseArea
12         acceptedButtons: Qt.LeftButton | Qt.RightButton
13         anchors.fill: parent
14         onClicked: {
15             if (mouse.button == Qt.LeftButton) {
16                 filechooserItem.selected()
17             }
18         }
19     }