servicelist above the mainpage and wrapper for servicelist
This commit is contained in:
parent
e2b8992a7f
commit
04e3d95a0c
2 changed files with 372 additions and 362 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue