dashboard + few tipitem fix + shortcuts

This commit is contained in:
marcin
2014-07-09 16:18:48 +02:00
parent 202da4caf9
commit 92c594ca8c
24 changed files with 494 additions and 39 deletions

View File

@@ -5,6 +5,7 @@ Item {
property string shadowColor
property string pressedColor
property string releasedColor
property string icon: ""
property string textColor: "#FFFFFF"
property alias text: label.text
signal clicked()
@@ -36,6 +37,13 @@ Item {
elide: Text.ElideRight
font.pixelSize: 12
color: parent.textColor
visible: parent.icon === ""
}
Image {
anchors.centerIn: parent
visible: parent.icon !== ""
source: parent.icon
}
MouseArea {