native: mainPage.qml del button loginPage
This commit is contained in:
parent
1b413df433
commit
ffae1c2ed7
1 changed files with 1 additions and 17 deletions
|
@ -23,7 +23,6 @@ Rectangle {
|
|||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
radius: 0
|
||||
height: 50
|
||||
color: getColors().midlight
|
||||
|
||||
|
@ -97,26 +96,11 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
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
|
||||
left: parent.left
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue