Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/main.qml
Show All 33 Lines | 26 | MouseArea { | |||
---|---|---|---|---|---|
34 | 34 | | |||
35 | property var iconSizes: ["small", "smallMedium", "medium", "large", "huge", "enormous"]; | 35 | property var iconSizes: ["small", "smallMedium", "medium", "large", "huge", "enormous"]; | ||
36 | 36 | | |||
37 | property bool vertical: plasmoid.formFactor == PlasmaCore.Types.Vertical | 37 | property bool vertical: plasmoid.formFactor == PlasmaCore.Types.Vertical | ||
38 | property int itemSize: units.roundToIconSize(Math.min(Math.min(width, height), units.iconSizes[iconSizes[plasmoid.configuration.iconSize]])) | 38 | property int itemSize: units.roundToIconSize(Math.min(Math.min(width, height), units.iconSizes[iconSizes[plasmoid.configuration.iconSize]])) | ||
39 | property int hiddenItemSize: units.iconSizes.smallMedium | 39 | property int hiddenItemSize: units.iconSizes.smallMedium | ||
40 | property alias expanded: dialog.visible | 40 | property alias expanded: dialog.visible | ||
41 | property Item activeApplet | 41 | property Item activeApplet | ||
42 | property int status: dialog.visible ? PlasmaCore.Types.RequiresAttentionStatus : PlasmaCore.Types.PassiveStatus | ||||
42 | 43 | | |||
43 | property alias visibleLayout: tasksRow | 44 | property alias visibleLayout: tasksRow | ||
44 | property alias hiddenLayout: expandedRepresentation.hiddenLayout | 45 | property alias hiddenLayout: expandedRepresentation.hiddenLayout | ||
45 | 46 | | |||
46 | property alias statusNotifierModel: statusNotifierModel | 47 | property alias statusNotifierModel: statusNotifierModel | ||
47 | 48 | | |||
48 | function updateItemVisibility(item) { | 49 | function updateItemVisibility(item) { | ||
49 | 50 | | |||
▲ Show 20 Lines • Show All 253 Lines • Show Last 20 Lines |