Commit Graph

10 Commits

Author SHA1 Message Date
Weng Xuetian
7dd6ca01ca fix 'listItem.ListView.view' [null] is not an object warning
attached property like obj.QmlType is consider as true in qml, should
check full property obj.QmlType.property instead.
2013-01-11 20:05:25 -05:00
Aurélien Gâteau
cd453af5a8 Doxygenize ListItem 2012-12-23 22:54:39 +01:00
Sebastian Kügler
ee7255b261 Check if referenced objects are valid
This kills plus 96c8478aef two ReferenceErrors I'm seeing when using
ListItems inside VisualItemModels (in this case, there's no view and
visual parent attached on creation).

REVIEW:106937
2012-10-25 14:47:16 +02:00
Sebastian Kügler
c9bfe00345 Fix reference error when ListItem is used with VisualItemModels
The correct way to check if an object is valid is using typeof(foo).
2012-10-25 00:02:10 +02:00
Marco Martin
5f22e36cd5 don't draw the background if there is an highlight
mouseover highlight plus item backgrounds looks horrible together
2012-10-22 11:25:36 +02:00
Marco Martin
96e436f641 disable mouseOver on touch 2012-08-10 11:42:53 +02:00
Aleix Pol
86ea6dfe4c Reduce opacity of the ListItem's background decoration on hovering.
It improves the GUI feedback when using the components with a mouse.

REVIEW: 105939
2012-08-10 11:32:57 +02:00
Daker Fernandes Pinheiro
5b452bfb9a Change default value of enabled property in ListItem Plasma Component
Also adds documentation for the enabled property.

Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-27 11:17:36 -03:00
Marco Martin
1cffdbe741 more comments 2012-01-10 21:39:18 +01:00
Marco Martin
38c8915cd7 ListItem element 2011-10-31 16:42:40 +01:00