<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <author>Harm van Eersel &lt;devsciurus@xs4all.nl&gt;</author>
 <class>SettingsDialog</class>
 <widget class="QDialog" name="SettingsDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>602</width>
    <height>509</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>molsKetch - Preferences</string>
  </property>
  <property name="windowIcon">
   <iconset theme="preferences-system">
    <normaloff/>
   </iconset>
  </property>
  <layout class="QHBoxLayout" name="horizontalLayout">
   <item>
    <layout class="QVBoxLayout" name="settingsDialogLayout">
     <item>
      <layout class="QHBoxLayout" name="settingsInnerLayout">
       <item>
        <widget class="QListWidget" name="listWidget">
         <property name="sizePolicy">
          <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="maximumSize">
          <size>
           <width>88</width>
           <height>16777215</height>
          </size>
         </property>
         <property name="iconSize">
          <size>
           <width>32</width>
           <height>32</height>
          </size>
         </property>
         <property name="movement">
          <enum>QListView::Static</enum>
         </property>
         <property name="spacing">
          <number>12</number>
         </property>
         <property name="viewMode">
          <enum>QListView::IconMode</enum>
         </property>
         <property name="wordWrap">
          <bool>true</bool>
         </property>
         <property name="currentRow">
          <number>-1</number>
         </property>
         <item>
          <property name="text">
           <string>General</string>
          </property>
          <property name="icon">
           <iconset theme="preferences-system">
            <normaloff/>
           </iconset>
          </property>
         </item>
         <item>
          <property name="text">
           <string>Draw settings</string>
          </property>
          <property name="icon">
           <iconset theme="draw-freehand">
            <normaloff/>
           </iconset>
          </property>
         </item>
         <item>
          <property name="text">
           <string>Libraries</string>
          </property>
          <property name="icon">
           <iconset theme="document-open">
            <normaloff/>
           </iconset>
          </property>
         </item>
        </widget>
       </item>
       <item>
        <widget class="QStackedWidget" name="stackedWidget">
         <property name="currentIndex">
          <number>0</number>
         </property>
         <widget class="QWidget" name="generalPage">
          <widget class="QGroupBox" name="groupBoxGeneral">
           <property name="geometry">
            <rect>
             <x>10</x>
             <y>10</y>
             <width>411</width>
             <height>391</height>
            </rect>
           </property>
           <property name="title">
            <string>General options</string>
           </property>
           <widget class="QWidget" name="generalLayoutWidget">
            <property name="geometry">
             <rect>
              <x>20</x>
              <y>40</y>
              <width>388</width>
              <height>176</height>
             </rect>
            </property>
            <layout class="QVBoxLayout" name="SaveLayout">
             <item>
              <layout class="QHBoxLayout" name="defaultFileTypeLayout">
               <item>
                <widget class="QLabel" name="labelDefaultFileType">
                 <property name="text">
                  <string>Default file type</string>
                 </property>
                </widget>
               </item>
               <item>
                <widget class="QComboBox" name="comboBoxFileType">
                 <item>
                  <property name="text">
                   <string>MDL (*.mdl)</string>
                  </property>
                 </item>
                 <item>
                  <property name="text">
                   <string>Chemical Markup Language (*.cml)</string>
                  </property>
                 </item>
                </widget>
               </item>
              </layout>
             </item>
             <item>
              <layout class="QHBoxLayout" name="defaultImageTypeLayout">
               <item>
                <widget class="QLabel" name="labelDefaultImageType">
                 <property name="text">
                  <string>Default image type</string>
                 </property>
                </widget>
               </item>
               <item>
                <widget class="QComboBox" name="comboBoxImageType">
                 <item>
                  <property name="text">
                   <string>Scalable Vector Graphics (*.svg)</string>
                  </property>
                 </item>
                 <item>
                  <property name="text">
                   <string>Portable Network Graphics (*.png)</string>
                  </property>
                 </item>
                </widget>
               </item>
              </layout>
             </item>
             <item>
              <layout class="QHBoxLayout" name="autoSaveIntervalLayout">
               <item>
                <widget class="QLabel" name="labelAutoSave">
                 <property name="text">
                  <string>Autosave each</string>
                 </property>
                </widget>
               </item>
               <item>
                <spacer name="autoSaveIntervalSpacer">
                 <property name="orientation">
                  <enum>Qt::Horizontal</enum>
                 </property>
                 <property name="sizeHint" stdset="0">
                  <size>
                   <width>192</width>
                   <height>25</height>
                  </size>
                 </property>
                </spacer>
               </item>
               <item>
                <widget class="QSpinBox" name="spinBoxAutoSave">
                 <property name="suffix">
                  <string> min</string>
                 </property>
                 <property name="prefix">
                  <string/>
                 </property>
                </widget>
               </item>
              </layout>
             </item>
             <item>
              <layout class="QHBoxLayout" name="horizontalLayout_3">
               <item>
                <widget class="QLabel" name="label">
                 <property name="text">
                  <string>Use mouse wheel to...</string>
                 </property>
                 <property name="alignment">
                  <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
                 </property>
                </widget>
               </item>
               <item>
                <layout class="QVBoxLayout" name="verticalLayout_2">
                 <item>
                  <widget class="QRadioButton" name="mouseWheelZoom">
                   <property name="text">
                    <string>zoom</string>
                   </property>
                  </widget>
                 </item>
                 <item>
                  <widget class="QRadioButton" name="mouseWheelCycleTools">
                   <property name="text">
                    <string>cycle tools</string>
                   </property>
                  </widget>
                 </item>
                </layout>
               </item>
              </layout>
             </item>
            </layout>
           </widget>
          </widget>
         </widget>
         <widget class="QWidget" name="drawingPage">
          <layout class="QHBoxLayout" name="horizontalLayout_2">
           <item>
            <layout class="QVBoxLayout" name="atomLayout">
             <item>
              <widget class="QGroupBox" name="groupBoxAtom">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="title">
                <string>Atom settings</string>
               </property>
               <property name="checkable">
                <bool>false</bool>
               </property>
               <layout class="QGridLayout">
                <property name="margin">
                 <number>9</number>
                </property>
                <property name="spacing">
                 <number>6</number>
                </property>
                <item row="3" column="0">
                 <widget class="QCheckBox" name="checkBoxShowES">
                  <property name="text">
                   <string>Show electron systems (experimental)</string>
                  </property>
                 </widget>
                </item>
                <item row="6" column="0">
                 <layout class="QHBoxLayout" name="atomFontLayout">
                  <item>
                   <widget class="QDoubleSpinBox" name="doubleSpinBoxFontSize">
                    <property name="buttonSymbols">
                     <enum>QAbstractSpinBox::UpDownArrows</enum>
                    </property>
                    <property name="accelerated">
                     <bool>true</bool>
                    </property>
                    <property name="correctionMode">
                     <enum>QAbstractSpinBox::CorrectToNearestValue</enum>
                    </property>
                    <property name="suffix">
                     <string> pt</string>
                    </property>
                    <property name="decimals">
                     <number>0</number>
                    </property>
                    <property name="minimum">
                     <double>8.000000000000000</double>
                    </property>
                    <property name="maximum">
                     <double>120.000000000000000</double>
                    </property>
                   </widget>
                  </item>
                  <item>
                   <widget class="QFontComboBox" name="fontComboBox"/>
                  </item>
                  <item>
                   <widget class="QPushButton" name="pushButtonFont">
                    <property name="text">
                     <string>Details...</string>
                    </property>
                   </widget>
                  </item>
                 </layout>
                </item>
                <item row="0" column="0">
                 <widget class="QCheckBox" name="checkBoxShowCarbon">
                  <property name="text">
                   <string>Show neutral carbon atoms</string>
                  </property>
                 </widget>
                </item>
                <item row="2" column="0">
                 <widget class="QCheckBox" name="checkBoxShowLP">
                  <property name="text">
                   <string>Show lone pairs</string>
                  </property>
                 </widget>
                </item>
                <item row="5" column="0">
                 <widget class="QLabel" name="labelAtomSymbolFont">
                  <property name="text">
                   <string>AtomSymbol font</string>
                  </property>
                 </widget>
                </item>
                <item row="4" column="0">
                 <spacer name="atomSpacer">
                  <property name="orientation">
                   <enum>Qt::Vertical</enum>
                  </property>
                  <property name="sizeType">
                   <enum>QSizePolicy::Fixed</enum>
                  </property>
                  <property name="sizeHint" stdset="0">
                   <size>
                    <width>20</width>
                    <height>20</height>
                   </size>
                  </property>
                 </spacer>
                </item>
                <item row="1" column="0">
                 <widget class="QCheckBox" name="checkBoxShowValency">
                  <property name="sizePolicy">
                   <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                   </sizepolicy>
                  </property>
                  <property name="text">
                   <string>Show atomic charge</string>
                  </property>
                 </widget>
                </item>
               </layout>
              </widget>
             </item>
             <item>
              <widget class="QGroupBox" name="groupBoxBond">
               <property name="sizePolicy">
                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                 <horstretch>0</horstretch>
                 <verstretch>0</verstretch>
                </sizepolicy>
               </property>
               <property name="title">
                <string>MsKBond settings</string>
               </property>
               <widget class="QLabel" name="labelBondLength">
                <property name="geometry">
                 <rect>
                  <x>11</x>
                  <y>30</y>
                  <width>211</width>
                  <height>20</height>
                 </rect>
                </property>
                <property name="text">
                 <string>Bond length:</string>
                </property>
               </widget>
               <widget class="QLineEdit" name="lineEditBondLength">
                <property name="geometry">
                 <rect>
                  <x>230</x>
                  <y>30</y>
                  <width>171</width>
                  <height>26</height>
                 </rect>
                </property>
               </widget>
               <widget class="QLabel" name="labelBondWidth">
                <property name="geometry">
                 <rect>
                  <x>11</x>
                  <y>61</y>
                  <width>221</width>
                  <height>19</height>
                 </rect>
                </property>
                <property name="text">
                 <string>Bond width:</string>
                </property>
               </widget>
               <widget class="QDoubleSpinBox" name="doubleSpinBoxBondWidth">
                <property name="geometry">
                 <rect>
                  <x>230</x>
                  <y>60</y>
                  <width>171</width>
                  <height>25</height>
                 </rect>
                </property>
                <property name="suffix">
                 <string> px</string>
                </property>
                <property name="decimals">
                 <number>0</number>
                </property>
                <property name="minimum">
                 <double>1.000000000000000</double>
                </property>
                <property name="maximum">
                 <double>100.000000000000000</double>
                </property>
                <property name="singleStep">
                 <double>1.000000000000000</double>
                </property>
                <property name="value">
                 <double>1.000000000000000</double>
                </property>
               </widget>
               <widget class="QSpinBox" name="spinBoxBondAngle">
                <property name="geometry">
                 <rect>
                  <x>230</x>
                  <y>90</y>
                  <width>171</width>
                  <height>25</height>
                 </rect>
                </property>
                <property name="suffix">
                 <string>°</string>
                </property>
                <property name="minimum">
                 <number>0</number>
                </property>
                <property name="maximum">
                 <number>99</number>
                </property>
                <property name="singleStep">
                 <number>1</number>
                </property>
                <property name="value">
                 <number>0</number>
                </property>
               </widget>
               <widget class="QLabel" name="labelBondAngle">
                <property name="geometry">
                 <rect>
                  <x>11</x>
                  <y>91</y>
                  <width>221</width>
                  <height>19</height>
                 </rect>
                </property>
                <property name="text">
                 <string>Bond angle:</string>
                </property>
               </widget>
              </widget>
             </item>
            </layout>
           </item>
          </layout>
         </widget>
         <widget class="QWidget" name="librariesPage">
          <widget class="QGroupBox" name="groupBoxLibraries">
           <property name="geometry">
            <rect>
             <x>10</x>
             <y>10</y>
             <width>411</width>
             <height>381</height>
            </rect>
           </property>
           <property name="title">
            <string>Libraries</string>
           </property>
           <widget class="QWidget" name="librarieslayoutWidget">
            <property name="geometry">
             <rect>
              <x>20</x>
              <y>50</y>
              <width>361</width>
              <height>301</height>
             </rect>
            </property>
            <layout class="QVBoxLayout" name="verticalLayout">
             <item>
              <layout class="QGridLayout" name="libraryPathLayout">
               <item row="1" column="0">
                <widget class="QPushButton" name="addLibrary">
                 <property name="text">
                  <string/>
                 </property>
                 <property name="icon">
                  <iconset theme="list-add">
                   <normaloff/>
                  </iconset>
                 </property>
                </widget>
               </item>
               <item row="1" column="1">
                <widget class="QPushButton" name="removeLibrary">
                 <property name="text">
                  <string/>
                 </property>
                 <property name="icon">
                  <iconset theme="list-remove">
                   <normaloff/>
                  </iconset>
                 </property>
                </widget>
               </item>
               <item row="0" column="0" colspan="2">
                <widget class="QListWidget" name="libraries">
                 <property name="selectionMode">
                  <enum>QAbstractItemView::ExtendedSelection</enum>
                 </property>
                </widget>
               </item>
              </layout>
             </item>
            </layout>
           </widget>
          </widget>
         </widget>
        </widget>
       </item>
      </layout>
     </item>
     <item>
      <widget class="QDialogButtonBox" name="buttonBox">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="standardButtons">
        <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults</set>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>listWidget</tabstop>
  <tabstop>comboBoxFileType</tabstop>
  <tabstop>comboBoxImageType</tabstop>
  <tabstop>spinBoxAutoSave</tabstop>
  <tabstop>checkBoxShowES</tabstop>
  <tabstop>doubleSpinBoxFontSize</tabstop>
  <tabstop>fontComboBox</tabstop>
  <tabstop>pushButtonFont</tabstop>
  <tabstop>checkBoxShowCarbon</tabstop>
  <tabstop>checkBoxShowLP</tabstop>
  <tabstop>checkBoxShowValency</tabstop>
  <tabstop>lineEditBondLength</tabstop>
  <tabstop>doubleSpinBoxBondWidth</tabstop>
  <tabstop>spinBoxBondAngle</tabstop>
  <tabstop>libraries</tabstop>
  <tabstop>buttonBox</tabstop>
  <tabstop>addLibrary</tabstop>
  <tabstop>removeLibrary</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>SettingsDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>373</x>
     <y>501</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>SettingsDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>441</x>
     <y>501</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>listWidget</sender>
   <signal>currentRowChanged(int)</signal>
   <receiver>stackedWidget</receiver>
   <slot>setCurrentIndex(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>62</x>
     <y>21</y>
    </hint>
    <hint type="destinationlabel">
     <x>260</x>
     <y>12</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
