/* LICENSE BEGIN This file is part of the SixtyFPS Project -- https://sixtyfps.io Copyright (c) 2020 Olivier Goffart Copyright (c) 2020 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 { LineEdit, Button, Slider, StandardListView } from "sixtyfps_widgets.60"; Crud := Window { GridLayout { spacing: 7px; padding: spacing; Text { text: "Filter prefix:"; } LineEdit {} StandardListView { row: 1; rowspan: 3; colspan: 2; model: [{ text: "Emil, Hans"}, {text: "Mustermann, Max"}, {text: "Tisch Roman"}]; } Text { col: 2; row: 1; text: "Name: "; } LineEdit { text: "John"; } Text { col: 2; row: 2; text: "Surename: "; } LineEdit { text: "Romba"; } HorizontalLayout { row: 4; colspan: 4; spacing: parent.spacing; alignment: start; Button { text: "Create"; } Button { text: "Update"; } Button { text: "Delete"; } } } }