Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/ConfigTweaks.qml
Show All 12 Lines | |||||
13 | * * | 13 | * * | ||
14 | * You should have received a copy of the GNU General Public License * | 14 | * You should have received a copy of the GNU General Public License * | ||
15 | * along with this program; if not, write to the * | 15 | * along with this program; if not, write to the * | ||
16 | * Free Software Foundation, Inc., * | 16 | * Free Software Foundation, Inc., * | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . * | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . * | ||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ | ||
19 | 19 | | |||
20 | import QtQuick 2.0 | 20 | import QtQuick 2.0 | ||
21 | import QtQuick.Controls 1.0 | 21 | import QtQuick.Controls 2.0 | ||
22 | import QtQuick.Dialogs 1.1 | 22 | import QtQuick.Dialogs 1.1 | ||
23 | import QtQuick.Layouts 1.0 | 23 | import QtQuick.Layouts 1.0 | ||
24 | import org.kde.kirigami 2.4 as Kirigami | ||||
24 | 25 | | |||
25 | import org.kde.plasma.plasmoid 2.0 | 26 | import org.kde.plasma.plasmoid 2.0 | ||
26 | 27 | | |||
27 | Item { | 28 | Item { | ||
28 | id: configExperimental | 29 | id: configExperimental | ||
29 | 30 | | |||
30 | width: childrenRect.width | 31 | width: childrenRect.width | ||
31 | height: childrenRect.height | 32 | height: childrenRect.height | ||
32 | 33 | | |||
33 | property alias cfg_showToolbox: showToolbox.checked | 34 | property alias cfg_showToolbox: showToolbox.checked | ||
34 | property alias cfg_pressToMove: pressToMove.checked | 35 | property alias cfg_pressToMove: pressToMove.checked | ||
35 | 36 | | |||
36 | ColumnLayout { | 37 | Kirigami.FormLayout { | ||
37 | width: parent.width | | |||
38 | | ||||
39 | GroupBox { | | |||
40 | Layout.fillWidth: true | | |||
41 | | ||||
42 | title: i18n("Desktop Layout") | | |||
43 | flat: true | | |||
44 | | ||||
45 | ColumnLayout { | | |||
46 | Layout.fillWidth: true | | |||
47 | 38 | | |||
48 | CheckBox { | 39 | CheckBox { | ||
49 | id: showToolbox | 40 | id: showToolbox | ||
50 | 41 | | |||
51 | text: i18n("Show the desktop toolbox") | 42 | text: i18n("Show the desktop toolbox") | ||
52 | } | 43 | } | ||
53 | } | | |||
54 | } | | |||
55 | | ||||
56 | GroupBox { | | |||
57 | Layout.fillWidth: true | | |||
58 | | ||||
59 | title: i18n("Widget Handling") | | |||
60 | | ||||
61 | flat: true | | |||
62 | | ||||
63 | ColumnLayout { | | |||
64 | Layout.fillWidth: true | | |||
65 | 44 | | |||
66 | CheckBox { | 45 | CheckBox { | ||
67 | id: pressToMove | 46 | id: pressToMove | ||
68 | 47 | | |||
69 | text: i18n("Press and hold widgets to move them and reveal their handles") | 48 | text: i18n("Press and hold widgets to move them and reveal their handles") | ||
70 | } | 49 | } | ||
71 | } | 50 | } | ||
72 | } | 51 | } | ||
73 | } | | |||
74 | } | |