servicelist above the mainpage and wrapper for servicelist

This commit is contained in:
Chris Cochrun 2022-10-02 14:32:41 -05:00
parent e2b8992a7f
commit 04e3d95a0c
2 changed files with 372 additions and 362 deletions

View file

@ -63,6 +63,7 @@ Controls.Page {
id: leftDock id: leftDock
Controls.SplitView.preferredWidth: 200 Controls.SplitView.preferredWidth: 200
Controls.SplitView.maximumWidth: 300 Controls.SplitView.maximumWidth: 300
z: 1
} }
Item { Item {

View file

@ -11,12 +11,19 @@ import org.kde.kirigami 2.13 as Kirigami
import "./" as Presenter import "./" as Presenter
import org.presenter 1.0 import org.presenter 1.0
ColumnLayout { Item {
id: root id: root
property var selectedItem: serviceItemList.selected property var selectedItem: serviceItemList.selected
property var hlItem property var hlItem
Rectangle {
id: background
color: Kirigami.Theme.backgroundColor
anchors.fill: parent
ColumnLayout {
id: layout
anchors.fill: parent
Rectangle { Rectangle {
id: headerBackground id: headerBackground
color: Kirigami.Theme.backgroundColor color: Kirigami.Theme.backgroundColor
@ -401,6 +408,8 @@ ColumnLayout {
] ]
} }
}
}
Component.onCompleted: { Component.onCompleted: {
totalServiceItems = serviceItemList.count; totalServiceItems = serviceItemList.count;
print("THE TOTAL SERVICE ITEMS: " + totalServiceItems); print("THE TOTAL SERVICE ITEMS: " + totalServiceItems);