adding a basic listview to preview all service items in the model
This commit is contained in:
parent
26f49f9923
commit
715c610dc3
1 changed files with 26 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue