Changeset View
Changeset View
Standalone View
Standalone View
kcms/touchpad/src/kcm/libinput/components/ExclGroupBox.qml
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | * Copyright 2017 Roman Gilg <subdiff@gmail.com> | 2 | * Copyright 2017 Roman Gilg <subdiff@gmail.com> | ||
3 | * Copyright 2018 Furkan Tokac <furkantokac34@gmail.com> | ||||
3 | * | 4 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | 6 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | 7 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | 8 | * (at your option) any later version. | ||
8 | * | 9 | * | ||
9 | * This program is distributed in the hope that it will be useful, | 10 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
Show All 21 Lines | 25 | Column { | |||
32 | } | 33 | } | ||
33 | 34 | | |||
34 | Controls.Label { | 35 | Controls.Label { | ||
35 | id: textlabel | 36 | id: textlabel | ||
36 | } | 37 | } | ||
37 | 38 | | |||
38 | Controls.ExclusiveGroup { id: exlGroupbox } | 39 | Controls.ExclusiveGroup { id: exlGroupbox } | ||
39 | Column { | 40 | Column { | ||
40 | leftPadding: units.smallSpacing | | |||
41 | spacing: units.smallSpacing / 2 | 41 | spacing: units.smallSpacing / 2 | ||
42 | 42 | | |||
43 | Repeater { | 43 | Repeater { | ||
44 | id: repeater | 44 | id: repeater | ||
45 | Controls.RadioButton { | 45 | Controls.RadioButton { | ||
46 | text: modelData | 46 | text: modelData | ||
47 | exclusiveGroup: exlGroupbox | 47 | exclusiveGroup: exlGroupbox | ||
48 | 48 | | |||
Show All 9 Lines |