diff options
author | Andy Nichols <andy.nichols@qt.io> | 2018-07-09 13:56:21 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-07-26 13:00:51 +0000 |
commit | af394cdec7f0d8cd1f9c404a962878653c93d51a (patch) | |
tree | b5fef582b871a0e4684fe4955f1cb1c087f95b57 /res | |
parent | 1a69613dcd7e414b9928a91229b0c04ee8499f49 (diff) |
Move Remote Deployment code into the runtime
I want to be able to set this code up in runtimes other than the
viewer, so it makes sense to move this into the runtime library.
Change-Id: Idd66d852b597d34b3de9faebbeacc2c9923fd562
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'res')
-rw-r--r-- | res/intro/Intro.uia | 17 | ||||
-rw-r--r-- | res/intro/Intro.uip | 27 |
2 files changed, 44 insertions, 0 deletions
diff --git a/res/intro/Intro.uia b/res/intro/Intro.uia new file mode 100644 index 0000000..ce4fc62 --- /dev/null +++ b/res/intro/Intro.uia @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<application> + <assets initial="Intro"> + <presentation id="Intro" src="Intro.uip"/> + <dataInput name="connectionInfo" type="String"/> + <dataInput name="errorInfo" type="String"/> + </assets> + <statemachine ref="#logic"> + <visual-states> + <state ref="Initial"> + <enter> + <goto-slide element="main:Scene" rel="next"/> + </enter> + </state> + </visual-states> + </statemachine> +</application> diff --git a/res/intro/Intro.uip b/res/intro/Intro.uip new file mode 100644 index 0000000..44279c1 --- /dev/null +++ b/res/intro/Intro.uip @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<UIP version="4" > + <Project > + <ProjectSettings author="" company="" presentationWidth="1280" presentationHeight="720" maintainAspect="False" > + <CustomColors count="16" >#ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff #ffffff</CustomColors> + </ProjectSettings> + <Graph > + <Scene id="Scene" backgroundcolor="0.180392 0.184314 0.188235" > + <Layer id="Layer" > + <Camera id="Camera" /> + <Text id="Text" /> + <Text id="errorText" /> + </Layer> + </Scene> + </Graph> + <Logic > + <State name="Master Slide" component="#Scene" > + <Add ref="#Layer" background="Transparent" backgroundcolor="0.211765 0.211765 0.211765" height="80" left="10" top="10" width="80" /> + <Add ref="#Camera" orthographic="True" /> + <State id="Scene-Slide1" name="Slide1" > + <Add ref="#Text" name="connectionText" controlledproperty="connectionInfo textstring" font="TitilliumWeb-Regular" position="6.41181 110 0" size="48" textstring="Use IP: x.x.x.x and Port: 36000 in Qt 3D Studio Editor to connect to this viewer. Use File/Open... to open a local presentation." /> + <Add ref="#errorText" name="errorText" controlledproperty="errorInfo textstring" font="TitilliumWeb-Regular" position="0 -232.208 0" size="38" textcolor="1 0.341176 0.341176" textstring="Error Text" /> + </State> + </State> + </Logic> + </Project> +</UIP> |