<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>455</width>
    <height>453</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <layout class="QGridLayout" name="gridLayout_3">
    <item row="0" column="0">
     <widget class="QScrollArea" name="StatusVariables">
      <property name="minimumSize">
       <size>
        <width>0</width>
        <height>193</height>
       </size>
      </property>
      <property name="widgetResizable">
       <bool>true</bool>
      </property>
      <widget class="QWidget" name="scrollAreaWidgetContents_2">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
         <width>435</width>
         <height>191</height>
        </rect>
       </property>
       <layout class="QGridLayout" name="gridLayout_4">
        <property name="leftMargin">
         <number>10</number>
        </property>
        <property name="topMargin">
         <number>10</number>
        </property>
        <property name="rightMargin">
         <number>10</number>
        </property>
        <property name="bottomMargin">
         <number>10</number>
        </property>
        <property name="spacing">
         <number>6</number>
        </property>
#set $i = 0
#for $p in $registers
#if $p.type == "Status"
        <item row="$i" column="0">
         <widget class="QLabel" name="${p.name}">
          <property name="text">
           <string> ${p.name} </string>
          </property>
         </widget>
        </item>
        <item row="$i" column="1">
         <widget class="caLineEdit" name="\$(DEVICE):\$(PORT):${p.name}">
          <property name="channel" stdset="0">
           <string notr="true">\$(DEVICE):\$(PORT):${p.name}</string>
          </property>
          <property name="formatType">
           <enum>caLineEdit::hexadecimal</enum>
          </property>
         </widget>
        </item>
#end if
#set $i = $i + 1
#end for
       </layout>
      </widget>
     </widget>
    </item>
    <item row="1" column="0">
     <widget class="QScrollArea" name="ConfigurationVariables">
      <property name="widgetResizable">
       <bool>true</bool>
      </property>
      <widget class="QWidget" name="scrollAreaWidgetContents_3">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
         <width>435</width>
         <height>190</height>
        </rect>
       </property>
       <layout class="QGridLayout" name="gridLayout_5">
        <property name="leftMargin">
         <number>10</number>
        </property>
        <property name="topMargin">
         <number>10</number>
        </property>
        <property name="rightMargin">
         <number>10</number>
        </property>
        <property name="bottomMargin">
         <number>10</number>
        </property>
        <property name="spacing">
         <number>6</number>
        </property>
#set $i = 0
#for $p in $registers
#if $p.type == "Configuration"
        <item row="$i" column="0">
         <widget class="QLabel" name="${p.name}">
          <property name="text">
           <string> ${p.name} </string>
          </property>
         </widget>
        </item>
        <item row="$i" column="1">
         <widget class="caTextEntry" name="\$(DEVICE):\$(PORT):${p.name}">
          <property name="channel" stdset="0">
           <string notr="true">\$(DEVICE):\$(PORT):${p.name}</string>
          </property>
          <property name="formatType">
           <enum>caLineEdit::hexadecimal</enum>
          </property>
         </widget>
        </item>
#end if
#set $i = $i + 1
#end for
#if $varExists('commands')
#for $c in $commands
        <item row="$i" column="0">
         <widget class="QLabel" name="${p.name}">
          <property name="text">
           <string> ${c.name} </string>
          </property>
         </widget>
        </item>
        <item row="$i" column="1">
         <widget class="caMessageButton" name="${c.name}">
          <property name="channel" stdset="0">
           <string notr="true">\$(DEVICE):\$(PORT):C_${c.name}.PROC</string>
          </property>
          <property name="label">
           <string notr="true">Execute</string>
          </property>
          <property name="releaseMessage">
           <string notr="true"/>
          </property>
          <property name="pressMessage">
           <string notr="true">1</string>
          </property>
         </widget>
        </item>
#set $i = $i + 1
#end for
#end if
       </layout>
      </widget>
     </widget>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>455</width>
     <height>22</height>
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
 </widget>
 <customwidgets>
  <customwidget>
   <class>caTextEntry</class>
   <extends>caLineEdit</extends>
   <header>caTextEntry</header>
  </customwidget>
  <customwidget>
   <class>caLineEdit</class>
   <extends>QLineEdit</extends>
   <header>caLineEdit</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>
