TODO and preliminary following of active item

This commit is contained in:
Chris Cochrun 2022-10-02 07:25:47 -05:00
parent 3cc43adefb
commit d9f8d1cec9
2 changed files with 7 additions and 5 deletions

View file

@ -5,6 +5,8 @@
* Tasks [74%] [23/31] * Tasks [74%] [23/31]
** TODO To finish the UX of which item is active, the Presentation needs to switch to the active slide in the preview system.
- To make this work I think I'll need to make serviceitemmodel able to signal when a particular item is active and give it's index so the list can follow suit.
** TODO Make libraries and models aware of being selected. ** TODO Make libraries and models aware of being selected.
This allows us to drag multiple to service list and delete multiple. This allows us to drag multiple to service list and delete multiple.
** TODO Make serviceItemModel aware of being selected and active ** TODO Make serviceItemModel aware of being selected and active

View file

@ -210,11 +210,11 @@ Item {
} }
/* Connections { */ Connections {
/* target: serviceItemModel */ target: serviceItemModel
/* onDataChanged: previewSlidesList.positionViewAtIndex(index, */ onDataChanged: previewSlidesList.positionViewAtIndex(index,
/* ListView.Center) */ ListView.Center)
/* } */ }
} }
Kirigami.WheelHandler { Kirigami.WheelHandler {
id: wheelHandler id: wheelHandler