V3.6 Upgrade processing - put the current chart config into a general perspective

Renamed Resouces/xml/*-layout.xml files to Resources/xml/*-perspectives.xml
Removed deprecated Summary from Activities and Trends, and added default Overview to Trends
Added enclosing <Layouts></Layouts> and General perspective with proper type to each one
This provides default layouts for newly created athletes.
We still need to update layouts before release and to enable Reset Layout.
This commit is contained in:
Alejandro Martinez
2021-08-08 14:24:29 -03:00
parent 91f2c46c3e
commit 1f77f08ae0
5 changed files with 20 additions and 35 deletions

View File

@@ -107,11 +107,11 @@
<file>translations/gc_sv.qm</file>
<file>xml/charts.xml</file>
<file>xml/metadata.xml</file>
<file>xml/train-layout.xml</file>
<file>xml/train-perspectives.xml</file>
<file>xml/video-layout.xml</file>
<file>xml/diary-layout.xml</file>
<file>xml/analysis-layout.xml</file>
<file>xml/home-layout.xml</file>
<file>xml/diary-perspectives.xml</file>
<file>xml/analysis-perspectives.xml</file>
<file>xml/home-perspectives.xml</file>
<file>ini/measures.ini</file>
<file>html/ltm-summary.html</file>
<file>images/oxygen/power-off.png</file>

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,5 @@
<layout name="diary" style="2">
<layouts>
<layout name="General" style="2" type="4" expression="">
<chart id="7" name="" title="Time and Distance" >
<property name="title" type="QString" value="Time and Distance" />
<property name="subtitle" type="QString" value="" />
@@ -133,3 +134,4 @@
<property name="useSelected" type="int" value="4" />
</chart>
</layout>
</layouts>

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,5 @@
<layout name="train" style="2">
<layouts>
<layout name="General" style="2" type="1" expression="">
<chart id="22" name="" title="Power" >
<property name="title" type="QString" value="Power" />
<property name="subtitle" type="QString" value="" />
@@ -189,3 +190,4 @@
<property name="style" type="int" value="2" />
</chart>
</layout>
</layouts>