slint/examples/printerdemo_old/ui/settings_page.60
2021-07-02 15:55:54 +02:00

48 lines
1.3 KiB
Text

/* LICENSE BEGIN
This file is part of the SixtyFPS Project -- https://sixtyfps.io
Copyright (c) 2021 Olivier Goffart <olivier.goffart@sixtyfps.io>
Copyright (c) 2021 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;
}
}
}
}