mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-13 13:56:54 +00:00
44 lines
1.2 KiB
Text
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 component CopyPage inherits 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 {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|