Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/ListItemBase.qml
Show All 29 Lines | |||||
30 | import org.kde.plasma.private.volume 0.1 | 30 | import org.kde.plasma.private.volume 0.1 | ||
31 | 31 | | |||
32 | import "../code/icon.js" as Icon | 32 | import "../code/icon.js" as Icon | ||
33 | 33 | | |||
34 | PlasmaComponents.ListItem { | 34 | PlasmaComponents.ListItem { | ||
35 | id: item | 35 | id: item | ||
36 | 36 | | |||
37 | property alias label: textLabel.text | 37 | property alias label: textLabel.text | ||
38 | property alias labelOpacity: textLabel.opacity | ||||
38 | property alias draggable: dragArea.enabled | 39 | property alias draggable: dragArea.enabled | ||
39 | property alias icon: clientIcon.source | 40 | property alias icon: clientIcon.source | ||
40 | property string type | 41 | property string type | ||
41 | 42 | | |||
42 | checked: dropArea.containsDrag | 43 | checked: dropArea.containsDrag | ||
43 | opacity: (draggedStream && draggedStream.deviceIndex == Index) ? 0.3 : 1.0 | 44 | opacity: (draggedStream && draggedStream.deviceIndex == Index) ? 0.3 : 1.0 | ||
44 | 45 | | |||
45 | ListView.delayRemove: dragArea.dragActive | 46 | ListView.delayRemove: dragArea.dragActive | ||
▲ Show 20 Lines • Show All 327 Lines • Show Last 20 Lines |