2 import com.nokia.meego 1.0
3 import com.nokia.extras 1.0
5 import "UIConstants.js" as UIConstants
6 import "ExtrasConstants.js" as ExtrasConstants
16 visible: mouseArea.pressed
17 source: theme.inverted ? 'image://theme/meegotouch-list-inverted-background-pressed-vertical-center': 'image://theme/meegotouch-list-background-pressed-vertical-center'
22 visible: selector.selectedIndex == index
23 source: theme.inverted ? 'image://theme/meegotouch-list-inverted-background-selected-vertical-center': 'image://theme/meegotouch-list-background-selected-vertical-center'
28 anchors.margins: UIConstants.DEFAULT_MARGIN
32 verticalCenter: parent.center
38 elide: Text.ElideRight
41 font.pixelSize: UIConstants.FONT_DEFAULT
42 font.family: ExtrasConstants.FONT_FAMILY
46 (selector.selectedIndex == index) ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
48 (selector.selectedIndex != index) ? UIConstants.COLOR_FOREGROUND : UIConstants.COLOR_INVERTED_FOREGROUND
57 onClicked: selector.selectedIndex = index