<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>USER_BUTTONS</class>
 <widget class="QWidget" name="USER_BUTTONS">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>285</width>
    <height>246</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle">
   <string>User Buttons</string>
  </property>
  <property name="layoutDirection">
   <enum>Qt::LayoutDirection::LeftToRight</enum>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <property name="leftMargin">
    <number>1</number>
   </property>
   <property name="topMargin">
    <number>3</number>
   </property>
   <property name="rightMargin">
    <number>1</number>
   </property>
   <property name="bottomMargin">
    <number>1</number>
   </property>
   <property name="spacing">
    <number>5</number>
   </property>
   <item row="4" column="0">
    <widget class="HalButton" name="ind_sro">
     <property name="enabled">
      <bool>false</bool>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton {
    border-color: black;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    font: 30pt &quot;Probe Basic Bebas Mono&quot;;
}

/*QPushButton:checked[flashState=&quot;true&quot;] {
    background: red;
    color: white;
}*/

QPushButton:checked[flashState=&quot;true&quot;] {
    background: rgb(249, 240, 107);
    color: rgb(36, 31, 49);
}

QPushButton:disabled {
    color: white;
    background: rgb(61, 56, 70);
}</string>
     </property>
     <property name="text">
      <string>SRO</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
     <property name="checked">
      <bool>false</bool>
     </property>
     <property name="flashOnChecked" stdset="0">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="0" column="0">
    <widget class="ActionButton" name="reload_program_button">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>135</width>
       <height>30</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>30</height>
      </size>
     </property>
     <property name="focusPolicy">
      <enum>Qt::FocusPolicy::NoFocus</enum>
     </property>
     <property name="layoutDirection">
      <enum>Qt::LayoutDirection::LeftToRight</enum>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton {
   	font: 15pt &quot;Probe Basic Bebas Mono&quot;;
}</string>
     </property>
     <property name="text">
      <string>RELOAD PGM</string>
     </property>
     <property name="checkable">
      <bool>false</bool>
     </property>
     <property name="actionName" stdset="0">
      <string>program.reload</string>
     </property>
    </widget>
   </item>
   <item row="0" column="1">
    <widget class="ActionButton" name="clear_program_button">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>135</width>
       <height>30</height>
      </size>
     </property>
     <property name="maximumSize">
      <size>
       <width>16777215</width>
       <height>30</height>
      </size>
     </property>
     <property name="focusPolicy">
      <enum>Qt::FocusPolicy::NoFocus</enum>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton {
   	font: 15pt &quot;Probe Basic Bebas Mono&quot;;
}</string>
     </property>
     <property name="text">
      <string>CLEAR PGM</string>
     </property>
     <property name="checkable">
      <bool>false</bool>
     </property>
     <property name="actionName" stdset="0">
      <string>program.clear</string>
     </property>
    </widget>
   </item>
   <item row="3" column="1">
    <widget class="HalButton" name="ind_sglblk">
     <property name="enabled">
      <bool>false</bool>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton {
    border-color: black;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    font: 30pt &quot;Probe Basic Bebas Mono&quot;;
}

/*QPushButton:checked[flashState=&quot;true&quot;] {
    background: red;
    color: white;
}*/

QPushButton:checked {
    background: rgb(249, 240, 107);
    color: rgb(36, 31, 49);
}

QPushButton:disabled {
    color: white;
    background: rgb(61, 56, 70);
}</string>
     </property>
     <property name="text">
      <string>SGL BLK</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="1" column="1">
    <widget class="HalButton" name="ind_blkskp">
     <property name="enabled">
      <bool>false</bool>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton {
    border-color: black;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    font: 30pt &quot;Probe Basic Bebas Mono&quot;;
}

/*QPushButton:checked[flashState=&quot;true&quot;] {
    background: red;
    color: white;
}*/

QPushButton:checked {
    background: rgb(249, 240, 107);
    color: rgb(36, 31, 49);
}

QPushButton:disabled {
    color: white;
    background: rgb(61, 56, 70);
}

</string>
     </property>
     <property name="text">
      <string>BLK SKIP</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="3" column="0">
    <widget class="HalButton" name="ind_fro">
     <property name="enabled">
      <bool>false</bool>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton {
    border-color: black;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    font: 30pt &quot;Probe Basic Bebas Mono&quot;;
}

/*QPushButton:checked[flashState=&quot;true&quot;] {
    background: red;
    color: white;
}*/

QPushButton:checked[flashState=&quot;true&quot;] {
    background: rgb(249, 240, 107);
    color: rgb(36, 31, 49);
}

QPushButton:disabled {
    color: white;
    background: rgb(61, 56, 70);
}</string>
     </property>
     <property name="text">
      <string>FRO</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
     <property name="checked">
      <bool>false</bool>
     </property>
     <property name="flashOnChecked" stdset="0">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="4" column="1">
    <widget class="HalButton" name="ind_optstp">
     <property name="enabled">
      <bool>false</bool>
     </property>
     <property name="styleSheet">
      <string notr="true">QPushButton {
    border-color: black;
    border-style: solid;
    border-radius: 5px;
    border-width: 1px;
    font: 30pt &quot;Probe Basic Bebas Mono&quot;;
}

/*QPushButton:checked[flashState=&quot;true&quot;] {
    background: red;
    color: white;
}*/

QPushButton:checked {
    background: rgb(249, 240, 107);
    color: rgb(36, 31, 49);
}

QPushButton:disabled {
    color: white;
    background: rgb(61, 56, 70);
}</string>
     </property>
     <property name="text">
      <string>OPT STP</string>
     </property>
     <property name="checkable">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="StatusLabel" name="ind_pgmstatus">
     <property name="styleSheet">
      <string notr="true">StatusLabel{
border-color: black;
border-style: solid;
border-radius: 5px;
border-width: 1px;
font: 30pt &quot;Probe Basic Bebas Mono&quot;;
}

StatusLabel[style=&quot;stopped&quot;] {
background: rgb(239, 41, 41);
color: white;
}

StatusLabel[style=&quot;on&quot;] {
background: rgb(138, 226, 52);
color: white;
}

StatusLabel[style=&quot;flash_yellow&quot;][flashState=&quot;true&quot;] {
background: rgb(249, 240, 107);
color: rgb(36, 31, 49);
}

StatusLabel[style=&quot;flash_toggle&quot;][flashState=&quot;true&quot;] {
background: rgb(138, 226, 52);
color: white;
}</string>
     </property>
     <property name="alignment">
      <set>Qt::AlignmentFlag::AlignCenter</set>
     </property>
     <property name="rules" stdset="0">
      <string>[{&quot;name&quot;: &quot;interp_state_text&quot;, &quot;property&quot;: &quot;Text&quot;, &quot;expression&quot;: &quot;{1: 'STOPPED', 2: 'RUNNING', 3: 'FD HLD', 4: 'WAITING'}.get(ch[0], '')&quot;, &quot;channels&quot;: [{&quot;url&quot;: &quot;status:interp_state&quot;, &quot;trigger&quot;: true}]}, {&quot;name&quot;: &quot;interp_state_color&quot;, &quot;property&quot;: &quot;Style Class&quot;, &quot;expression&quot;: &quot;{1: 'stopped', 2: 'on', 3: 'flash_yellow', 4: 'flash_toggle'}.get(ch[0], '')&quot;, &quot;channels&quot;: [{&quot;url&quot;: &quot;status:interp_state&quot;, &quot;trigger&quot;: true}]}, {&quot;name&quot;: &quot;interp_state_flash&quot;, &quot;property&quot;: &quot;Flashing&quot;, &quot;expression&quot;: &quot;ch[0] in (3, 4)&quot;, &quot;channels&quot;: [{&quot;url&quot;: &quot;status:interp_state&quot;, &quot;trigger&quot;: true}]}]</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>ActionButton</class>
   <extends>QPushButton</extends>
   <header>qtpyvcp.widgets.button_widgets.action_button</header>
  </customwidget>
  <customwidget>
   <class>StatusLabel</class>
   <extends>QLabel</extends>
   <header>qtpyvcp.widgets.display_widgets.status_label</header>
  </customwidget>
  <customwidget>
   <class>HalButton</class>
   <extends>QPushButton</extends>
   <header>qtpyvcp.widgets.hal_widgets.hal_button</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>
