slint/examples/printerdemo_old/ui/copy_page.slint
Tobias Hunger 4230ac2572
Update copyright information to reflect name change
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00

44 lines
1.2 KiB
Text

// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
import { SpinBox, Button, CheckBox, Slider, GroupBox, StandardListView, GridBox } from "std-widgets.slint";
import { Label, Page, Preview } from "common.slint";
export CopyPage := Page {
layout := GridLayout {
padding-left: 40px;
padding-right: 40px;
spacing: 20px;
padding-top: 20px;
padding-bottom: 20px;
Row {
preview := Preview {
height: root.height - layout.padding-top - layout.padding-bottom;
}
GridBox {
Row {
Label {
text: "Copies:";
}
}
Row {
SpinBox {
horizontal-stretch: 1;
}
}
Row {
Button {
text: "Print Page";
horizontal-stretch: 1;
}
}
Row {
Rectangle {}
}
}
}
}
}