<ui version="4.0" stdsetdef="1" >
  <author></author>
  <comment></comment>
  <exportmacro></exportmacro>
  <class>TextureWindowBase</class>
  <widget class="QDialog" name="TextureWindowBase" >
    <property name="geometry" >
      <rect>
        <x>0</x>
        <y>0</y>
        <width>465</width>
        <height>446</height>
      </rect>
    </property>
    <property name="windowTitle" >
      <string>Materials</string>
    </property>
    <layout class="QVBoxLayout" >
      <property name="margin" >
        <number>11</number>
      </property>
      <property name="spacing" >
        <number>6</number>
      </property>
      <item>
        <widget class="QComboBox" name="m_textureComboBox" >
          <item>
            <property name="text" >
              <string>None</string>
            </property>
          </item>
        </widget>
      </item>
      <item>
        <layout class="QHBoxLayout" >
          <property name="margin" >
            <number>0</number>
          </property>
          <item>
            <widget class="QPushButton" name="m_newButton" >
              <property name="text" >
                <string>New Material...</string>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QPushButton" name="m_renameButton" >
              <property name="text" >
                <string>Rename</string>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QPushButton" name="m_deleteButton" >
              <property name="text" >
                <string>Delete</string>
              </property>
            </widget>
          </item>
          <item>
            <spacer name="Spacer1" >
              <property name="sizeHint" >
                <size>
                  <width>50</width>
                  <height>20</height>
                </size>
              </property>
              <property name="sizeType" >
                <enum>Expanding</enum>
              </property>
              <property name="orientation" >
                <enum>Horizontal</enum>
              </property>
            </spacer>
          </item>
        </layout>
      </item>
      <item>
        <layout class="QHBoxLayout" >
          <property name="margin" >
            <number>0</number>
          </property>
          <item>
            <widget class="QComboBox" name="m_sClamp" >
              <item>
                <property name="text" >
                  <string>Wrap X</string>
                </property>
              </item>
              <item>
                <property name="text" >
                  <string>Clamp X</string>
                </property>
              </item>
            </widget>
          </item>
          <item>
            <widget class="QComboBox" name="m_tClamp" >
              <item>
                <property name="text" >
                  <string>Wrap Y</string>
                </property>
              </item>
              <item>
                <property name="text" >
                  <string>Clamp Y</string>
                </property>
              </item>
            </widget>
          </item>
        </layout>
      </item>
      <item>
        <widget class="QFrame" name="Frame4" >
          <property name="frameShape" >
            <enum>StyledPanel</enum>
          </property>
          <property name="frameShadow" >
            <enum>Sunken</enum>
          </property>
          <layout class="QHBoxLayout" >
            <property name="margin" >
              <number>11</number>
            </property>
            <property name="spacing" >
              <number>6</number>
            </property>
            <item>
              <layout class="QVBoxLayout" >
                <property name="margin" >
                  <number>0</number>
                </property>
                <item>
                  <widget class="TextureFrame" name="m_textureFrame" >
                    <property name="sizePolicy" >
                      <sizepolicy>
                        <hsizetype>7</hsizetype>
                        <vsizetype>5</vsizetype>
                        <horstretch>0</horstretch>
                        <verstretch>0</verstretch>
                      </sizepolicy>
                    </property>
                  </widget>
                </item>
                <item>
                  <layout class="QHBoxLayout" >
                    <property name="margin" >
                      <number>0</number>
                    </property>
                    <item>
                      <widget class="QPushButton" name="m_fileButton" >
                        <property name="text" >
                          <string>Change Texture...</string>
                        </property>
                      </widget>
                    </item>
                    <item>
                      <widget class="QPushButton" name="m_noFileButton" >
                        <property name="font" >
                          <font>
                            <bold>true</bold>
                          </font>
                        </property>
                        <property name="text" >
                          <string>X</string>
                        </property>
                        <property name="toolTip" stdset="0" >
                          <string>Remove texture</string>
                        </property>
                      </widget>
                    </item>
                  </layout>
                </item>
                <item>
                  <widget class="QComboBox" name="m_previewType" >
                    <item>
                      <property name="text" >
                        <string>Flat Preview</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>3D Preview</string>
                      </property>
                    </item>
                  </widget>
                </item>
              </layout>
            </item>
            <item>
              <layout class="QVBoxLayout" >
                <property name="margin" >
                  <number>0</number>
                </property>
                <item>
                  <layout class="QGridLayout" >
                    <property name="margin" >
                      <number>0</number>
                    </property>
                    <item row="3" column="2" >
                      <widget class="QLineEdit" name="m_alphaEdit" >
                        <property name="maximumSize" >
                          <size>
                            <width>65</width>
                            <height>32767</height>
                          </size>
                        </property>
                        <property name="text" >
                          <string>0.00</string>
                        </property>
                        <property name="maxLength" >
                          <number>4</number>
                        </property>
                      </widget>
                    </item>
                    <item row="2" column="1" >
                      <widget class="QSlider" name="m_blueSlider" >
                        <property name="minimum" >
                          <number>-100</number>
                        </property>
                        <property name="maximum" >
                          <number>100</number>
                        </property>
                        <property name="orientation" >
                          <enum>Qt::Horizontal</enum>
                        </property>
                      </widget>
                    </item>
                    <item row="3" column="1" >
                      <widget class="QSlider" name="m_alphaSlider" >
                        <property name="minimum" >
                          <number>-100</number>
                        </property>
                        <property name="maximum" >
                          <number>100</number>
                        </property>
                        <property name="orientation" >
                          <enum>Qt::Horizontal</enum>
                        </property>
                      </widget>
                    </item>
                    <item row="1" column="1" >
                      <widget class="QSlider" name="m_greenSlider" >
                        <property name="minimum" >
                          <number>-100</number>
                        </property>
                        <property name="maximum" >
                          <number>100</number>
                        </property>
                        <property name="orientation" >
                          <enum>Qt::Horizontal</enum>
                        </property>
                      </widget>
                    </item>
                    <item row="3" column="0" >
                      <widget class="QLabel" name="m_alphaLabel" >
                        <property name="text" >
                          <string>Alpha</string>
                        </property>
                        <property name="wordWrap" >
                          <bool>false</bool>
                        </property>
                      </widget>
                    </item>
                    <item row="1" column="0" >
                      <widget class="QLabel" name="m_greenLabel" >
                        <property name="text" >
                          <string>Green</string>
                        </property>
                        <property name="wordWrap" >
                          <bool>false</bool>
                        </property>
                      </widget>
                    </item>
                    <item row="1" column="2" >
                      <widget class="QLineEdit" name="m_greenEdit" >
                        <property name="maximumSize" >
                          <size>
                            <width>65</width>
                            <height>32767</height>
                          </size>
                        </property>
                        <property name="text" >
                          <string>0.00</string>
                        </property>
                        <property name="maxLength" >
                          <number>4</number>
                        </property>
                      </widget>
                    </item>
                    <item row="0" column="2" >
                      <widget class="QLineEdit" name="m_redEdit" >
                        <property name="maximumSize" >
                          <size>
                            <width>65</width>
                            <height>32767</height>
                          </size>
                        </property>
                        <property name="text" >
                          <string>0.00</string>
                        </property>
                        <property name="maxLength" >
                          <number>4</number>
                        </property>
                      </widget>
                    </item>
                    <item row="2" column="2" >
                      <widget class="QLineEdit" name="m_blueEdit" >
                        <property name="maximumSize" >
                          <size>
                            <width>65</width>
                            <height>32767</height>
                          </size>
                        </property>
                        <property name="text" >
                          <string>0.00</string>
                        </property>
                        <property name="maxLength" >
                          <number>4</number>
                        </property>
                      </widget>
                    </item>
                    <item row="2" column="0" >
                      <widget class="QLabel" name="m_blueLabel" >
                        <property name="text" >
                          <string>Blue</string>
                        </property>
                        <property name="wordWrap" >
                          <bool>false</bool>
                        </property>
                      </widget>
                    </item>
                    <item row="0" column="1" >
                      <widget class="QSlider" name="m_redSlider" >
                        <property name="minimum" >
                          <number>-100</number>
                        </property>
                        <property name="maximum" >
                          <number>100</number>
                        </property>
                        <property name="orientation" >
                          <enum>Qt::Horizontal</enum>
                        </property>
                      </widget>
                    </item>
                    <item row="0" column="0" >
                      <widget class="QLabel" name="m_redLabel" >
                        <property name="text" >
                          <string>Red</string>
                        </property>
                        <property name="wordWrap" >
                          <bool>false</bool>
                        </property>
                      </widget>
                    </item>
                  </layout>
                </item>
                <item>
                  <spacer name="spacer6" >
                    <property name="sizeHint" >
                      <size>
                        <width>20</width>
                        <height>31</height>
                      </size>
                    </property>
                    <property name="sizeType" >
                      <enum>Expanding</enum>
                    </property>
                    <property name="orientation" >
                      <enum>Vertical</enum>
                    </property>
                  </spacer>
                </item>
                <item>
                  <widget class="QComboBox" name="m_lightingValue" >
                    <item>
                      <property name="text" >
                        <string>Ambient</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Diffuse</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Specular</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Emissive</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Shininess</string>
                      </property>
                    </item>
                  </widget>
                </item>
              </layout>
            </item>
          </layout>
        </widget>
      </item>
      <item>
        <layout class="QHBoxLayout" >
          <property name="margin" >
            <number>0</number>
          </property>
          <item>
            <widget class="QLabel" name="textLabel5" >
              <property name="text" >
                <string>Press F1 for help</string>
              </property>
              <property name="wordWrap" >
                <bool>false</bool>
              </property>
            </widget>
          </item>
          <item>
            <spacer name="Spacer2" >
              <property name="sizeHint" >
                <size>
                  <width>40</width>
                  <height>20</height>
                </size>
              </property>
              <property name="sizeType" >
                <enum>Expanding</enum>
              </property>
              <property name="orientation" >
                <enum>Horizontal</enum>
              </property>
            </spacer>
          </item>
          <item>
            <widget class="QPushButton" name="m_okButton" >
              <property name="text" >
                <string>Ok</string>
              </property>
              <property name="default" >
                <bool>true</bool>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QPushButton" name="m_cancelButton" >
              <property name="text" >
                <string>Cancel</string>
              </property>
            </widget>
          </item>
        </layout>
      </item>
    </layout>
  </widget>
  <layoutdefault spacing="6" margin="11" />
  <customwidgets>
    <customwidget>
      <class>TextureFrame</class>
      <header location="local" >textureframe.h</header>
      <sizehint>
        <width>-1</width>
        <height>-1</height>
      </sizehint>
      <container>0</container>
      <sizepolicy>
        <hordata>5</hordata>
        <verdata>5</verdata>
      </sizepolicy>
      <pixmap>image0</pixmap>
    </customwidget>
  </customwidgets>
  <tabstops>
    <tabstop>m_textureComboBox</tabstop>
    <tabstop>m_newButton</tabstop>
    <tabstop>m_renameButton</tabstop>
    <tabstop>m_deleteButton</tabstop>
    <tabstop>m_sClamp</tabstop>
    <tabstop>m_tClamp</tabstop>
    <tabstop>m_redSlider</tabstop>
    <tabstop>m_redEdit</tabstop>
    <tabstop>m_greenSlider</tabstop>
    <tabstop>m_greenEdit</tabstop>
    <tabstop>m_blueSlider</tabstop>
    <tabstop>m_blueEdit</tabstop>
    <tabstop>m_alphaSlider</tabstop>
    <tabstop>m_alphaEdit</tabstop>
    <tabstop>m_previewType</tabstop>
    <tabstop>m_lightingValue</tabstop>
    <tabstop>m_okButton</tabstop>
    <tabstop>m_cancelButton</tabstop>
  </tabstops>
  <images>
    <image name="image0" >
      <data format="XPM.GZ" length="12721" >[encoded data, 4944 characters]</data>
    </image>
  </images>
  <includes>
    <include location="local" >textureframe.h</include>
  </includes>
  <connections>
    <connection>
      <sender>m_okButton</sender>
      <signal>clicked()</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>accept()</slot>
    </connection>
    <connection>
      <sender>m_renameButton</sender>
      <signal>clicked()</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>renameClickedEvent()</slot>
    </connection>
    <connection>
      <sender>m_deleteButton</sender>
      <signal>clicked()</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>deleteClickedEvent()</slot>
    </connection>
    <connection>
      <sender>m_cancelButton</sender>
      <signal>clicked()</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>reject()</slot>
    </connection>
    <connection>
      <sender>m_textureComboBox</sender>
      <signal>activated(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>textureChangedEvent(int)</slot>
    </connection>
    <connection>
      <sender>m_sClamp</sender>
      <signal>activated(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>clampSChangedEvent(int)</slot>
    </connection>
    <connection>
      <sender>m_tClamp</sender>
      <signal>activated(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>clampTChangedEvent(int)</slot>
    </connection>
    <connection>
      <sender>m_newButton</sender>
      <signal>clicked()</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>newMaterialClickedEvent()</slot>
    </connection>
    <connection>
      <sender>m_redSlider</sender>
      <signal>valueChanged(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>redSliderChanged(int)</slot>
    </connection>
    <connection>
      <sender>m_greenSlider</sender>
      <signal>valueChanged(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>greenSliderChanged(int)</slot>
    </connection>
    <connection>
      <sender>m_blueSlider</sender>
      <signal>valueChanged(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>blueSliderChanged(int)</slot>
    </connection>
    <connection>
      <sender>m_alphaSlider</sender>
      <signal>valueChanged(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>alphaSliderChanged(int)</slot>
    </connection>
    <connection>
      <sender>m_redEdit</sender>
      <signal>textEdited(QString)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>redEditChanged(QString)</slot>
    </connection>
    <connection>
      <sender>m_greenEdit</sender>
      <signal>textEdited(QString)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>greenEditChanged(QString)</slot>
    </connection>
    <connection>
      <sender>m_blueEdit</sender>
      <signal>textEdited(QString)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>blueEditChanged(QString)</slot>
    </connection>
    <connection>
      <sender>m_alphaEdit</sender>
      <signal>textEdited(QString)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>alphaEditChanged(QString)</slot>
    </connection>
    <connection>
      <sender>m_lightingValue</sender>
      <signal>activated(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>lightValueChanged(int)</slot>
    </connection>
    <connection>
      <sender>m_previewType</sender>
      <signal>activated(int)</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>previewValueChanged(int)</slot>
    </connection>
    <connection>
      <sender>m_fileButton</sender>
      <signal>clicked()</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>changeTextureFileEvent()</slot>
    </connection>
    <connection>
      <sender>m_noFileButton</sender>
      <signal>clicked()</signal>
      <receiver>TextureWindowBase</receiver>
      <slot>noTextureFileEvent()</slot>
    </connection>
  </connections>
</ui>
