merge
This commit is contained in:
@@ -4,7 +4,8 @@ import QtQuick.Controls
|
||||
import Qt.labs.qmlmodels
|
||||
|
||||
ColumnLayout {
|
||||
function viewCriterion(criterion) {
|
||||
function viewCriterion(criterion)
|
||||
{
|
||||
business_model.viewCriterion(criterion.text);
|
||||
}
|
||||
|
||||
@@ -12,12 +13,16 @@ ColumnLayout {
|
||||
|
||||
Component.onCompleted: customersStack.pop()
|
||||
|
||||
RowLayout {
|
||||
RowLayout
|
||||
{
|
||||
Layout.fillWidth: true
|
||||
Layout.horizontalStretchFactor: 1
|
||||
spacing: Dimensions.l
|
||||
// Layout.horizontalStretchFactor: 1
|
||||
// spacing: Dimensions.l
|
||||
|
||||
|
||||
SearchBar
|
||||
{
|
||||
|
||||
SearchBar {
|
||||
}
|
||||
|
||||
QuickFilter {
|
||||
@@ -53,20 +58,22 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
}
|
||||
Button {
|
||||
Button
|
||||
{
|
||||
id: addCustomer
|
||||
|
||||
Layout.alignment: Qt.AlignRight
|
||||
icon.source: "qrc:/images/PlusCircle.svg"
|
||||
text: qsTr("Kunde Hinzufügen")
|
||||
|
||||
onClicked: appLoader.source = "AddCustomer.qml"
|
||||
}
|
||||
}
|
||||
ColumnLayout {
|
||||
ColumnLayout
|
||||
{
|
||||
clip: true
|
||||
|
||||
HorizontalHeaderView {
|
||||
HorizontalHeaderView
|
||||
{
|
||||
id: horizontalHeader
|
||||
|
||||
Layout.fillWidth: true
|
||||
@@ -74,14 +81,16 @@ ColumnLayout {
|
||||
movableColumns: true //@disable-check M16
|
||||
syncView: customerTable
|
||||
|
||||
delegate: Rectangle {
|
||||
delegate: Rectangle
|
||||
{
|
||||
Layout.fillWidth: true
|
||||
border.color: addCustomer.palette.base
|
||||
color: addCustomer.palette.alternateBase
|
||||
implicitHeight: 40
|
||||
implicitWidth: 1
|
||||
|
||||
Text {
|
||||
Text
|
||||
{
|
||||
color: addCustomer.palette.text
|
||||
elide: Text.ElideRight
|
||||
height: parent.height
|
||||
|
||||
Reference in New Issue
Block a user