mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
49 lines
1 KiB
Text
49 lines
1 KiB
Text
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
import { SpinBox, Button, CheckBox, Slider, GroupBox, StandardListView } from "std-widgets.slint";
|
|
import { Label, Page, Preview } from "common.slint";
|
|
|
|
export component SettingsPage inherits Page {
|
|
VerticalLayout {
|
|
spacing: 10px;
|
|
padding: 15px;
|
|
alignment: start;
|
|
|
|
GroupBox {
|
|
title: "Color Management";
|
|
|
|
CheckBox {
|
|
text: "Black and White";
|
|
}
|
|
}
|
|
|
|
GroupBox {
|
|
title: "Scanning";
|
|
|
|
HorizontalLayout {
|
|
spacing: 10px;
|
|
|
|
Text {
|
|
text: "Resolution (DPI)";
|
|
}
|
|
|
|
Slider {}
|
|
}
|
|
}
|
|
|
|
GroupBox {
|
|
title: "Power Management";
|
|
|
|
CheckBox { text: "Eco Mode"; }
|
|
}
|
|
GroupBox {
|
|
title: "Performance";
|
|
|
|
CheckBox {
|
|
text: "TURBO";
|
|
checked: true;
|
|
}
|
|
}
|
|
}
|
|
}
|