<ui version="4.0" stdsetdef="1">
  <author></author>
  <comment></comment>
  <exportmacro></exportmacro>
  <class>SmartPenDialogBase</class>
  <widget class="QDialog" name="SmartPenDialogBase">
    <property name="geometry">
      <rect>
        <x>0</x>
        <y>0</y>
        <width>441</width>
        <height>257</height>
      </rect>
    </property>
    <property name="font">
      <font>
        <pointsize>12</pointsize>
      </font>
    </property>
    <property name="windowTitle">
      <string>Smart Pen Settings</string>
    </property>
    <property name="sizeGripEnabled">
      <bool>true</bool>
    </property>
    <widget class="Q3Frame" name="m_optionsFrame">
      <property name="enabled">
        <bool>false</bool>
      </property>
      <property name="geometry">
        <rect>
          <x>11</x>
          <y>38</y>
          <width>419</width>
          <height>171</height>
        </rect>
      </property>
      <property name="frameShape">
        <enum>QFrame::StyledPanel</enum>
      </property>
      <property name="frameShadow">
        <enum>QFrame::Sunken</enum>
      </property>
      <layout class="QVBoxLayout">
        <item>
          <widget class="Q3GroupBox" name="groupBox1">
            <property name="title">
              <string>Thresholding</string>
            </property>
            <property name="checkable">
              <bool>true</bool>
            </property>
            <property name="checked">
              <bool>false</bool>
            </property>
            <layout class="QVBoxLayout">
              <item>
                <layout class="QHBoxLayout">
                  <item>
                    <widget class="QLabel" name="textLabel1">
                      <property name="text">
                        <string>t&lt;sub&gt;1&lt;/sub&gt;</string>
                      </property>
                      <property name="wordWrap">
                        <bool>false</bool>
                      </property>
                    </widget>
                  </item>
                  <item>
                    <widget class="QLineEdit" name="m_minBox">
                      <property name="sizePolicy">
                        <sizepolicy>
                          <hsizetype>7</hsizetype>
                          <vsizetype>5</vsizetype>
                          <horstretch>0</horstretch>
                          <verstretch>0</verstretch>
                        </sizepolicy>
                      </property>
                      <property name="maximumSize">
                        <size>
                          <width>32767</width>
                          <height>16</height>
                        </size>
                      </property>
                      <property name="font">
                        <font>
                          <pointsize>12</pointsize>
                        </font>
                      </property>
                      <property name="toolTip" stdset="0">
                        <string>Low threshold value&lt;hr&gt;While painting only values &amp;gt; t&lt;sub&gt;1&lt;/sub&gt; will get set.</string>
                      </property>
                    </widget>
                  </item>
                  <item>
                    <spacer name="spacer6">
                      <property name="sizeHint">
                        <size>
                          <width>40</width>
                          <height>20</height>
                        </size>
                      </property>
                      <property name="sizeType">
                        <enum>QSizePolicy::Expanding</enum>
                      </property>
                      <property name="orientation">
                        <enum>Qt::Horizontal</enum>
                      </property>
                    </spacer>
                  </item>
                  <item>
                    <widget class="QLabel" name="textLabel1_2">
                      <property name="text">
                        <string>t&lt;sub&gt;2&lt;/sub&gt;</string>
                      </property>
                      <property name="wordWrap">
                        <bool>false</bool>
                      </property>
                    </widget>
                  </item>
                  <item>
                    <widget class="QLineEdit" name="m_maxBox">
                      <property name="sizePolicy">
                        <sizepolicy>
                          <hsizetype>7</hsizetype>
                          <vsizetype>5</vsizetype>
                          <horstretch>0</horstretch>
                          <verstretch>0</verstretch>
                        </sizepolicy>
                      </property>
                      <property name="maximumSize">
                        <size>
                          <width>32767</width>
                          <height>16</height>
                        </size>
                      </property>
                      <property name="font">
                        <font>
                          <pointsize>12</pointsize>
                        </font>
                      </property>
                      <property name="toolTip" stdset="0">
                        <string>High threshold value&lt;hr&gt;Only values &amp;le; t&lt;sub&gt;2&lt;/sub&gt; will be set.</string>
                      </property>
                    </widget>
                  </item>
                </layout>
              </item>
            </layout>
          </widget>
        </item>
        <item>
          <widget class="Q3ButtonGroup" name="m_buttonGroup">
            <property name="title">
              <string>Mode</string>
            </property>
            <property name="checkable">
              <bool>false</bool>
            </property>
            <property name="checked">
              <bool>false</bool>
            </property>
            <property name="selectedId" stdset="0">
              <number>1</number>
            </property>
            <layout class="QVBoxLayout">
              <item>
                <widget class="QRadioButton" name="m_setPen">
                  <property name="text">
                    <string>Sets each painted voxel to the current pen value</string>
                  </property>
                  <property name="shortcut">
                    <string/>
                  </property>
                  <property name="checked">
                    <bool>true</bool>
                  </property>
                  <property name="toolTip" stdset="0">
                    <string>Set to pen value&lt;hr&gt;dest[roi] = v; t&lt;sub&gt;1&lt;/sub&gt; &amp;le; src[roi] &amp;le; t&lt;sub&gt;2&lt;/sub&gt;</string>
                  </property>
                </widget>
              </item>
              <item>
                <widget class="QRadioButton" name="m_copyPen">
                  <property name="text">
                    <string>Copy values from source image</string>
                  </property>
                  <property name="shortcut">
                    <string/>
                  </property>
                  <property name="toolTip" stdset="0">
                    <string>Copy values from src image&lt;hr&gt;dest[roi]=src[roi]; t&lt;sub&gt;1&lt;/sub&gt; &amp;le; src[roi] &amp;le; t&lt;sub&gt;2&lt;/sub&gt;</string>
                  </property>
                  <property name="whatsThis" stdset="0">
                    <string>With this option selected the source image (the one below this one in the current overlay stack) will be used as the source for any painted values.</string>
                  </property>
                </widget>
              </item>
            </layout>
          </widget>
        </item>
      </layout>
    </widget>
    <widget class="QWidget" name="Layout1">
      <property name="geometry">
        <rect>
          <x>11</x>
          <y>215</y>
          <width>419</width>
          <height>31</height>
        </rect>
      </property>
      <layout class="QHBoxLayout">
        <property name="margin">
          <number>0</number>
        </property>
        <property name="spacing">
          <number>6</number>
        </property>
        <item>
          <spacer name="Horizontal Spacing2">
            <property name="sizeHint">
              <size>
                <width>20</width>
                <height>20</height>
              </size>
            </property>
            <property name="sizeType">
              <enum>QSizePolicy::Expanding</enum>
            </property>
            <property name="orientation">
              <enum>Qt::Horizontal</enum>
            </property>
          </spacer>
        </item>
        <item>
          <widget class="QPushButton" name="buttonOk">
            <property name="text">
              <string>&amp;OK</string>
            </property>
            <property name="shortcut">
              <string/>
            </property>
            <property name="autoDefault">
              <bool>true</bool>
            </property>
            <property name="default">
              <bool>true</bool>
            </property>
          </widget>
        </item>
        <item>
          <widget class="QPushButton" name="buttonCancel">
            <property name="text">
              <string>&amp;Cancel</string>
            </property>
            <property name="shortcut">
              <string/>
            </property>
            <property name="autoDefault">
              <bool>true</bool>
            </property>
          </widget>
        </item>
      </layout>
    </widget>
    <widget class="QCheckBox" name="m_smartPenEnabled">
      <property name="geometry">
        <rect>
          <x>11</x>
          <y>11</y>
          <width>419</width>
          <height>21</height>
        </rect>
      </property>
      <property name="text">
        <string>Enable &quot;Smart Pen&quot; behaviour</string>
      </property>
    </widget>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <connections>
    <connection>
      <sender>buttonOk</sender>
      <signal>clicked()</signal>
      <receiver>SmartPenDialogBase</receiver>
      <slot>accept()</slot>
    </connection>
    <connection>
      <sender>buttonCancel</sender>
      <signal>clicked()</signal>
      <receiver>SmartPenDialogBase</receiver>
      <slot>reject()</slot>
    </connection>
    <connection>
      <sender>m_smartPenEnabled</sender>
      <signal>toggled(bool)</signal>
      <receiver>m_optionsFrame</receiver>
      <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
      <sender>m_smartPenEnabled</sender>
      <signal>toggled(bool)</signal>
      <receiver>m_buttonGroup</receiver>
      <slot>setEnabled(bool)</slot>
    </connection>
  </connections>
</ui>
