<?xml version="1.0" encoding="UTF-8"?>
<interface id="demo" name="Demo Panel" version="1" width="1200" height="800">
  <!-- Text view widgets -->
  <widget type="textview" id="tv1" x="20" y="20" w="200" h="60">
    <signal ds="stub" name="sine_1hz"/>
    <option key="label" value="Sine 1 Hz"/>
  </widget>
  <widget type="textview" id="tv2" x="240" y="20" w="200" h="60">
    <signal ds="stub" name="ramp_10s"/>
    <option key="label" value="Ramp 10s"/>
  </widget>

  <!-- Gauge widgets -->
  <widget type="gauge" id="g1" x="20" y="100" w="160" h="160">
    <signal ds="stub" name="sine_1hz"/>
    <option key="label" value="Sine 1Hz"/>
    <option key="min" value="-1"/>
    <option key="max" value="1"/>
  </widget>
  <widget type="gauge" id="g2" x="200" y="100" w="160" h="160">
    <signal ds="stub" name="ramp_10s"/>
    <option key="label" value="Ramp"/>
    <option key="min" value="0"/>
    <option key="max" value="100"/>
  </widget>

  <!-- Bar widgets -->
  <widget type="barh" id="bh1" x="20" y="280" w="200" h="40">
    <signal ds="stub" name="ramp_10s"/>
    <option key="label" value="Ramp H"/>
    <option key="min" value="0"/>
    <option key="max" value="100"/>
  </widget>
  <widget type="barv" id="bv1" x="240" y="280" w="40" h="160">
    <signal ds="stub" name="sine_1hz"/>
    <option key="label" value="Sine V"/>
    <option key="min" value="-1"/>
    <option key="max" value="1"/>
  </widget>

  <!-- LED -->
  <widget type="led" id="led1" x="300" y="280" w="60" h="60">
    <signal ds="stub" name="toggle_1hz"/>
    <option key="label" value="Toggle"/>
    <option key="condition" value="value > 0"/>
  </widget>

  <!-- Set value -->
  <widget type="setvalue" id="sv1" x="20" y="460" w="200" h="60">
    <signal ds="stub" name="setpoint"/>
    <option key="label" value="Setpoint"/>
  </widget>

  <!-- Button -->
  <widget type="button" id="btn1" x="240" y="460" w="120" h="60">
    <signal ds="stub" name="setpoint"/>
    <option key="label" value="Reset SP"/>
    <option key="value" value="25"/>
  </widget>

  <!-- Plot timeseries -->
  <widget type="plot" id="plot1" x="380" y="20" w="400" h="200">
    <signal ds="stub" name="sine_1hz"/>
    <signal ds="stub" name="sine_01hz"/>
    <option key="plotType" value="timeseries"/>
    <option key="timeWindow" value="30"/>
    <option key="label" value="Sine signals"/>
  </widget>

  <!-- Plot histogram -->
  <widget type="plot" id="plot2" x="380" y="240" w="400" h="200">
    <signal ds="stub" name="noise"/>
    <option key="plotType" value="histogram"/>
    <option key="label" value="Noise histogram"/>
  </widget>

  <!-- Text label -->
  <widget type="textlabel" id="lbl1" x="800" y="20" w="200" h="40">
    <option key="text" value="System Status"/>
  </widget>

  <!-- Multi LED -->
  <widget type="multiled" id="ml1" x="800" y="80" w="200" h="120">
    <signal ds="stub" name="toggle_1hz"/>
    <option key="label" value="Bits"/>
    <option key="bits" value="4"/>
  </widget>
</interface>
