things are building and running now
Now for all the issues of things not working
This commit is contained in:
parent
f231b81bf4
commit
a1f18f803d
8 changed files with 66 additions and 115 deletions
|
@ -81,6 +81,7 @@ Item {
|
|||
id: serviceListItem
|
||||
implicitWidth: serviceItemList.width
|
||||
height: Kirigami.Units.gridUnit * 2
|
||||
Component.onCompleted: Utils.dbg("SERVICEMODEL: " + name)
|
||||
|
||||
property var selectedItems
|
||||
|
||||
|
@ -150,6 +151,7 @@ Item {
|
|||
else
|
||||
Kirigami.Theme.textColor;
|
||||
}
|
||||
Component.onCompleted: Utils.dbg("SERVICEMODEL: " + name)
|
||||
}
|
||||
|
||||
Kirigami.Icon {
|
||||
|
@ -359,6 +361,7 @@ Item {
|
|||
model: ServiceItemModel
|
||||
|
||||
delegate: serviceListItem
|
||||
|
||||
Kirigami.WheelHandler {
|
||||
id: wheelHandler
|
||||
target: serviceItemList
|
||||
|
@ -375,22 +378,6 @@ Item {
|
|||
anchors.bottom: serviceItemList.bottom
|
||||
active: hovered || pressed
|
||||
}
|
||||
|
||||
/* function updateDrag(y) { */
|
||||
/* if (moveToIndex === serviceItemList.indexAt(0,y)) */
|
||||
/* return; */
|
||||
/* else */
|
||||
/* moveToIndex = serviceItemList.indexAt(0,y); */
|
||||
/* moveRequested(indexDragged, moveToIndex); */
|
||||
/* } */
|
||||
|
||||
/* function moveRequested(oldIndex, newIndex) { */
|
||||
/* console.log("moveRequested: ", oldIndex, newIndex); */
|
||||
/* ServiceItemModel.moveRows(oldIndex, newIndex, 1); */
|
||||
/* indexDragged = newIndex; */
|
||||
/* serviceItemList.currentIndex = newIndex; */
|
||||
/* } */
|
||||
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue