native: deleted main.qml.autosave
This commit is contained in:
parent
b7243d67e5
commit
98a3029444
2 changed files with 0 additions and 88 deletions
|
@ -85,6 +85,5 @@ Window {
|
|||
var window = component.createObject(root)
|
||||
window.show()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,87 +0,0 @@
|
|||
import QtQuick
|
||||
import QtQuick.Window
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Window {
|
||||
SystemPalette { id: activeColors; colorGroup: SystemPalette.Active }
|
||||
SystemPalette { id: inactiveColors; colorGroup: SystemPalette.Inactive }
|
||||
SystemPalette { id: disabledColors; colorGroup: SystemPalette.Disabled }
|
||||
|
||||
function getColors() {
|
||||
return root.active ? activeColors : inactiveColors;
|
||||
}
|
||||
|
||||
id: root
|
||||
width: 640
|
||||
height: 480
|
||||
visible: true
|
||||
color: getColors().window
|
||||
|
||||
title: qsTr("Alisa - License Managment")
|
||||
|
||||
Rectangle {
|
||||
id: s1
|
||||
anchors {
|
||||
top: parent.top
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
height: 400
|
||||
border.width: 5
|
||||
border.color: getColors().accent
|
||||
color: getColors().midlight
|
||||
}
|
||||
|
||||
TableView {
|
||||
anchors.fill: parent
|
||||
|
||||
columnSpacing: 1
|
||||
rowSpacing: 1
|
||||
clip: true
|
||||
|
||||
model: Data {}
|
||||
delegate: Rectangle {
|
||||
color: getColors().base
|
||||
implicitWidth: 100
|
||||
implicitHeight: 50
|
||||
border.width: 1
|
||||
|
||||
Text {
|
||||
text: display
|
||||
color: getColors().text
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
Button {
|
||||
id: testB
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
}
|
||||
text: qsTr("Test Window")
|
||||
|
||||
onClicked: {
|
||||
var component = Qt.createComponent("Test.qml")
|
||||
var window = component.createObject(root)
|
||||
window.show()
|
||||
}
|
||||
}
|
||||
Button {
|
||||
id: loginScreenB
|
||||
anchors {
|
||||
left: testB.right
|
||||
bottom: parent.bottom
|
||||
|
||||
|
||||
}
|
||||
text: qsTr("Login Screen")
|
||||
onClicked: {
|
||||
var component = Qt.createComponent("LoginScreen.qml")
|
||||
var window = component.createObject(root)
|
||||
window.show()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue