Source

hgcr-gui / hgcr.ui

Full commit
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>CodeREviewDialog</class>
 <widget class="QDialog" name="CodeREviewDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>735</width>
    <height>398</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>CodeReview</string>
  </property>
  <layout class="QVBoxLayout" name="dialog_layout" stretch="0,0,0,0">
   <item>
    <layout class="QHBoxLayout" name="buttons_layout">
     <item>
      <widget class="QPushButton" name="refresh_button">
       <property name="toolTip">
        <string>Refresh</string>
       </property>
       <property name="text">
        <string>Refresh</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="add_button">
       <property name="toolTip">
        <string>Add Files to CR list</string>
       </property>
       <property name="styleSheet">
        <string notr="true"/>
       </property>
       <property name="text">
        <string>Add</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="remove_button">
       <property name="toolTip">
        <string>Remove Files from CR list</string>
       </property>
       <property name="text">
        <string>Remove</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="done_button">
       <property name="toolTip">
        <string>Mark CR as Complete</string>
       </property>
       <property name="text">
        <string>Done</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="commit_button">
       <property name="toolTip">
        <string>Commit Changes</string>
       </property>
       <property name="text">
        <string>Commit</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="email_button">
       <property name="toolTip">
        <string>Commit and Email CR request to one or more recipients</string>
       </property>
       <property name="text">
        <string>Email</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="history_button">
       <property name="toolTip">
        <string>History of selected file</string>
       </property>
       <property name="text">
        <string>History</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QGroupBox" name="mode_viewer">
     <layout class="QHBoxLayout" name="radio_layout">
      <item>
       <widget class="QLabel" name="labelStatus">
        <property name="text">
         <string>Status:</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="fileStatus"/>
      </item>
      <item>
       <widget class="QLabel" name="labelResponcibility">
        <property name="locale">
         <locale language="English" country="UnitedStates"/>
        </property>
        <property name="text">
         <string>Reviewer / Developer Filter:</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="responcibilitySelector"/>
      </item>
      <item>
       <spacer name="horizontalSpacer">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QTableWidget" name="list_of_files">
     <property name="styleSheet">
      <string notr="true"/>
     </property>
     <property name="editTriggers">
      <set>QAbstractItemView::AnyKeyPressed|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
     </property>
     <property name="selectionBehavior">
      <enum>QAbstractItemView::SelectRows</enum>
     </property>
     <property name="sortingEnabled">
      <bool>true</bool>
     </property>
     <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
      <bool>true</bool>
     </attribute>
     <attribute name="horizontalHeaderStretchLastSection">
      <bool>true</bool>
     </attribute>
     <attribute name="verticalHeaderShowSortIndicator" stdset="0">
      <bool>true</bool>
     </attribute>
     <column>
      <property name="text">
       <string>Status</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Revision</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Round</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Developer</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string>Reviewer</string>
      </property>
     </column>
     <column>
      <property name="text">
       <string notr="true">Path</string>
      </property>
     </column>
    </widget>
   </item>
   <item>
    <widget class="QLabel" name="status">
     <property name="layoutDirection">
      <enum>Qt::RightToLeft</enum>
     </property>
     <property name="text">
      <string>0 selected, 0 total</string>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>email_button</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>refresh_button</sender>
   <signal>clicked()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onRefreshButtonClicked()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>66</x>
     <y>21</y>
    </hint>
    <hint type="destinationlabel">
     <x>367</x>
     <y>198</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>add_button</sender>
   <signal>clicked()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onAddButtonClicked()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>243</x>
     <y>31</y>
    </hint>
    <hint type="destinationlabel">
     <x>249</x>
     <y>199</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>remove_button</sender>
   <signal>clicked()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onRemoveButtonClicked()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>363</x>
     <y>31</y>
    </hint>
    <hint type="destinationlabel">
     <x>249</x>
     <y>199</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>done_button</sender>
   <signal>clicked()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onDoneButtonClicked()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>484</x>
     <y>31</y>
    </hint>
    <hint type="destinationlabel">
     <x>249</x>
     <y>199</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>commit_button</sender>
   <signal>clicked()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onCommitButtonClicked()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>604</x>
     <y>31</y>
    </hint>
    <hint type="destinationlabel">
     <x>249</x>
     <y>199</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>email_button</sender>
   <signal>clicked()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onEmailButtonClicked()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>724</x>
     <y>31</y>
    </hint>
    <hint type="destinationlabel">
     <x>249</x>
     <y>199</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>history_button</sender>
   <signal>clicked()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onHistoryButtonClicked()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>676</x>
     <y>21</y>
    </hint>
    <hint type="destinationlabel">
     <x>367</x>
     <y>198</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>list_of_files</sender>
   <signal>doubleClicked(QModelIndex)</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onTableDoubleClick()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>367</x>
     <y>226</y>
    </hint>
    <hint type="destinationlabel">
     <x>367</x>
     <y>198</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>list_of_files</sender>
   <signal>cellChanged(int,int)</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onTableEdit()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>367</x>
     <y>226</y>
    </hint>
    <hint type="destinationlabel">
     <x>367</x>
     <y>198</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>list_of_files</sender>
   <signal>itemSelectionChanged()</signal>
   <receiver>CodeREviewDialog</receiver>
   <slot>onTableSelection()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>367</x>
     <y>226</y>
    </hint>
    <hint type="destinationlabel">
     <x>367</x>
     <y>198</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>