songsqlmodel working
This commit is contained in:
parent
d647f4442f
commit
641b884901
13 changed files with 342 additions and 33 deletions
|
@ -14,7 +14,7 @@ Kirigami.ApplicationWindow {
|
|||
property bool libraryOpen: true
|
||||
property bool presenting: false
|
||||
property bool presentMode: true
|
||||
property var secondScreen: null
|
||||
property var screens
|
||||
|
||||
pageStack.initialPage: mainPage
|
||||
header: Presenter.Header {}
|
||||
|
@ -30,10 +30,16 @@ Kirigami.ApplicationWindow {
|
|||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
print("checking screens")
|
||||
print("Present Mode is " + presentMode)
|
||||
secondScreen = Qt.application.screens[1]
|
||||
print(secondScreen)
|
||||
print("checking screens");
|
||||
print("Present Mode is " + presentMode);
|
||||
screens = Qt.application.screens;
|
||||
for (let i = 0; i < screens.length; i++) {
|
||||
print(screens[i].name);
|
||||
print("width of screen: " + (screens[i].width * screens[i].devicePixelRatio));
|
||||
print("height of screen: " + (screens[i].height * screens[i].devicePixelRatio));
|
||||
print("pixeldensity of screen: " + screens[i].pixelDensity);
|
||||
print("pixelratio of screen: " + screens[i].devicePixelRatio);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue