slint/examples/printerdemo_old/ui/settings_page.60
Olivier Goffart 5c6e84fa54 Copy the printerdemo to printerdemo_old
We're about to redo the printerdemo so copy the old one as we will
re-use the path for the new one
2021-02-22 11:16:40 +01:00

48 lines
1.3 KiB
Text

/* LICENSE BEGIN
This file is part of the SixtyFPS Project -- https://sixtyfps.io
Copyright (c) 2020 Olivier Goffart <olivier.goffart@sixtyfps.io>
Copyright (c) 2020 Simon Hausmann <simon.hausmann@sixtyfps.io>
SPDX-License-Identifier: GPL-3.0-only
This file is also available under commercial licensing terms.
Please contact info@sixtyfps.io for more information.
LICENSE END */
import { SpinBox, Button, CheckBox, Slider, GroupBox, StandardListView } from "sixtyfps_widgets.60";
import { Label, Page, Preview } from "common.60";
export SettingsPage := 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;
}
}
}
}