Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/applet/CompactApplet.qml
Show All 38 Lines | 26 | PlasmaCore.ToolTipArea { | |||
---|---|---|---|---|---|
39 | textFormat: plasmoid.toolTipTextFormat | 39 | textFormat: plasmoid.toolTipTextFormat | ||
40 | mainItem: plasmoid.toolTipItem ? plasmoid.toolTipItem : null | 40 | mainItem: plasmoid.toolTipItem ? plasmoid.toolTipItem : null | ||
41 | 41 | | |||
42 | property Item fullRepresentation | 42 | property Item fullRepresentation | ||
43 | property Item compactRepresentation | 43 | property Item compactRepresentation | ||
44 | 44 | | |||
45 | Connections { | 45 | Connections { | ||
46 | target: plasmoid | 46 | target: plasmoid | ||
47 | onContextualActionsAboutToShow: appletRoot.hideToolTip() | 47 | function onContextualActionsAboutToShow() { | ||
48 | appletRoot.hideToolTip() | ||||
49 | } | ||||
48 | } | 50 | } | ||
49 | 51 | | |||
50 | Layout.minimumWidth: { | 52 | Layout.minimumWidth: { | ||
51 | switch (plasmoid.formFactor) { | 53 | switch (plasmoid.formFactor) { | ||
52 | case PlasmaCore.Types.Vertical: | 54 | case PlasmaCore.Types.Vertical: | ||
53 | return 0; | 55 | return 0; | ||
54 | case PlasmaCore.Types.Horizontal: | 56 | case PlasmaCore.Types.Horizontal: | ||
55 | return height; | 57 | return height; | ||
Show All 26 Lines |