Using StackView for the main area to swap between edit and present

This commit is contained in:
Chris Cochrun 2022-03-04 07:28:05 -06:00
parent 9993542d57
commit 3e646d8728
5 changed files with 44 additions and 21 deletions

View file

@ -46,22 +46,39 @@ Item {
}
}
Kirigami.Icon {
source: "arrow-left"
Item {
/* Layout.preferredHeight: 200 */
Layout.fillHeight: true
Layout.fillWidth: true
Layout.preferredWidth: 25
Layout.columnSpan: 3
}
Kirigami.Icon {
source: "arrow-left"
Layout.preferredWidth: 200
Layout.preferredHeight: 200
Layout.alignment: Qt.AlignRight
}
Presenter.Slide {
Layout.preferredWidth: 50
Layout.preferredWidth: 700
Layout.preferredHeight: 500
Layout.alignment: Qt.AlignCenter
}
Kirigami.Icon {
source: "arrow-right"
Layout.preferredWidth: 200
Layout.preferredHeight: 200
Layout.alignment: Qt.AlignLeft
}
Item {
/* Layout.preferredHeight: 200 */
Layout.fillHeight: true
Layout.fillWidth: true
Layout.preferredWidth: 25
Layout.columnSpan: 3
}
}
}