diff options
-rw-r--r-- | applications/kube-accounts/Maildir.qml | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/applications/kube-accounts/Maildir.qml b/applications/kube-accounts/Maildir.qml index 0c7cadb2..e3074c31 100644 --- a/applications/kube-accounts/Maildir.qml +++ b/applications/kube-accounts/Maildir.qml | |||
@@ -21,80 +21,80 @@ Item { | |||
21 | margins: 10 | 21 | margins: 10 |
22 | } | 22 | } |
23 | 23 | ||
24 | GridLayout { | 24 | GridLayout { |
25 | id: mainContent | 25 | id: mainContent |
26 | 26 | ||
27 | Layout.fillWidth: true | 27 | Layout.fillWidth: true |
28 | 28 | ||
29 | rows: 2 | 29 | rows: 2 |
30 | columns: 3 | 30 | columns: 3 |
31 | 31 | ||
32 | Label { | 32 | Label { |
33 | text: "Name:" | 33 | text: "Name:" |
34 | } | 34 | } |
35 | 35 | ||
36 | TextField { | 36 | TextField { |
37 | 37 | ||
38 | Layout.fillWidth: true | 38 | Layout.fillWidth: true |
39 | 39 | ||
40 | placeholderText: "Enter a name to identify the resource" | 40 | placeholderText: "Enter a name to identify the resource" |
41 | text: maildir.name | 41 | text: maildir.name |
42 | } | 42 | } |
43 | 43 | ||
44 | Label { | 44 | Label { |
45 | 45 | ||
46 | } | 46 | } |
47 | 47 | ||
48 | Label { | 48 | Label { |
49 | text: "Location:" | 49 | text: "Location:" |
50 | } | 50 | } |
51 | 51 | ||
52 | TextField { | 52 | TextField { |
53 | 53 | ||
54 | Layout.fillWidth: true | 54 | Layout.fillWidth: true |
55 | 55 | ||
56 | placeholderText: "Click on the folder button to enter the location" | 56 | placeholderText: "Click on the folder button to enter the location" |
57 | text: maildir.folderUrl | 57 | text: maildir.folderUrl |
58 | 58 | ||
59 | enabled: false | 59 | enabled: false |
60 | } | 60 | } |
61 | 61 | ||
62 | Button { | 62 | Button { |
63 | iconName: "folder" | 63 | iconName: "folder" |
64 | 64 | ||
65 | onClicked: { | 65 | onClicked: { |
66 | fileDialog.visible = true | 66 | fileDialog.visible = true |
67 | } | 67 | } |
68 | 68 | ||
69 | FileDialog { | 69 | FileDialog { |
70 | id: fileDialog | 70 | id: fileDialog |
71 | title: "Please choose the maildir folder" | 71 | title: "Please choose the maildir folder" |
72 | folder: shortcuts.home | 72 | folder: shortcuts.home |
73 | 73 | ||
74 | selectFolder: true | 74 | selectFolder: true |
75 | 75 | ||
76 | onAccepted: { | 76 | onAccepted: { |
77 | maildir.folderUrl = fileDialog.fileUrl | 77 | maildir.folderUrl = fileDialog.fileUrl |
78 | visible: false | 78 | visible: false |
79 | } | 79 | } |
80 | onRejected: { | 80 | onRejected: { |
81 | visible: false | 81 | visible: false |
82 | } | ||
82 | } | 83 | } |
83 | } | 84 | } |
84 | } | 85 | } |
85 | } | ||
86 | 86 | ||
87 | RowLayout { | 87 | RowLayout { |
88 | id: buttons | 88 | id: buttons |
89 | 89 | ||
90 | Layout.alignment: Qt.AlignRight | 90 | Layout.alignment: Qt.AlignRight |
91 | 91 | ||
92 | Button { | 92 | Button { |
93 | text: "Create Resource" | 93 | text: "Create Resource" |
94 | } | 94 | } |
95 | Button { | 95 | Button { |
96 | text: "Cancel" | 96 | text: "Cancel" |
97 | } | ||
97 | } | 98 | } |
98 | } | 99 | } |
99 | } | ||
100 | } \ No newline at end of file | 100 | } \ No newline at end of file |