slint/examples/printerdemo_old/ui/settings_page.slint

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;
}
}
}
}