1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
2 | // SPDX-License-Identifier: MIT |
3 | |
4 | import { SpinBox, Button, CheckBox, Slider, GroupBox, StandardListView } from "std-widgets.slint" ; |
5 | import { Label, Page, Preview } from "common.slint" ; |
6 | |
7 | export component SettingsPage inherits Page { |
8 | VerticalLayout { |
9 | spacing: 10px; |
10 | padding: 15px; |
11 | alignment: start; |
12 | |
13 | GroupBox { |
14 | title: "Color Management" ; |
15 | |
16 | CheckBox { |
17 | text: "Black and White" ; |
18 | } |
19 | } |
20 | |
21 | GroupBox { |
22 | title: "Scanning" ; |
23 | |
24 | HorizontalLayout { |
25 | spacing: 10px; |
26 | |
27 | Text { |
28 | text: "Resolution (DPI)" ; |
29 | } |
30 | |
31 | Slider {} |
32 | } |
33 | } |
34 | |
35 | GroupBox { |
36 | title: "Power Management" ; |
37 | |
38 | CheckBox { text: "Eco Mode" ; } |
39 | } |
40 | GroupBox { |
41 | title: "Performance" ; |
42 | |
43 | CheckBox { |
44 | text: "TURBO" ; |
45 | checked: true; |
46 | } |
47 | } |
48 | } |
49 | } |
50 | |