Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/applet/CompactApplet.qml
Show All 37 Lines | 34 | location: if (plasmoid.parent && plasmoid.parent.parent.objectName == "hiddenTasksColumn" && plasmoid.location != PlasmaCore.Types.LeftEdge) { | |||
---|---|---|---|---|---|
38 | } | 38 | } | ||
39 | active: !plasmoid.expanded | 39 | active: !plasmoid.expanded | ||
40 | textFormat: plasmoid.toolTipTextFormat | 40 | textFormat: plasmoid.toolTipTextFormat | ||
41 | mainItem: plasmoid.toolTipItem ? plasmoid.toolTipItem : null | 41 | mainItem: plasmoid.toolTipItem ? plasmoid.toolTipItem : null | ||
42 | 42 | | |||
43 | property Item fullRepresentation | 43 | property Item fullRepresentation | ||
44 | property Item compactRepresentation | 44 | property Item compactRepresentation | ||
45 | 45 | | |||
46 | Connections { | ||||
47 | target: plasmoid | ||||
48 | onContextualActionsAboutToShow: appletRoot.hideToolTip() | ||||
49 | } | ||||
50 | | ||||
46 | Layout.minimumWidth: { | 51 | Layout.minimumWidth: { | ||
47 | switch (plasmoid.formFactor) { | 52 | switch (plasmoid.formFactor) { | ||
48 | case PlasmaCore.Types.Vertical: | 53 | case PlasmaCore.Types.Vertical: | ||
49 | return 0; | 54 | return 0; | ||
50 | case PlasmaCore.Types.Horizontal: | 55 | case PlasmaCore.Types.Horizontal: | ||
51 | return height; | 56 | return height; | ||
52 | default: | 57 | default: | ||
53 | return units.gridUnit * 3; | 58 | return units.gridUnit * 3; | ||
Show All 24 Lines |