some adjustments to cmake and more layout of window

This commit is contained in:
Chris Cochrun 2022-02-11 16:41:36 -06:00
parent 640eeb7349
commit 3bcd9af77a
8 changed files with 2691 additions and 109 deletions

View file

@ -9,14 +9,16 @@ import org.kde.kirigami 2.13 as Kirigami
import "./presenter" as Presenter
Kirigami.ApplicationWindow {
id: root
id: rootApp
property bool libraryOpen: true
property bool presenting: false
property var secondScreen: null
pageStack.initialPage: mainPage
header: Presenter.Header {}
width: 1280
width: 1800
height: 900
Presenter.MainWindow {
id: mainPage
@ -26,4 +28,6 @@ Kirigami.ApplicationWindow {
libraryOpen = !libraryOpen
}
Component.onCompleted: secondScreen = Qt.application.screens[1]
}