Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/ConfigBehavior.qml
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 49 | QQC1.ComboBox { | |||
---|---|---|---|---|---|
51 | Kirigami.FormData.label: i18n("Group:") | 51 | Kirigami.FormData.label: i18n("Group:") | ||
52 | Layout.fillWidth: true | 52 | Layout.fillWidth: true | ||
53 | model: [i18n("Do not group"), i18n("By program name")] | 53 | model: [i18n("Do not group"), i18n("By program name")] | ||
54 | } | 54 | } | ||
55 | 55 | | |||
56 | CheckBox { | 56 | CheckBox { | ||
57 | id: groupPopups | 57 | id: groupPopups | ||
58 | visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks") | 58 | visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks") | ||
59 | text: i18n("Open groups in popups") | 59 | text: i18n("Combine into single button") | ||
60 | enabled: groupingStrategy.currentIndex > 0 | 60 | enabled: groupingStrategy.currentIndex > 0 | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | RowLayout { | | |||
64 | visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks") | | |||
65 | | ||||
66 | // Indent the option as it depends on the previous one | | |||
67 | Item { | | |||
68 | width: units.largeSpacing | | |||
69 | } | | |||
70 | | ||||
71 | CheckBox { | 63 | CheckBox { | ||
72 | id: onlyGroupWhenFull | 64 | id: onlyGroupWhenFull | ||
65 | visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks") | ||||
73 | text: i18n("Group only when the Task Manager is full") | 66 | text: i18n("Group only when the Task Manager is full") | ||
74 | enabled: groupingStrategy.currentIndex > 0 && groupPopups.checked | 67 | enabled: groupingStrategy.currentIndex > 0 && groupPopups.checked | ||
75 | } | 68 | } | ||
76 | } | | |||
77 | 69 | | |||
78 | Item { | 70 | Item { | ||
79 | Kirigami.FormData.isSection: true | 71 | Kirigami.FormData.isSection: true | ||
80 | visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks") | 72 | visible: (plasmoid.pluginName !== "org.kde.plasma.icontasks") | ||
81 | } | 73 | } | ||
82 | 74 | | |||
83 | // TODO: port to QQC2 version once we've fixed https://bugs.kde.org/show_bug.cgi?id=403153 | 75 | // TODO: port to QQC2 version once we've fixed https://bugs.kde.org/show_bug.cgi?id=403153 | ||
84 | QQC1.ComboBox { | 76 | QQC1.ComboBox { | ||
Show All 26 Lines | 101 | model: [ | |||
111 | i18n("Close window or group"), | 103 | i18n("Close window or group"), | ||
112 | i18n("New instance"), | 104 | i18n("New instance"), | ||
113 | i18n("Minimize/Restore window or group"), | 105 | i18n("Minimize/Restore window or group"), | ||
114 | i18nc("When clicking it would toggle grouping windows of a specific app", "Group/Ungroup"), | 106 | i18nc("When clicking it would toggle grouping windows of a specific app", "Group/Ungroup"), | ||
115 | i18n("Bring to the current virtual desktop") | 107 | i18n("Bring to the current virtual desktop") | ||
116 | ] | 108 | ] | ||
117 | } | 109 | } | ||
118 | 110 | | |||
111 | Item { | ||||
112 | Kirigami.FormData.isSection: true | ||||
113 | } | ||||
114 | | ||||
119 | CheckBox { | 115 | CheckBox { | ||
120 | id: wheelEnabled | 116 | id: wheelEnabled | ||
121 | text: i18n("Cycle through tasks with mouse wheel") | 117 | Kirigami.FormData.label: i18n("Mouse wheel:") | ||
118 | text: i18n("Cycle through tasks") | ||||
122 | } | 119 | } | ||
123 | 120 | | |||
124 | Item { | 121 | Item { | ||
125 | Kirigami.FormData.isSection: true | 122 | Kirigami.FormData.isSection: true | ||
126 | } | 123 | } | ||
127 | 124 | | |||
128 | CheckBox { | 125 | CheckBox { | ||
129 | id: showOnlyCurrentScreen | 126 | id: showOnlyCurrentScreen | ||
130 | Kirigami.FormData.label: i18n("Filter:") | 127 | Kirigami.FormData.label: i18n("Show only tasks:") | ||
131 | text: i18n("Show only tasks from the current screen") | 128 | text: i18n("From current screen") | ||
132 | } | 129 | } | ||
133 | 130 | | |||
134 | CheckBox { | 131 | CheckBox { | ||
135 | id: showOnlyCurrentDesktop | 132 | id: showOnlyCurrentDesktop | ||
136 | text: i18n("Show only tasks from the current desktop") | 133 | text: i18n("From current desktop") | ||
137 | } | 134 | } | ||
138 | 135 | | |||
139 | CheckBox { | 136 | CheckBox { | ||
140 | id: showOnlyCurrentActivity | 137 | id: showOnlyCurrentActivity | ||
141 | text: i18n("Show only tasks from the current activity") | 138 | text: i18n("From current activity") | ||
142 | } | 139 | } | ||
143 | 140 | | |||
144 | CheckBox { | 141 | CheckBox { | ||
145 | id: showOnlyMinimized | 142 | id: showOnlyMinimized | ||
146 | text: i18n("Show only tasks that are minimized") | 143 | text: i18n("That are minimized") | ||
147 | } | 144 | } | ||
148 | } | 145 | } | ||
149 | } | 146 | } |