Difference between revisions of "New QOrbiter Setup"
From LinuxMCE
Langstonius (Talk | contribs) (→Properties) |
Langstonius (Talk | contribs) (→Properties) |
||
Line 24: | Line 24: | ||
fillColor: "grey" | fillColor: "grey" | ||
anchors.verticalCenter: parent.verticalCenter | anchors.verticalCenter: parent.verticalCenter | ||
+ | } | ||
+ | |- | ||
+ | | extip | ||
+ | | string | ||
+ | | none | ||
+ | | The external router ip as read from the config.xml. Will be set to fill.me.in.com by default Also accepts hostname instead of ip in string format | ||
+ | | This populates the TextInput element with the extip | ||
+ | TextInput { | ||
+ | id: ext_routerip | ||
+ | width: 80 | ||
+ | text: extip | ||
+ | font.pixelSize: 10 | ||
+ | font.family: "Droid Sans" | ||
+ | // onTextChanged: setRouterIp(routerip.text) | ||
+ | fillColor: "grey" | ||
+ | anchors.verticalCenter: parent.verticalCenter | ||
+ | visible: false | ||
} | } | ||
|} | |} |
Revision as of 19:19, 1 October 2012
In order to create a proper Splash / Setup screen, certain key things but be implemented. This is a guide to those functions and properties that must be set for a new QOrbiter to be created.
Properties
Property Name | Property Type | Signal | Description | Example |
---|---|---|---|---|
sRouterIP | string | none | The internal router ip as read from the config.xml. Will be set to 192.168.80.1 Also accepts hostname instead of ip in string format | This populates the TextInput element with the routerip
TextInput { id: routerip width: 80 text: srouterip font.pixelSize: 10 font.family: "Droid Sans" fillColor: "grey" anchors.verticalCenter: parent.verticalCenter } |
extip | string | none | The external router ip as read from the config.xml. Will be set to fill.me.in.com by default Also accepts hostname instead of ip in string format | This populates the TextInput element with the extip
TextInput { id: ext_routerip width: 80 text: extip font.pixelSize: 10 font.family: "Droid Sans" // onTextChanged: setRouterIp(routerip.text) fillColor: "grey" anchors.verticalCenter: parent.verticalCenter visible: false } |
Splash Page
This page is not the traditional Splash screen. Instead of it being a loading screen, it should contain the following
- A loader to switch between the Connection Screen and the new QOrbiter setup screen
- logic to change screens and anything else you want done in the the setup screens before connecting to the router.
Connection Screen
This screen should be the first loaded by the Splash.qml and contain the neccesary elements to establish a connection to thr router. This includes:
- Text entry for device number
- text entry from internal ip / hostname
- text entry box for external ip / hostname.
- Button to connect
- Button to start new QOrbiter setup