view templates/default.svt @ 911:c08df7de50f6

Specify UTF-8 encoding when writing XML formats -- the XML header always indicated UTF-8 but the QTextStream defaulted to local encoding which is generally not UTF-8 on Windows
author Chris Cannam
date Mon, 02 Mar 2015 17:20:24 +0000
parents 0db5796a41da
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sonic-visualiser>
<sv>
<data>
  <layer id="1" type="timeruler" name="Ruler" model="0" />
  <layer id="2" type="waveform" name="Waveform" model="0"  gain="1" showMeans="1" greyscale="1" channelMode="0" channel="-1" scale="0" aggressive="0" autoNormalize="0" />
</data>
<display>
  <view centre="0" zoom="1024" followPan="1" followZoom="1" tracking="page"  type="pane" centreLineVisible="1">
    <layer id="1" type="timeruler" name="Ruler" model="0" visible="true"/>
    <layer id="2" type="waveform" name="Waveform" model="0" visible="true"/>
  </view>
</display>
</sv>