<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>ProjectView</class>
 <widget class="QMainWindow" name="ProjectView">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>668</width>
    <height>644</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <widget class="QWidget" name="centralwidget">
   <property name="sizePolicy">
    <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <item>
     <widget class="QTabWidget" name="tabWidget">
      <property name="enabled">
       <bool>true</bool>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="minimumSize">
       <size>
        <width>0</width>
        <height>10</height>
       </size>
      </property>
      <property name="toolTip">
       <string/>
      </property>
      <property name="currentIndex">
       <number>0</number>
      </property>
      <widget class="QWidget" name="identifications">
       <attribute name="title">
        <string>Project</string>
       </attribute>
       <layout class="QGridLayout" name="gridLayout">
        <item row="2" column="0">
         <widget class="QWidget" name="identifications_widget" native="true"/>
        </item>
        <item row="3" column="0">
         <spacer name="verticalSpacer_3">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::MinimumExpanding</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="1" column="0">
         <widget class="QComboBox" name="identifications_combobox">
          <property name="editable">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item row="0" column="0">
         <widget class="QLineEdit" name="project_name_line_edit"/>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="filter_parameters">
       <attribute name="title">
        <string>Filter parameters</string>
       </attribute>
       <layout class="QGridLayout" name="gridLayout_3">
        <item row="0" column="0">
         <layout class="QVBoxLayout" name="filter_parameter_tab_layout">
          <item>
           <widget class="AutomaticFilterWidget" name="filter_parameter_widget" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>10</height>
             </size>
            </property>
            <property name="sizeIncrement">
             <size>
              <width>0</width>
              <height>0</height>
             </size>
            </property>
           </widget>
          </item>
          <item>
           <widget class="ContaminantWidget" name="contaminant_widget" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>0</width>
              <height>10</height>
             </size>
            </property>
           </widget>
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout">
            <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>
            <item>
             <widget class="QPushButton" name="apply_filter_button">
              <property name="text">
               <string>Apply</string>
              </property>
              <property name="icon">
               <iconset resource="../../i2masschroq.qrc">
                <normaloff>:/icons/resources/icons/apache/unicons/check.svg</normaloff>:/icons/resources/icons/apache/unicons/check.svg</iconset>
              </property>
              <property name="iconSize">
               <size>
                <width>20</width>
                <height>20</height>
               </size>
              </property>
             </widget>
            </item>
           </layout>
          </item>
          <item>
           <spacer name="verticalSpacer_2">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeType">
             <enum>QSizePolicy::MinimumExpanding</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
         </layout>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="fdr">
       <property name="toolTip">
        <string/>
       </property>
       <attribute name="title">
        <string>FDR</string>
       </attribute>
       <layout class="QGridLayout" name="gridLayout2">
        <item row="0" column="0">
         <layout class="QVBoxLayout" name="verticalLayout_2">
          <item>
           <widget class="QGroupBox" name="groupBox_3">
            <property name="toolTip">
             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;FDR is computed using proteins tagged as &amp;quot;decoy&amp;quot; on all valid peptides (check filter parameters)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
            </property>
            <property name="title">
             <string>False discovery rate (FDR)</string>
            </property>
            <layout class="QGridLayout" name="gridLayout_4">
             <item row="1" column="1">
              <widget class="QLabel" name="peptide_fdr_label">
               <property name="toolTip">
                <string/>
               </property>
               <property name="text">
                <string>0 %</string>
               </property>
               <property name="textInteractionFlags">
                <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
               </property>
              </widget>
             </item>
             <item row="2" column="0">
              <widget class="QLabel" name="label_3">
               <property name="text">
                <string>FDR on proteins:</string>
               </property>
              </widget>
             </item>
             <item row="1" column="0">
              <widget class="QLabel" name="label">
               <property name="text">
                <string>FDR on peptides:</string>
               </property>
              </widget>
             </item>
             <item row="2" column="1">
              <widget class="QLabel" name="protein_fdr_label">
               <property name="toolTip">
                <string/>
               </property>
               <property name="text">
                <string>0 %</string>
               </property>
               <property name="textInteractionFlags">
                <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
               </property>
              </widget>
             </item>
             <item row="0" column="1">
              <widget class="QLabel" name="psm_fdr_label">
               <property name="text">
                <string>0 %</string>
               </property>
               <property name="textInteractionFlags">
                <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
               </property>
              </widget>
             </item>
             <item row="0" column="0">
              <widget class="QLabel" name="label_6">
               <property name="text">
                <string>FDR on psm:</string>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
          <item>
           <widget class="DecoyWidget" name="decoy_widget" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>10</width>
              <height>10</height>
             </size>
            </property>
           </widget>
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout_2">
            <item>
             <spacer name="horizontalSpacer_2">
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>40</width>
                <height>20</height>
               </size>
              </property>
             </spacer>
            </item>
            <item>
             <widget class="QPushButton" name="apply_filter_decoy_button">
              <property name="text">
               <string>Apply</string>
              </property>
              <property name="icon">
               <iconset resource="../../i2masschroq.qrc">
                <normaloff>:/icons/resources/icons/apache/unicons/check.svg</normaloff>:/icons/resources/icons/apache/unicons/check.svg</iconset>
              </property>
              <property name="iconSize">
               <size>
                <width>20</width>
                <height>20</height>
               </size>
              </property>
             </widget>
            </item>
           </layout>
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout_3">
            <item>
             <spacer name="horizontalSpacer_3">
              <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>
          </item>
          <item>
           <spacer name="verticalSpacer">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeType">
             <enum>QSizePolicy::MinimumExpanding</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
         </layout>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="mass_precision">
       <property name="toolTip">
        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Mass precision is computed by measuring all mass delta between theoretical peptide mass and observed peptide mass of all valid and manually checked proteins (but not decoy).&lt;/p&gt;&lt;p&gt;Each peptide evidence is only counted once (a peptide evidence is a spectrum associated to a peptide).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
       </property>
       <attribute name="title">
        <string>Mass precision</string>
       </attribute>
       <layout class="QGridLayout" name="gridLayout_2">
        <item row="0" column="0">
         <layout class="QVBoxLayout" name="verticalLayout_5">
          <item>
           <widget class="QWidget" name="widget" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <layout class="QVBoxLayout" name="verticalLayout_7">
             <item>
              <layout class="QFormLayout" name="formLayout_2">
               <property name="sizeConstraint">
                <enum>QLayout::SetMinimumSize</enum>
               </property>
               <item row="0" column="1">
                <widget class="QComboBox" name="precision_unit_combobox">
                 <item>
                  <property name="text">
                   <string>ppm</string>
                  </property>
                 </item>
                 <item>
                  <property name="text">
                   <string>dalton</string>
                  </property>
                 </item>
                </widget>
               </item>
               <item row="1" column="0">
                <widget class="QLabel" name="label_2">
                 <property name="text">
                  <string>Mean: </string>
                 </property>
                </widget>
               </item>
               <item row="1" column="1">
                <widget class="QLabel" name="mass_precision_mean_label">
                 <property name="text">
                  <string>0</string>
                 </property>
                </widget>
               </item>
               <item row="2" column="0">
                <widget class="QLabel" name="label_4">
                 <property name="text">
                  <string>Median: </string>
                 </property>
                </widget>
               </item>
               <item row="2" column="1">
                <widget class="QLabel" name="mass_precision_median_label">
                 <property name="text">
                  <string>0</string>
                 </property>
                </widget>
               </item>
               <item row="3" column="0">
                <widget class="QLabel" name="label_5">
                 <property name="text">
                  <string>Standard deviation: </string>
                 </property>
                </widget>
               </item>
               <item row="3" column="1">
                <widget class="QLabel" name="mass_precision_sd_label">
                 <property name="toolTip">
                  <string>Mass deviation is computed on all valid and checked proteins but not decoy</string>
                 </property>
                 <property name="text">
                  <string>0</string>
                 </property>
                </widget>
               </item>
               <item row="0" column="0">
                <widget class="QLabel" name="label_7">
                 <property name="text">
                  <string>Unit: </string>
                 </property>
                </widget>
               </item>
              </layout>
             </item>
            </layout>
           </widget>
          </item>
          <item>
           <widget class="QCustomPlot" name="mass_histogram_widget" native="true">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
           </widget>
          </item>
         </layout>
        </item>
       </layout>
      </widget>
      <widget class="QWidget" name="tidd_tab">
       <attribute name="title">
        <string>TIDD</string>
       </attribute>
       <layout class="QVBoxLayout" name="verticalLayout_3">
        <item>
         <layout class="QFormLayout" name="formLayout">
          <item row="1" column="0">
           <widget class="QLabel" name="label_8">
            <property name="text">
             <string>Max iteration (SVM)</string>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QLabel" name="label_9">
            <property name="text">
             <string>Max train size</string>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="QSpinBox" name="max_train_size_spinbox">
            <property name="minimum">
             <number>100</number>
            </property>
            <property name="maximum">
             <number>10000</number>
            </property>
            <property name="value">
             <number>1000</number>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QSpinBox" name="max_iteration_spinbox">
            <property name="minimum">
             <number>1</number>
            </property>
            <property name="maximum">
             <number>40</number>
            </property>
           </widget>
          </item>
          <item row="0" column="0">
           <widget class="QLabel" name="label_10">
            <property name="text">
             <string>MS2 precision</string>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="pappso::PrecisionWidget" name="precision_widget" native="true"/>
          </item>
         </layout>
        </item>
        <item>
         <widget class="QLabel" name="tidd_results_text_label">
          <property name="text">
           <string/>
          </property>
          <property name="textInteractionFlags">
           <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
          </property>
         </widget>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout_4">
          <item>
           <spacer name="horizontalSpacer_4">
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>40</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <widget class="QPushButton" name="run_tidd_button">
            <property name="text">
             <string>run TIDD</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <spacer name="verticalSpacer_4">
          <property name="orientation">
           <enum>Qt::Vertical</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>20</width>
            <height>40</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </widget>
     </widget>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>668</width>
     <height>25</height>
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
 </widget>
 <customwidgets>
  <customwidget>
   <class>ContaminantWidget</class>
   <extends>QWidget</extends>
   <header>gui/widgets/contaminant_widget/contaminantwidget.h</header>
   <container>1</container>
   <slots>
    <signal>changed()</signal>
   </slots>
  </customwidget>
  <customwidget>
   <class>AutomaticFilterWidget</class>
   <extends>QWidget</extends>
   <header>gui/widgets/automatic_filter_widget/automaticfilterwidget.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>QCustomPlot</class>
   <extends>QWidget</extends>
   <header>qcustomplot.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>DecoyWidget</class>
   <extends>QWidget</extends>
   <header>gui/widgets/decoy_widget/decoywidget.h</header>
   <container>1</container>
   <slots>
    <signal>changed()</signal>
   </slots>
  </customwidget>
  <customwidget>
   <class>pappso::PrecisionWidget</class>
   <extends>QWidget</extends>
   <header>pappsomspp/gui/precisionwidget/precisionwidget.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="../../i2masschroq.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>precision_unit_combobox</sender>
   <signal>currentTextChanged(QString)</signal>
   <receiver>ProjectView</receiver>
   <slot>doMassPrecisionUnitChanged(QString)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>281</x>
     <y>124</y>
    </hint>
    <hint type="destinationlabel">
     <x>489</x>
     <y>198</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>identifications_combobox</sender>
   <signal>currentIndexChanged(int)</signal>
   <receiver>ProjectView</receiver>
   <slot>doIdentificationsComboboxChanged(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>113</x>
     <y>112</y>
    </hint>
    <hint type="destinationlabel">
     <x>667</x>
     <y>141</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>contaminant_widget</sender>
   <signal>changed()</signal>
   <receiver>ProjectView</receiver>
   <slot>doFilterChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>113</x>
     <y>110</y>
    </hint>
    <hint type="destinationlabel">
     <x>667</x>
     <y>196</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>apply_filter_button</sender>
   <signal>clicked()</signal>
   <receiver>ProjectView</receiver>
   <slot>doApplyFilter()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>643</x>
     <y>147</y>
    </hint>
    <hint type="destinationlabel">
     <x>667</x>
     <y>147</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>decoy_widget</sender>
   <signal>changed()</signal>
   <receiver>ProjectView</receiver>
   <slot>doFilterChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>205</x>
     <y>231</y>
    </hint>
    <hint type="destinationlabel">
     <x>667</x>
     <y>179</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>apply_filter_decoy_button</sender>
   <signal>clicked()</signal>
   <receiver>ProjectView</receiver>
   <slot>doApplyDecoy()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>623</x>
     <y>251</y>
    </hint>
    <hint type="destinationlabel">
     <x>962</x>
     <y>332</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>run_tidd_button</sender>
   <signal>clicked()</signal>
   <receiver>ProjectView</receiver>
   <slot>doComputeTidd()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>608</x>
     <y>582</y>
    </hint>
    <hint type="destinationlabel">
     <x>838</x>
     <y>603</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>doFdrChanged()</slot>
  <slot>doMassPrecisionUnitChanged(QString)</slot>
  <slot>doIdentificationsComboboxChanged(int)</slot>
  <slot>doSelectDecoySource()</slot>
  <slot>doSelectContaminantSource()</slot>
  <slot>doFilterChanged()</slot>
  <slot>doApplyFilter()</slot>
  <slot>doApplyDecoy()</slot>
  <slot>doComputePsmQvalues()</slot>
  <slot>doComputeTidd()</slot>
 </slots>
</ui>
