Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/items/PlasmoidItem.qml
Show All 23 Lines | 23 | AbstractItem { | |||
---|---|---|---|---|---|
24 | id: plasmoidContainer | 24 | id: plasmoidContainer | ||
25 | 25 | | |||
26 | property Item applet: model.applet || null | 26 | property Item applet: model.applet || null | ||
27 | text: applet ? applet.title : "" | 27 | text: applet ? applet.title : "" | ||
28 | 28 | | |||
29 | itemId: applet ? applet.pluginName : "" | 29 | itemId: applet ? applet.pluginName : "" | ||
30 | mainText: applet ? applet.toolTipMainText : "" | 30 | mainText: applet ? applet.toolTipMainText : "" | ||
31 | subText: applet ? applet.toolTipSubText : "" | 31 | subText: applet ? applet.toolTipSubText : "" | ||
32 | icon: applet ? applet.icon : "" | | |||
33 | mainItem: applet && applet.toolTipItem ? applet.toolTipItem : null | 32 | mainItem: applet && applet.toolTipItem ? applet.toolTipItem : null | ||
34 | textFormat: applet ? applet.toolTipTextFormat : "" | 33 | textFormat: applet ? applet.toolTipTextFormat : "" | ||
35 | active: root.activeApplet !== applet | 34 | active: root.activeApplet !== applet | ||
36 | 35 | | |||
37 | onClicked: { | 36 | onClicked: { | ||
38 | if (applet && mouse.button === Qt.LeftButton) { | 37 | if (applet && mouse.button === Qt.LeftButton) { | ||
39 | applet.expanded = true; | 38 | applet.expanded = true; | ||
40 | } | 39 | } | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |