<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>VolumeRenderingWidget</class>
 <widget class="QWidget" name="VolumeRenderingWidget">
  <property name="windowModality">
   <enum>Qt::NonModal</enum>
  </property>
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>604</width>
    <height>627</height>
   </rect>
  </property>
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle">
   <string>Volume Rendering</string>
  </property>
  <property name="windowIcon">
   <iconset resource="volumerendering.qrc">
    <normaloff>:/resources/logo-color.png</normaloff>:/resources/logo-color.png</iconset>
  </property>
  <property name="autoFillBackground">
   <bool>false</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QGroupBox" name="imageGroupBox">
     <property name="title">
      <string>Volume Rendering</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_3">
      <item>
       <layout class="QHBoxLayout" name="horizontalLayout">
        <item>
         <widget class="QCheckBox" name="showCheckBox">
          <property name="text">
           <string>Show Volume Rendering</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="inputImageLayout">
        <item>
         <widget class="QLabel" name="inputImageLabel">
          <property name="text">
           <string>Input Image</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QLabel" name="imageNameLabel">
          <property name="text">
           <string>no input</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QScrollArea" name="scrollArea">
     <property name="widgetResizable">
      <bool>true</bool>
     </property>
     <widget class="QWidget" name="scrollAreaWidgetContents">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
        <width>567</width>
        <height>527</height>
       </rect>
      </property>
      <layout class="QVBoxLayout" name="verticalLayout_7">
       <item>
        <layout class="QHBoxLayout" name="colorMapLayout">
         <item>
          <widget class="QLabel" name="label">
           <property name="text">
            <string>Color Map</string>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="loadSaveSpacer">
           <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="resetToDefault">
           <property name="text">
            <string/>
           </property>
           <property name="icon">
            <iconset resource="volumerendering.qrc">
             <normaloff>:/resources/view-refresh.png</normaloff>:/resources/view-refresh.png</iconset>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="loadButton">
           <property name="text">
            <string/>
           </property>
           <property name="icon">
            <iconset resource="volumerendering.qrc">
             <normaloff>:/resources/documentOpen.png</normaloff>:/resources/documentOpen.png</iconset>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QPushButton" name="saveButton">
           <property name="text">
            <string/>
           </property>
           <property name="icon">
            <iconset resource="volumerendering.qrc">
             <normaloff>:/resources/documentSaveAs.png</normaloff>:/resources/documentSaveAs.png</iconset>
           </property>
          </widget>
         </item>
        </layout>
       </item>
       <item>
        <widget class="QGroupBox" name="colorsGroupBox">
         <property name="title">
          <string>Colors</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_2">
          <item>
           <layout class="QVBoxLayout" name="colorsLayout"/>
          </item>
          <item>
           <spacer name="colorsGroupBoxVSpacer">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <layout class="QHBoxLayout" name="addColorLayout">
            <item>
             <spacer name="addColorHSpacer">
              <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="addColorButton">
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="volumerendering.qrc">
                <normaloff>:/resources/list-add.png</normaloff>:/resources/list-add.png</iconset>
              </property>
             </widget>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="transparencyGroupBox">
         <property name="title">
          <string>Transparency</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_6">
          <item>
           <layout class="QVBoxLayout" name="transparenciesLayout"/>
          </item>
          <item>
           <spacer name="addTransparencySpacer02">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <layout class="QHBoxLayout" name="addTransparencyLayout">
            <item>
             <spacer name="addTransparencySpacer01">
              <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="addTransparencyButton">
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="volumerendering.qrc">
                <normaloff>:/resources/list-add.png</normaloff>:/resources/list-add.png</iconset>
              </property>
             </widget>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="gradientOpacityGroupBox">
         <property name="title">
          <string>Gradient Opacity</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_4">
          <item>
           <layout class="QVBoxLayout" name="gradientOpacitiesLayout"/>
          </item>
          <item>
           <spacer name="gradientOpacitySpacer02">
            <property name="orientation">
             <enum>Qt::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <layout class="QHBoxLayout" name="addGradientOpacityLayout">
            <item>
             <spacer name="gradientOpacitySpacer01">
              <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="addGradientButton">
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="volumerendering.qrc">
                <normaloff>:/resources/list-add.png</normaloff>:/resources/list-add.png</iconset>
              </property>
             </widget>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="shadingPropertiesGroupBox">
         <property name="title">
          <string>Shading Properties</string>
         </property>
         <layout class="QVBoxLayout" name="verticalLayout_5">
          <item>
           <layout class="QGridLayout" name="shadingPropertiesLayout">
            <item row="1" column="0">
             <widget class="QLabel" name="ambientLabel">
              <property name="text">
               <string>Ambiant Light</string>
              </property>
             </widget>
            </item>
            <item row="1" column="1">
             <spacer name="ambientSpacer">
              <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 row="1" column="3">
             <widget class="QDoubleSpinBox" name="ambientSpinBox">
              <property name="maximum">
               <double>1.000000000000000</double>
              </property>
              <property name="singleStep">
               <double>0.050000000000000</double>
              </property>
             </widget>
            </item>
            <item row="1" column="2">
             <widget class="QSlider" name="ambientSlider">
              <property name="maximum">
               <number>99</number>
              </property>
              <property name="pageStep">
               <number>10</number>
              </property>
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
             </widget>
            </item>
            <item row="2" column="0">
             <widget class="QLabel" name="diffuseLabel">
              <property name="text">
               <string>Diffuse Light</string>
              </property>
             </widget>
            </item>
            <item row="2" column="1">
             <spacer name="diffuseSpacer">
              <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 row="2" column="2">
             <widget class="QSlider" name="diffuseSlider">
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
             </widget>
            </item>
            <item row="2" column="3">
             <widget class="QDoubleSpinBox" name="diffuseSpinBox">
              <property name="maximum">
               <double>1.000000000000000</double>
              </property>
              <property name="singleStep">
               <double>0.050000000000000</double>
              </property>
             </widget>
            </item>
            <item row="3" column="0">
             <widget class="QLabel" name="specularLabel">
              <property name="text">
               <string>Specular Light</string>
              </property>
             </widget>
            </item>
            <item row="3" column="1">
             <spacer name="specularSpacer">
              <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 row="3" column="2">
             <widget class="QSlider" name="specularSlider">
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
             </widget>
            </item>
            <item row="3" column="3">
             <widget class="QDoubleSpinBox" name="specularSpinBox">
              <property name="maximum">
               <double>1.000000000000000</double>
              </property>
              <property name="singleStep">
               <double>0.050000000000000</double>
              </property>
             </widget>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item>
    <layout class="QHBoxLayout" name="refreshLayout">
     <item>
      <spacer name="refreshHSpacer01">
       <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="applyButton">
       <property name="text">
        <string>Apply</string>
       </property>
      </widget>
     </item>
     <item>
      <spacer name="refreshHSpacer02">
       <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>
  </layout>
 </widget>
 <tabstops>
  <tabstop>addColorButton</tabstop>
  <tabstop>addGradientButton</tabstop>
  <tabstop>applyButton</tabstop>
 </tabstops>
 <resources>
  <include location="volumerendering.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>addColorButton</sender>
   <signal>clicked()</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>addColor()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>717</x>
     <y>318</y>
    </hint>
    <hint type="destinationlabel">
     <x>418</x>
     <y>202</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>applyButton</sender>
   <signal>clicked()</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>refreshVolumeRendering()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>427</x>
     <y>619</y>
    </hint>
    <hint type="destinationlabel">
     <x>127</x>
     <y>203</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>addGradientButton</sender>
   <signal>clicked()</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>addGradientOpacity()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>717</x>
     <y>419</y>
    </hint>
    <hint type="destinationlabel">
     <x>405</x>
     <y>360</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>loadButton</sender>
   <signal>clicked()</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>loadColorMap()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>688</x>
     <y>124</y>
    </hint>
    <hint type="destinationlabel">
     <x>243</x>
     <y>57</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>saveButton</sender>
   <signal>clicked()</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>saveColorMap()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>725</x>
     <y>124</y>
    </hint>
    <hint type="destinationlabel">
     <x>449</x>
     <y>119</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>addTransparencyButton</sender>
   <signal>clicked()</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>addTransparency()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>717</x>
     <y>217</y>
    </hint>
    <hint type="destinationlabel">
     <x>507</x>
     <y>528</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>ambientSlider</sender>
   <signal>valueChanged(int)</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>ambientLightSliderChanged(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>641</x>
     <y>502</y>
    </hint>
    <hint type="destinationlabel">
     <x>89</x>
     <y>504</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>ambientSpinBox</sender>
   <signal>valueChanged(double)</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>ambientLightSpinBoxChanged(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>717</x>
     <y>511</y>
    </hint>
    <hint type="destinationlabel">
     <x>101</x>
     <y>528</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>diffuseSlider</sender>
   <signal>valueChanged(int)</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>diffuseLightSliderChanged(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>641</x>
     <y>545</y>
    </hint>
    <hint type="destinationlabel">
     <x>530</x>
     <y>367</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>diffuseSpinBox</sender>
   <signal>valueChanged(double)</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>diffuseLightSpinBoxChanged(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>717</x>
     <y>554</y>
    </hint>
    <hint type="destinationlabel">
     <x>539</x>
     <y>435</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>specularSlider</sender>
   <signal>valueChanged(int)</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>specularLightSliderChanged(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>641</x>
     <y>588</y>
    </hint>
    <hint type="destinationlabel">
     <x>0</x>
     <y>462</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>specularSpinBox</sender>
   <signal>valueChanged(double)</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>specularLightSpinBoxChanged(double)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>717</x>
     <y>597</y>
    </hint>
    <hint type="destinationlabel">
     <x>530</x>
     <y>479</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>resetToDefault</sender>
   <signal>clicked()</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>resetColorMap()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>636</x>
     <y>143</y>
    </hint>
    <hint type="destinationlabel">
     <x>380</x>
     <y>313</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>showCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>VolumeRenderingWidget</receiver>
   <slot>visibilityToggled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>301</x>
     <y>59</y>
    </hint>
    <hint type="destinationlabel">
     <x>301</x>
     <y>313</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>addColor()</slot>
  <slot>refreshVolumeRendering()</slot>
  <slot>addGradientOpacity()</slot>
  <slot>loadColorMap()</slot>
  <slot>saveColorMap()</slot>
  <slot>addTransparency()</slot>
  <slot>continuousEdit(bool)</slot>
  <slot>ambientLightSliderChanged(int)</slot>
  <slot>ambientLightSpinBoxChanged(double)</slot>
  <slot>diffuseLightSliderChanged(int)</slot>
  <slot>diffuseLightSpinBoxChanged(double)</slot>
  <slot>specularLightSliderChanged(int)</slot>
  <slot>specularLightSpinBoxChanged(double)</slot>
  <slot>resetColorMap()</slot>
  <slot>visibilityToggled(bool)</slot>
 </slots>
</ui>
