Serenity Operating System
1@GUI::Widget {
2 layout: @GUI::VerticalBoxLayout {
3 margins: [8, 12]
4 spacing: 10
5 }
6
7 @GUI::Widget {
8 fixed_height: 34
9 layout: @GUI::HorizontalBoxLayout {
10 spacing: 20
11 }
12
13 @GUI::ImageWidget {
14 fixed_width: 32
15 fixed_height: 32
16 name: "icon"
17 }
18
19 @GUI::TextBox {
20 text: "file"
21 name: "name"
22 }
23 }
24
25 @GUI::HorizontalSeparator {}
26
27 @GUI::Widget {
28 fixed_height: 14
29 layout: @GUI::HorizontalBoxLayout {
30 spacing: 12
31 }
32
33 @GUI::Label {
34 text: "Type:"
35 text_alignment: "CenterLeft"
36 fixed_width: 80
37 }
38
39 @GUI::Label {
40 name: "type"
41 text: "File"
42 text_alignment: "CenterLeft"
43 }
44 }
45
46 @GUI::Widget {
47 fixed_height: 14
48 layout: @GUI::HorizontalBoxLayout {
49 spacing: 12
50 }
51
52 @GUI::Label {
53 text: "Location:"
54 text_alignment: "CenterLeft"
55 fixed_width: 80
56 }
57
58 @GUI::LinkLabel {
59 name: "location"
60 text: "/home/anon/file"
61 text_alignment: "CenterLeft"
62 }
63 }
64
65 @GUI::Widget {
66 name: "link_location_widget"
67 fixed_height: 14
68 layout: @GUI::HorizontalBoxLayout {
69 spacing: 12
70 }
71
72 @GUI::Label {
73 text: "Link location:"
74 text_alignment: "CenterLeft"
75 fixed_width: 80
76 }
77
78 @GUI::LinkLabel {
79 name: "link_location"
80 text: "/home/anon/file"
81 text_alignment: "CenterLeft"
82 }
83 }
84
85 @GUI::Widget {
86 fixed_height: 28
87 layout: @GUI::HorizontalBoxLayout {
88 spacing: 12
89 }
90
91 @GUI::Label {
92 text: "Size:"
93 text_alignment: "TopLeft"
94 fixed_width: 80
95 }
96
97 @GUI::Label {
98 name: "size"
99 text: "5.9 KiB (6097 bytes)"
100 text_alignment: "TopLeft"
101 }
102 }
103
104 @GUI::Widget {
105 fixed_height: 14
106 layout: @GUI::HorizontalBoxLayout {
107 spacing: 12
108 }
109
110 @GUI::Label {
111 text: "Owner:"
112 text_alignment: "CenterLeft"
113 fixed_width: 80
114 }
115
116 @GUI::Label {
117 name: "owner"
118 text: "anon (100)"
119 text_alignment: "CenterLeft"
120 }
121 }
122
123 @GUI::Widget {
124 fixed_height: 14
125 layout: @GUI::HorizontalBoxLayout {
126 spacing: 12
127 }
128
129 @GUI::Label {
130 text: "Group:"
131 text_alignment: "CenterLeft"
132 fixed_width: 80
133 }
134
135 @GUI::Label {
136 name: "group"
137 text: "anon (100)"
138 text_alignment: "CenterLeft"
139 }
140 }
141
142 @GUI::Widget {
143 fixed_height: 14
144 layout: @GUI::HorizontalBoxLayout {
145 spacing: 12
146 }
147
148 @GUI::Label {
149 text: "Created at:"
150 text_alignment: "CenterLeft"
151 fixed_width: 80
152 }
153
154 @GUI::Label {
155 name: "created_at"
156 text: "2021-07-12 20:33:24"
157 text_alignment: "CenterLeft"
158 }
159 }
160
161 @GUI::Widget {
162 fixed_height: 14
163 layout: @GUI::HorizontalBoxLayout {
164 spacing: 12
165 }
166
167 @GUI::Label {
168 text: "Last Modified:"
169 text_alignment: "CenterLeft"
170 fixed_width: 80
171 }
172
173 @GUI::Label {
174 name: "last_modified"
175 text: "2021-07-12 20:33:24"
176 text_alignment: "CenterLeft"
177 }
178 }
179
180 @GUI::HorizontalSeparator {}
181
182 @GUI::Widget {
183 fixed_height: 14
184 layout: @GUI::HorizontalBoxLayout {
185 spacing: 12
186 }
187
188 @GUI::Label {
189 text: "Owner:"
190 text_alignment: "CenterLeft"
191 fixed_width: 80
192 }
193
194 @GUI::CheckBox {
195 name: "owner_read"
196 text: "Read"
197 }
198
199 @GUI::CheckBox {
200 name: "owner_write"
201 text: "Write"
202 }
203
204 @GUI::CheckBox {
205 name: "owner_execute"
206 text: "Execute"
207 }
208 }
209
210 @GUI::Widget {
211 fixed_height: 14
212 layout: @GUI::HorizontalBoxLayout {
213 spacing: 12
214 }
215
216 @GUI::Label {
217 text: "Group:"
218 text_alignment: "CenterLeft"
219 fixed_width: 80
220 }
221
222 @GUI::CheckBox {
223 name: "group_read"
224 text: "Read"
225 }
226
227 @GUI::CheckBox {
228 name: "group_write"
229 text: "Write"
230 }
231
232 @GUI::CheckBox {
233 name: "group_execute"
234 text: "Execute"
235 }
236 }
237
238 @GUI::Widget {
239 fixed_height: 14
240 layout: @GUI::HorizontalBoxLayout {
241 spacing: 12
242 }
243
244 @GUI::Label {
245 text: "Others:"
246 text_alignment: "CenterLeft"
247 fixed_width: 80
248 }
249
250 @GUI::CheckBox {
251 name: "others_read"
252 text: "Read"
253 }
254
255 @GUI::CheckBox {
256 name: "others_write"
257 text: "Write"
258 }
259
260 @GUI::CheckBox {
261 name: "others_execute"
262 text: "Execute"
263 }
264 }
265}