<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>Gui::Dialog::DlgSettingsDocument</class>
 <widget class="QWidget" name="Gui::Dialog::DlgSettingsDocument">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>470</width>
    <height>423</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Document</string>
  </property>
  <layout class="QGridLayout" name="gridLayout_3">
   <item row="0" column="0">
    <widget class="QGroupBox" name="GroupBox5">
     <property name="title">
      <string>General</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_4">
      <property name="margin">
       <number>9</number>
      </property>
      <property name="spacing">
       <number>6</number>
      </property>
      <item row="2" column="0">
       <layout class="QHBoxLayout">
        <property name="spacing">
         <number>6</number>
        </property>
        <property name="margin">
         <number>0</number>
        </property>
        <item>
         <widget class="QLabel" name="textLabel1">
          <property name="text">
           <string>Document save compression level
(0 = none, 9 = highest, 3 = default)</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefSpinBox" name="prefCompression">
          <property name="value">
           <number>3</number>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>CompressionLevel</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Document</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="5" column="0">
       <layout class="QHBoxLayout">
        <property name="spacing">
         <number>6</number>
        </property>
        <property name="margin">
         <number>0</number>
        </property>
        <item>
         <widget class="QLabel" name="textLabel1_2">
          <property name="text">
           <string>Maximum Undo/Redo steps</string>
          </property>
         </widget>
        </item>
        <item>
         <widget class="Gui::PrefSpinBox" name="prefUndoRedoSize">
          <property name="value">
           <number>20</number>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>MaxUndoSize</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Document</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item row="0" column="0">
       <widget class="Gui::PrefCheckBox" name="prefCheckNewDoc">
        <property name="text">
         <string>Create new document at start up</string>
        </property>
         <property name="checked">
           <bool>false</bool>
         </property>
         <property name="prefEntry" stdset="0">
         <cstring>CreateNewDoc</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Document</cstring>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="Line" name="line1">
        <property name="frameShape">
         <enum>QFrame::HLine</enum>
        </property>
        <property name="frameShadow">
         <enum>QFrame::Sunken</enum>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="Line" name="line1_2">
        <property name="frameShape">
         <enum>QFrame::HLine</enum>
        </property>
        <property name="frameShadow">
         <enum>QFrame::Sunken</enum>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
       </widget>
      </item>
      <item row="4" column="0">
       <widget class="Gui::PrefCheckBox" name="prefUndoRedo">
        <property name="text">
         <string>Using Undo/Redo on documents</string>
        </property>
         <property name="checked">
           <bool>true</bool>
         </property>
         <property name="prefEntry" stdset="0">
         <cstring>UsingUndo</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Document</cstring>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>Storage</string>
     </property>
     <layout class="QGridLayout" name="gridLayout_2">
      <item row="0" column="0">
       <widget class="Gui::PrefCheckBox" name="prefSaveTransaction">
        <property name="enabled">
         <bool>false</bool>
        </property>
        <property name="text">
         <string>Saving transactions (Auto-save)</string>
        </property>
        <property name="prefEntry" stdset="0">
         <cstring>SaveTransactions</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Document</cstring>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="Gui::PrefCheckBox" name="prefDiscardTransaction">
        <property name="enabled">
         <bool>false</bool>
        </property>
        <property name="text">
         <string>Discard saved transaction after saving document</string>
        </property>
        <property name="prefEntry" stdset="0">
         <cstring>TransactionsDiscard</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Document</cstring>
        </property>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="Line" name="line1_2_3">
        <property name="frameShape">
         <enum>QFrame::HLine</enum>
        </property>
        <property name="frameShadow">
         <enum>QFrame::Sunken</enum>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="Gui::PrefCheckBox" name="prefSaveThumbnail">
        <property name="text">
         <string>Save thumbnail into project file when saving document</string>
        </property>
        <property name="prefEntry" stdset="0">
         <cstring>SaveThumbnail</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Document</cstring>
        </property>
       </widget>
      </item>
      <item row="4" column="0">
       <layout class="QHBoxLayout">
        <property name="spacing">
         <number>6</number>
        </property>
        <property name="margin">
         <number>0</number>
        </property>
        <item>
         <widget class="Gui::PrefCheckBox" name="prefSaveBackupFiles">
          <property name="text">
           <string>Create up to backup files when resaving document</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>CreateBackupFiles</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Document</cstring>
          </property>
         </widget>
        </item>
        <item>
         <spacer>
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeType">
           <enum>QSizePolicy::Maximum</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>91</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item>
         <widget class="Gui::PrefSpinBox" name="prefCountBackupFiles">
          <property name="minimum">
           <number>1</number>
          </property>
          <property name="prefEntry" stdset="0">
           <cstring>CountBackupFiles</cstring>
          </property>
          <property name="prefPath" stdset="0">
           <cstring>Document</cstring>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item row="2" column="0">
    <widget class="QGroupBox" name="groupBox_2">
     <property name="title">
      <string>Document objects</string>
     </property>
     <layout class="QGridLayout" name="gridLayout">
      <item row="0" column="0">
       <widget class="Gui::PrefCheckBox" name="prefDuplicateLabel">
        <property name="text">
         <string>Allow duplicate object labels in one document</string>
        </property>
        <property name="prefEntry" stdset="0">
         <cstring>DuplicateLabels</cstring>
        </property>
        <property name="prefPath" stdset="0">
         <cstring>Document</cstring>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="3" column="0">
    <spacer>
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>429</width>
       <height>37</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>Gui::PrefCheckBox</class>
   <extends>QCheckBox</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
  <customwidget>
   <class>Gui::PrefSpinBox</class>
   <extends>QSpinBox</extends>
   <header>Gui/PrefWidgets.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>prefCheckNewDoc</tabstop>
  <tabstop>prefCompression</tabstop>
  <tabstop>prefUndoRedo</tabstop>
  <tabstop>prefUndoRedoSize</tabstop>
  <tabstop>prefSaveTransaction</tabstop>
  <tabstop>prefDiscardTransaction</tabstop>
  <tabstop>prefSaveThumbnail</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>prefSaveBackupFiles</sender>
   <signal>toggled(bool)</signal>
   <receiver>prefCountBackupFiles</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>86</x>
     <y>295</y>
    </hint>
    <hint type="destinationlabel">
     <x>395</x>
     <y>286</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
