Add all view
This commit is contained in:
1 parent
186cff1d73
commit
49d8524597
18 files changed
+1007
-98
No files matched your search
+21
-18
@@ -1,32 +1,35 @@
|
||||
import QtQuick 2.5
|
||||
import fbx.application 1.0
|
||||
import "Views" as View
|
||||
import "Components"
|
||||
import "Core"
|
||||
|
||||
Application {
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Theme.background
|
||||
}
|
||||
|
||||
Session {
|
||||
id: appSession
|
||||
}
|
||||
|
||||
Row {
|
||||
anchors.fill: parent
|
||||
spacing: 10
|
||||
|
||||
Rectangle {
|
||||
width: parent.width / 3 - 5
|
||||
Logo {
|
||||
id: logo
|
||||
width: parent.width / 3
|
||||
height: parent.height
|
||||
|
||||
View.Logo {}
|
||||
}
|
||||
Rectangle {
|
||||
width: parent.width / 3 * 2 - 5
|
||||
|
||||
Navigator {
|
||||
id: navigator
|
||||
width: parent.width - logo.width
|
||||
height: parent.height
|
||||
|
||||
color: "#000B25"
|
||||
|
||||
session: appSession
|
||||
focus: true
|
||||
|
||||
View.Login {}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
// Setup the login view to be focus on start
|
||||
columnLogin.updateSelection();
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: navigator.push("ServerSelect")
|
||||
}
|
||||
Reference in new issue
Block a user