1// Copyright © SixtyFPS GmbH <info@slint.dev>
2// SPDX-License-Identifier: MIT
3
4import { SpinBox, Button, CheckBox, Slider, GroupBox, StandardListView, GridBox } from "std-widgets.slint";
5import { Label, Page, Preview } from "common.slint";
6
7
8export component CopyPage inherits Page {
9 layout := GridLayout {
10 padding-left: 40px;
11 padding-right: 40px;
12 spacing: 20px;
13 padding-top: 20px;
14 padding-bottom: 20px;
15
16 Row {
17 preview := Preview {
18 height: root.height - layout.padding-top - layout.padding-bottom;
19 }
20 GridBox {
21 Row {
22 Label {
23 text: "Copies:";
24 }
25 }
26
27 Row {
28 SpinBox {
29 horizontal-stretch: 1;
30 }
31 }
32 Row {
33 Button {
34 text: "Print Page";
35 horizontal-stretch: 1;
36 }
37 }
38 Row {
39 Rectangle {}
40 }
41 }
42 }
43 }
44}
45