repo.or.cz
/
panucci.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
huge update to qml
[panucci.git]
/
data
/
ui
/
qml
/
PlaylistItem.qml
blob
230d2b355079bc7af3c2c463adba2aac45cf8a19
1
2
import Qt 4.7
3
4
Item {
5
id: playlistItem
6
height: config.font_size * 3
7
width: parent.width
8
signal selected()
9
10
MouseArea {
11
id: mouseArea
12
acceptedButtons: Qt.LeftButton | Qt.RightButton
13
anchors.fill: parent
14
onClicked: {
15
if (mouse.button == Qt.LeftButton) {
16
playlistItem.selected()
17
}
18
}
19
}
20
}