<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MaterialEditor</class>
 <widget class="QWidget" name="MaterialEditor">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>470</width>
    <height>791</height>
   </rect>
  </property>
  <layout class="QFormLayout" name="formLayout">
   <property name="fieldGrowthPolicy">
    <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
   </property>
   <property name="labelAlignment">
    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
   </property>
   <property name="horizontalSpacing">
    <number>2</number>
   </property>
   <property name="verticalSpacing">
    <number>2</number>
   </property>
   <item row="0" column="0" colspan="2">
    <widget class="QGroupBox" name="groupBox">
     <property name="styleSheet">
      <string notr="true">font:bold;</string>
     </property>
     <property name="title">
      <string>Diffuse</string>
     </property>
     <layout class="QFormLayout" name="formLayout_3">
      <item row="0" column="0">
       <widget class="QLabel" name="label">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
        <property name="text">
         <string>Color:</string>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="ColorButton" name="colorDiffuse">
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
        <property name="useAlphaChannel">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0" colspan="2">
       <widget class="MaterialMapEditor" name="mapDiffuse" native="true">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="1" column="0" colspan="2">
    <widget class="QGroupBox" name="groupBox_2">
     <property name="styleSheet">
      <string notr="true">font:bold;</string>
     </property>
     <property name="title">
      <string>Specular</string>
     </property>
     <layout class="QFormLayout" name="formLayout_4">
      <item row="0" column="0">
       <widget class="QLabel" name="label_2">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
        <property name="text">
         <string>Color:</string>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="ColorButton" name="colorSpecular">
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
        <property name="useAlphaChannel">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0" colspan="2">
       <widget class="MaterialMapEditor" name="mapSpecular" native="true">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="2" column="0" colspan="2">
    <widget class="QGroupBox" name="groupBox_3">
     <property name="styleSheet">
      <string notr="true">font:bold;</string>
     </property>
     <property name="title">
      <string>Self illumination</string>
     </property>
     <layout class="QFormLayout" name="formLayout_5">
      <item row="0" column="0">
       <widget class="QLabel" name="label_12">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
        <property name="text">
         <string>Color:</string>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="ColorButton" name="colorSelfIllum">
        <property name="focusPolicy">
         <enum>Qt::NoFocus</enum>
        </property>
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
        <property name="useAlphaChannel">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0" colspan="2">
       <widget class="MaterialMapEditor" name="mapSelfIllum" native="true">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="3" column="0" colspan="2">
    <widget class="QGroupBox" name="groupBox_6">
     <property name="styleSheet">
      <string notr="true">font:bold;</string>
     </property>
     <property name="title">
      <string>Specularity</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_3">
      <item>
       <widget class="MaterialMapEditor" name="mapSpecularity" native="true">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="4" column="0" colspan="2">
    <widget class="QGroupBox" name="groupBox_5">
     <property name="styleSheet">
      <string notr="true">font:bold;</string>
     </property>
     <property name="title">
      <string>Normal</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <widget class="MaterialMapEditor" name="mapBump" native="true">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="5" column="0" colspan="2">
    <widget class="QGroupBox" name="groupBox_4">
     <property name="styleSheet">
      <string notr="true">font:bold;</string>
     </property>
     <property name="title">
      <string>Relief</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <widget class="MaterialMapEditor" name="mapRelief" native="true">
        <property name="styleSheet">
         <string notr="true">font:normal;</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="6" column="1">
    <widget class="QCheckBox" name="checkGlass">
     <property name="text">
      <string>Glass</string>
     </property>
    </widget>
   </item>
   <item row="7" column="0">
    <widget class="QLabel" name="label_6">
     <property name="text">
      <string>Transparency</string>
     </property>
    </widget>
   </item>
   <item row="7" column="1">
    <widget class="SpinSlider" name="spinTransparent">
     <property name="maximum">
      <double>1.000000000000000</double>
     </property>
     <property name="decimals">
      <number>2</number>
     </property>
     <property name="singleStep">
      <double>0.010000000000000</double>
     </property>
     <property name="pageStep">
      <double>0.100000000000000</double>
     </property>
    </widget>
   </item>
   <item row="8" column="0">
    <widget class="QLabel" name="label_7">
     <property name="text">
      <string>Reflectivity</string>
     </property>
    </widget>
   </item>
   <item row="8" column="1">
    <widget class="SpinSlider" name="spinReflect">
     <property name="maximum">
      <double>1.000000000000000</double>
     </property>
     <property name="decimals">
      <number>2</number>
     </property>
     <property name="singleStep">
      <double>0.010000000000000</double>
     </property>
     <property name="pageStep">
      <double>0.100000000000000</double>
     </property>
    </widget>
   </item>
   <item row="9" column="0">
    <widget class="QLabel" name="label_11">
     <property name="text">
      <string>IOF</string>
     </property>
    </widget>
   </item>
   <item row="9" column="1">
    <widget class="SpinSlider" name="spinIOF">
     <property name="maximum">
      <double>2.000000000000000</double>
     </property>
     <property name="value">
      <double>1.000000000000000</double>
     </property>
     <property name="decimals">
      <number>2</number>
     </property>
     <property name="singleStep">
      <double>0.010000000000000</double>
     </property>
     <property name="pageStep">
      <double>0.100000000000000</double>
     </property>
    </widget>
   </item>
   <item row="10" column="0">
    <widget class="QLabel" name="label_15">
     <property name="text">
      <string>Dispersion</string>
     </property>
    </widget>
   </item>
   <item row="10" column="1">
    <widget class="SpinSlider" name="spinDispersion">
     <property name="maximum">
      <double>1.000000000000000</double>
     </property>
     <property name="value">
      <double>0.100000000000000</double>
     </property>
     <property name="decimals">
      <number>2</number>
     </property>
     <property name="singleStep">
      <double>0.010000000000000</double>
     </property>
     <property name="pageStep">
      <double>0.100000000000000</double>
     </property>
    </widget>
   </item>
   <item row="11" column="0">
    <widget class="QLabel" name="label_13">
     <property name="text">
      <string>Reflection map</string>
     </property>
    </widget>
   </item>
   <item row="11" column="1">
    <widget class="QFrame" name="frameReflection">
     <property name="frameShape">
      <enum>QFrame::StyledPanel</enum>
     </property>
     <property name="frameShadow">
      <enum>QFrame::Sunken</enum>
     </property>
     <layout class="QFormLayout" name="formLayout_2">
      <item row="1" column="0">
       <widget class="QLabel" name="label_14">
        <property name="text">
         <string>Front:</string>
        </property>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="QLabel" name="label_20">
        <property name="text">
         <string>Back:</string>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="QLabel" name="label_21">
        <property name="text">
         <string>Left:</string>
        </property>
       </widget>
      </item>
      <item row="4" column="0">
       <widget class="QLabel" name="label_22">
        <property name="text">
         <string>Right:</string>
        </property>
       </widget>
      </item>
      <item row="5" column="0">
       <widget class="QLabel" name="label_23">
        <property name="text">
         <string>Top:</string>
        </property>
       </widget>
      </item>
      <item row="6" column="0">
       <widget class="QLabel" name="label_24">
        <property name="text">
         <string>Bottom:</string>
        </property>
       </widget>
      </item>
      <item row="3" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_3">
        <property name="spacing">
         <number>2</number>
        </property>
        <item>
         <widget class="QLineEdit" name="lineReflLeft"/>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflLeftClear">
          <property name="text">
           <string>X</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflLeftSelect">
          <property name="text">
           <string>^</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="1" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_9">
        <property name="spacing">
         <number>2</number>
        </property>
        <item>
         <widget class="QLineEdit" name="lineReflFront"/>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflFrontClear">
          <property name="text">
           <string>X</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflFrontSelect">
          <property name="text">
           <string>^</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="2" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_10">
        <property name="spacing">
         <number>2</number>
        </property>
        <item>
         <widget class="QLineEdit" name="lineReflBack"/>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflBackClear">
          <property name="text">
           <string>X</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflBackSelect">
          <property name="text">
           <string>^</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="4" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_11">
        <property name="spacing">
         <number>2</number>
        </property>
        <item>
         <widget class="QLineEdit" name="lineReflRight"/>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflRightClear">
          <property name="text">
           <string>X</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflRightSelect">
          <property name="text">
           <string>^</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="5" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_12">
        <property name="spacing">
         <number>2</number>
        </property>
        <item>
         <widget class="QLineEdit" name="lineReflTop"/>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflTopClear">
          <property name="text">
           <string>X</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflTopSelect">
          <property name="text">
           <string>^</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="6" column="1">
       <layout class="QHBoxLayout" name="horizontalLayout_13">
        <property name="spacing">
         <number>2</number>
        </property>
        <item>
         <widget class="QLineEdit" name="lineReflBottom"/>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflBottomClear">
          <property name="text">
           <string>X</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="buttonReflBottomSelect">
          <property name="text">
           <string>^</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="0" column="0" colspan="2">
       <widget class="QPushButton" name="buttonLoadCubeDir">
        <property name="text">
         <string>load from directory</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>SpinSlider</class>
   <extends>QWidget</extends>
   <header>spinslider.h</header>
  </customwidget>
  <customwidget>
   <class>ColorButton</class>
   <extends>QPushButton</extends>
   <header>colorbutton.h</header>
  </customwidget>
  <customwidget>
   <class>MaterialMapEditor</class>
   <extends>QWidget</extends>
   <header>material_map_editor.h</header>
   <container>1</container>
   <slots>
    <signal>changed()</signal>
   </slots>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections>
  <connection>
   <sender>colorDiffuse</sender>
   <signal>colorChanged(QColor)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>326</x>
     <y>49</y>
    </hint>
    <hint type="destinationlabel">
     <x>282</x>
     <y>17</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>colorSpecular</sender>
   <signal>colorChanged(QColor)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>325</x>
     <y>128</y>
    </hint>
    <hint type="destinationlabel">
     <x>284</x>
     <y>45</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>spinTransparent</sender>
   <signal>valueChanged(double)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>443</x>
     <y>448</y>
    </hint>
    <hint type="destinationlabel">
     <x>283</x>
     <y>149</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>spinReflect</sender>
   <signal>valueChanged(double)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>443</x>
     <y>470</y>
    </hint>
    <hint type="destinationlabel">
     <x>284</x>
     <y>174</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>spinIOF</sender>
   <signal>valueChanged(double)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>443</x>
     <y>492</y>
    </hint>
    <hint type="destinationlabel">
     <x>284</x>
     <y>236</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>checkGlass</sender>
   <signal>toggled(bool)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>443</x>
     <y>382</y>
    </hint>
    <hint type="destinationlabel">
     <x>284</x>
     <y>84</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>colorSelfIllum</sender>
   <signal>colorChanged(QColor)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>376</x>
     <y>202</y>
    </hint>
    <hint type="destinationlabel">
     <x>326</x>
     <y>63</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>spinDispersion</sender>
   <signal>valueChanged(double)</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>460</x>
     <y>514</y>
    </hint>
    <hint type="destinationlabel">
     <x>326</x>
     <y>288</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mapDiffuse</sender>
   <signal>changed()</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>445</x>
     <y>63</y>
    </hint>
    <hint type="destinationlabel">
     <x>469</x>
     <y>63</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mapSpecular</sender>
   <signal>changed()</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>443</x>
     <y>143</y>
    </hint>
    <hint type="destinationlabel">
     <x>467</x>
     <y>143</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mapSelfIllum</sender>
   <signal>changed()</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>447</x>
     <y>216</y>
    </hint>
    <hint type="destinationlabel">
     <x>468</x>
     <y>216</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mapBump</sender>
   <signal>changed()</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>450</x>
     <y>308</y>
    </hint>
    <hint type="destinationlabel">
     <x>469</x>
     <y>260</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mapRelief</sender>
   <signal>changed()</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>450</x>
     <y>353</y>
    </hint>
    <hint type="destinationlabel">
     <x>469</x>
     <y>304</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>mapSpecularity</sender>
   <signal>changed()</signal>
   <receiver>MaterialEditor</receiver>
   <slot>materialChanged()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>442</x>
     <y>257</y>
    </hint>
    <hint type="destinationlabel">
     <x>474</x>
     <y>250</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>materialChanged()</slot>
 </slots>
</ui>
