Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/items/AbstractItem.qml
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 25 | PlasmaCore.ToolTipArea { | |||
---|---|---|---|---|---|
48 | 48 | | |||
49 | 49 | | |||
50 | /* subclasses need to assign to this tiiltip properties | 50 | /* subclasses need to assign to this tiiltip properties | ||
51 | mainText: | 51 | mainText: | ||
52 | subText: | 52 | subText: | ||
53 | icon: | 53 | icon: | ||
54 | */ | 54 | */ | ||
55 | 55 | | |||
56 | location: if (abstractItem.parent && abstractItem.parent.objectName == "hiddenTasksColumn") { | 56 | location: if (abstractItem.parent && abstractItem.parent.objectName == "hiddenTasksColumn" && plasmoid.location != PlasmaCore.Types.LeftEdge) { | ||
57 | return PlasmaCore.Types.RightEdge; | 57 | return PlasmaCore.Types.RightEdge; | ||
58 | } else { | 58 | } else { | ||
59 | return abstractItem.location; | 59 | return plasmoid.location; | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | //BEGIN CONNECTIONS | 62 | //BEGIN CONNECTIONS | ||
63 | 63 | | |||
64 | onStatusChanged: updateItemVisibility(abstractItem); | 64 | onStatusChanged: updateItemVisibility(abstractItem); | ||
65 | 65 | | |||
66 | onContainsMouseChanged: { | 66 | onContainsMouseChanged: { | ||
67 | if (hidden && containsMouse) { | 67 | if (hidden && containsMouse) { | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |