<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE FreeMedForms>

<FreeMedForms>

  <formdescription>
    <!-- Non translatable values -->
    <authors>Eric Maeker, MD</authors>
    <version>0.9.4</version>
    <fmfv>0.7.0</fmfv>
    <cdate>2011-12-29</cdate>
    <lmdate>2011-12-29</lmdate>
    <icon>test.png</icon>
    <weblink></weblink>
    <bibliography pmid=""></bibliography>

    <!-- Translatable values -->
    <license>GPLv3</license>
    <description lang="xx">Test UI file access and usage</description>
    <description lang="fr">Teste l'accès et l'utilisation d'interface QtUi</description>
    <category lang="xx">Test</category>
    <category lang="fr">Test</category>
    <specialties lang="fr">Test</specialties>
    <specialties lang="xx">Test</specialties>

  </formdescription>

 <file type="script" name="onload">./scripts/xx/script.js</file>

 <MedForm name="Test::Ui::FirstTest" uifilename="./ui/xx/test.ui">
   <uilink label="formLabel"/>
   <label lang="xx">Test UI file access and usage</label>
   <options>DontPrintEmptyValues;UseFormNameAsNameSpace</options>

     <Item name="GroupTest" type="group">
       <uilink label="" widget="groupBox"/>
       <label lang="xx">My group name</label>
       <label lang="fr">Le groupbox</label>
       <options>notprintable;vertical;DontPrintEmptyValues</options>

         <Item name="DbSpinTest" type="doublespin">
           <uilink label="doubleSpinBoxlabel" widget="doubleSpinBox"/>
           <label lang="xx">Weight</label>
           <label lang="fr">Poids</label>
           <options>DontPrintEmptyValues</options>
           <script>
             <onValueChanged>testDoubleSpin();</onValueChanged>
           </script>
         </Item>

         <Item name="ComboTest" type="combo">
           <uilink label="comboBoxlabel" widget="comboBox"/>
           <label lang="xx">Weight unit</label>
           <label lang="fr">Unité de poids</label>
           <options>DontPrintEmptyValues</options>
           <value>
             <uuid id="0">kg</uuid>
             <uuid id="1">lbl</uuid>
             <possible id="0" lang="xx">Kilograms</possible>
             <possible id="1" lang="xx">Pounds</possible>
             <possible id="0" lang="fr">Kilogrames</possible>
             <possible id="1" lang="fr">Livres</possible>
           </value>
         </Item>

         <Item name="ShortTextTest" type="shorttext">
           <uilink label="lineEditlabel" widget="lineEdit"/>
           <label lang="xx">My lineEdit</label>
           <label lang="fr">Le bo lineEdit</label>
           <options>DontPrintEmptyValues</options>
         </Item>

     </Item>

     <Item name="ComboTest2" type="combo">
       <label lang="xx">Creatinine unit</label>
       <options>DontPrintEmptyValues</options>
       <value>
         <uuid id="0">mg/L</uuid>
         <uuid id="1">µmol/L</uuid>
         <possible id="0" lang="xx">mg/L</possible>
         <possible id="1" lang="xx">µmol/L</possible>
       </value>
     </Item>

     <Item name="EditorTest" type="texteditor">
       <uilink label="textEdit_2label" widget="" layout="textEditorLayout"/>
       <label lang="xx">My HTML editor</label>
       <options>DontPrintEmptyValues</options>
     </Item>


    <Item name="IdentityTest" type="identity">
      <uilink label="" widget="" layout="identityLayout"/>
      <options>DontPrintEmptyValues</options>
    </Item>

    <Item name="NSSTest" type="frenchnss">
      <uilink label="nssLabel" widget="" layout="nssLayout"/>
      <options>DontPrintEmptyValues</options>
    </Item>

 </MedForm>

</FreeMedForms>
