import QtQuick import QtQuick.Layouts import QtQuick.Controls import Qt.labs.qmlmodels Item { property var availableFilters: ["Name", "Adresse", "PLZ", "Ort"] SearchBar { id:searchBar anchors.margins: 9 } ColumnLayout { // SearchBar // { // id:searchBar // anchors.margins: 9 // } anchors { top: searchBar.bottom bottom: parent.bottom left: parent.left right: parent.right } RowLayout { // Layout.fillHeight: true // Layout.fillWidth: true RadioButton { checked: true text: qsTr("Alle") } RadioButton { text: qsTr("Interessent") } RadioButton { text: qsTr("Kunden") } RadioButton { text: qsTr("Erledigt") } } HorizontalHeaderView { id: horizontalHeader Layout.fillWidth: true syncView: testTable } TableView { id: testTable Layout.fillHeight: true Layout.fillWidth: true columnSpacing: 1 rowSpacing: 2 model: dbm delegate:Item { implicitWidth: 200 implicitHeight: 25 Text { Layout.fillWidth: true text: model.display } MouseArea { anchors.fill: parent onClicked: dbm.onRowClicked(row) } } } Item { Layout.fillHeight: true Layout.fillWidth: true } } }