You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
766 B

import QtQuick 2.10
import QtQuick.Controls 2.3
import QtQuick.Window 2.13
import QtQuick.Layouts 1.3
import de.skycoder42.QtMvvm.Core 1.0
import de.skycoder42.QtMvvm.Quick 1.0
import com.example.consoleemulator 1.0
import "qrc:/emulator/"
import "qrc:/theme/"
import "qrc:/const/"
Page {
id: mainView
property MainViewModel viewModel: null
Rectangle{
anchors.fill: parent
color: Theme.current.background
}
Rectangle {
id: correctedPosition
width: Const.windowWidth
height: Const.windowHeight
scale: Const.ratio
color: Theme.current.background
x: (mainView.width - width) / 2
y: (mainView.height - height) / 2
Emulator {}
}
}