/* LICENSE BEGIN This file is part of the SixtyFPS Project -- https://sixtyfps.io Copyright (c) 2021 Olivier Goffart Copyright (c) 2021 Simon Hausmann 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, GridBox } from "sixtyfps_widgets.60"; import { Label, Page, Preview } from "common.60"; PrintPage := Page { layout := GridLayout { padding-left: 40px; padding-right: 40px; spacing: 20px; padding-top: 20px; padding-bottom: 20px; Row { preview := Preview { } GridBox { Row { Label { text: "Select File:"; } } Row { StandardListView { model: [ { text: ".." }, { text: "cat.png" }, { text: "dog.png" }, { text: "elephant.png" }, { text: "snake.png" }, ]; } } Row { Label { text: "Copies:"; } } Row { SpinBox { horizontal-stretch: 1; } } Row { Button { text: "Print Page"; horizontal-stretch: 1; } } } } } }