Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/ConfigAppearance.qml
Show All 28 Lines | 27 | Item { | |||
---|---|---|---|---|---|
29 | height: childrenRect.height | 29 | height: childrenRect.height | ||
30 | 30 | | |||
31 | readonly property bool plasmaPaAvailable: Qt.createComponent("PulseAudio.qml").status === Component.Ready | 31 | readonly property bool plasmaPaAvailable: Qt.createComponent("PulseAudio.qml").status === Component.Ready | ||
32 | 32 | | |||
33 | property bool plasmoidVertical: (plasmoid.formFactor === PlasmaCore.Types.Vertical) | 33 | property bool plasmoidVertical: (plasmoid.formFactor === PlasmaCore.Types.Vertical) | ||
34 | 34 | | |||
35 | property alias cfg_showToolTips: showToolTips.checked | 35 | property alias cfg_showToolTips: showToolTips.checked | ||
36 | property alias cfg_highlightWindows: highlightWindows.checked | 36 | property alias cfg_highlightWindows: highlightWindows.checked | ||
37 | property alias cfg_smartLaunchersEnabled: smartLaunchers.checked | | |||
38 | property bool cfg_indicateAudioStreams | 37 | property bool cfg_indicateAudioStreams | ||
39 | property alias cfg_iconSize: iconSize.value | 38 | property alias cfg_iconSize: iconSize.value | ||
40 | property alias cfg_maxStripes: maxStripes.value | 39 | property alias cfg_maxStripes: maxStripes.value | ||
41 | property alias cfg_forceStripes: forceStripes.checked | 40 | property alias cfg_forceStripes: forceStripes.checked | ||
42 | 41 | | |||
43 | Kirigami.FormLayout { | 42 | Kirigami.FormLayout { | ||
44 | anchors.left: parent.left | 43 | anchors.left: parent.left | ||
45 | anchors.right: parent.right | 44 | anchors.right: parent.right | ||
46 | 45 | | |||
47 | CheckBox { | 46 | CheckBox { | ||
48 | id: showToolTips | 47 | id: showToolTips | ||
49 | Kirigami.FormData.label: i18n ("General:") | 48 | Kirigami.FormData.label: i18n ("General:") | ||
50 | text: i18n("Show tooltips") | 49 | text: i18n("Show tooltips") | ||
51 | } | 50 | } | ||
52 | 51 | | |||
53 | CheckBox { | 52 | CheckBox { | ||
54 | id: highlightWindows | 53 | id: highlightWindows | ||
55 | text: i18n("Highlight windows when hovering over tasks") | 54 | text: i18n("Highlight windows when hovering over tasks") | ||
56 | } | 55 | } | ||
57 | 56 | | |||
58 | CheckBox { | 57 | CheckBox { | ||
59 | id: smartLaunchers | | |||
60 | text: i18n("Show progress and status information in task buttons") | | |||
61 | } | | |||
62 | | ||||
63 | CheckBox { | | |||
64 | id: indicateAudioStreams | 58 | id: indicateAudioStreams | ||
65 | text: i18n("Mark applications that play audio") | 59 | text: i18n("Mark applications that play audio") | ||
66 | checked: cfg_indicateAudioStreams && plasmaPaAvailable | 60 | checked: cfg_indicateAudioStreams && plasmaPaAvailable | ||
67 | onCheckedChanged: cfg_indicateAudioStreams = checked | 61 | onCheckedChanged: cfg_indicateAudioStreams = checked | ||
68 | enabled: plasmaPaAvailable | 62 | enabled: plasmaPaAvailable | ||
69 | } | 63 | } | ||
70 | 64 | | |||
71 | Item { | 65 | Item { | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |