kanagram
Go to the documentation of this file.
21 import com.nokia.meego 1.0
22 import com.nokia.extras 1.0
28 property string iconSource;
29 property string titleText;
30 property string subtitleText;
32 property string iconId;
33 property bool iconVisible:
false;
35 property bool mousePressed:
false;
51 visible: mousePressed;
52 source: theme.inverted ?
"image://theme/meegotouch-panel-inverted-background-pressed" :
"image://theme/meegotouch-panel-background-pressed";
60 anchors.verticalCenter: parent.verticalCenter;
64 source: listItem.iconSource;
68 anchors.verticalCenter: parent.verticalCenter;
72 text: listItem.titleText;
73 font.family:
"Nokia Pure Text";
74 font.weight: Font.Bold;
76 color: mousePressed ?
"#797979" :
"#ffffff";
81 text: listItem.subtitleText;
82 font.family:
"Nokia Pure Text Light";
83 font.weight: Font.Normal;
85 color: mousePressed ?
"#797979" :
"#C8C8C8";
94 function handleIconId() {
95 var prefix =
"icon-m-";
98 if (iconId.indexOf(prefix) !== 0)
99 iconId = prefix.concat(iconId).concat(theme.inverted ?
"-inverse" :
"");
101 return "image://theme/" + iconId;
104 visible: iconVisible;
105 source: handleIconId();
108 verticalCenter: parent.verticalCenter;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:35 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.