| 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
| 2 | // SPDX-License-Identifier: MIT |
| 3 | |
| 4 | import { DemoPalette, Page, SpinBox, Label, PushButton } from "./common.slint" ; |
| 5 | import { WidePrinterQueueList } from "./printer_queue.slint" ; |
| 6 | |
| 7 | |
| 8 | export component PrintPage inherits Page { |
| 9 | has-back-button: true; |
| 10 | header: @tr("Print" ); |
| 11 | |
| 12 | GridLayout { |
| 13 | padding-top: 46px /* header line height in design */ |
| 14 | + /* extra top-padding in design */ 27px; |
| 15 | spacing: 24px; |
| 16 | Row { |
| 17 | Text { |
| 18 | text: @tr("Printing-Queue" ); |
| 19 | color: DemoPalette.secondary-foreground-color; |
| 20 | font-size: DemoPalette.base-font-size * 1.125; |
| 21 | font-weight: 800; |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | Row { |
| 26 | queue := WidePrinterQueueList { |
| 27 | viewport-width: self.width; |
| 28 | } |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |