adding a basic listview to preview all service items in the model

This commit is contained in:
Chris Cochrun 2022-09-26 17:20:10 -05:00
parent 26f49f9923
commit 715c610dc3

View file

@ -152,6 +152,32 @@ Item {
Layout.columnSpan: 3 Layout.columnSpan: 3
} }
ListView {
id: previewSlidesList
Layout.fillWidth: true
Layout.fillHeight: true
Layout.columnSpan: 3
orientation: ListView.Horizontal
model: serviceItemModel
delegate: Presenter.Slide {
id: previewSlide
implicitWidth: 100
implicitHeight: width / 16 * 9
/* Layout.alignment: Qt.AlignCenter */
textSize: width / 15
itemType: root.itemType
imageSource: background
videoSource: background
audioSource: audio
chosenFont: font
text: text
pdfIndex: 0
preview: true
editMode: true
}
}
} }
Connections { Connections {