Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/ContextMenu.qml
Show All 36 Lines | 30 | PlasmaComponents.ContextMenu { | |||
---|---|---|---|---|---|
37 | 37 | | |||
38 | property bool showAllPlaces: false | 38 | property bool showAllPlaces: false | ||
39 | 39 | | |||
40 | placement: { | 40 | placement: { | ||
41 | if (plasmoid.location == PlasmaCore.Types.LeftEdge) { | 41 | if (plasmoid.location == PlasmaCore.Types.LeftEdge) { | ||
42 | return PlasmaCore.Types.RightPosedTopAlignedPopup; | 42 | return PlasmaCore.Types.RightPosedTopAlignedPopup; | ||
43 | } else if (plasmoid.location == PlasmaCore.Types.TopEdge) { | 43 | } else if (plasmoid.location == PlasmaCore.Types.TopEdge) { | ||
44 | return PlasmaCore.Types.BottomPosedLeftAlignedPopup; | 44 | return PlasmaCore.Types.BottomPosedLeftAlignedPopup; | ||
45 | } else if (plasmoid.location == PlasmaCore.Types.RightEdge) { | ||||
46 | return PlasmaCore.Types.LeftPosedTopAlignedPopup; | ||||
45 | } else { | 47 | } else { | ||
46 | return PlasmaCore.Types.TopPosedLeftAlignedPopup; | 48 | return PlasmaCore.Types.TopPosedLeftAlignedPopup; | ||
47 | } | 49 | } | ||
48 | } | 50 | } | ||
49 | 51 | | |||
50 | minimumWidth: visualParent.width | 52 | minimumWidth: visualParent.width | ||
51 | 53 | | |||
52 | onStatusChanged: { | 54 | onStatusChanged: { | ||
▲ Show 20 Lines • Show All 610 Lines • Show Last 20 Lines |