slide_model.rs functions like get_item and activate

These functions aren't perfect, but this code all makes them
essentially work so that we can call from QML
This commit is contained in:
Chris Cochrun 2023-03-30 09:33:51 -05:00
parent 7e8694eca2
commit 6f185e6f6e
5 changed files with 64 additions and 23 deletions

View file

@ -196,7 +196,7 @@ FocusScope {
spacing: Kirigami.Units.smallSpacing * 2
cacheBuffer: 900
reuseItems: true
model: SlideModel
model: SlideMod
delegate: Presenter.PreviewSlideListDelegate {}
highlight: highlightBar
highlightFollowsCurrentItem: false