<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>NewKeyDialog</class>
 <widget class="QDialog" name="NewKeyDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>596</width>
    <height>220</height>
   </rect>
  </property>
  <property name="minimumSize">
   <size>
    <width>593</width>
    <height>214</height>
   </size>
  </property>
  <property name="maximumSize">
   <size>
    <width>775</width>
    <height>251</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Generate Key</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <item row="0" column="0">
    <layout class="QGridLayout" name="gridLayout_2">
     <property name="leftMargin">
      <number>10</number>
     </property>
     <property name="topMargin">
      <number>10</number>
     </property>
     <property name="rightMargin">
      <number>10</number>
     </property>
     <property name="bottomMargin">
      <number>10</number>
     </property>
     <property name="spacing">
      <number>10</number>
     </property>
     <item row="0" column="0">
      <widget class="QRadioButton" name="uiCreate">
       <property name="text">
        <string>&amp;Key path</string>
       </property>
       <property name="checked">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item row="2" column="0">
      <widget class="QRadioButton" name="uiCreateInRepository">
       <property name="text">
        <string>Key in &amp;repository</string>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="QLineEdit" name="uiKeyPath">
       <property name="toolTip">
        <string>Key path</string>
       </property>
      </widget>
     </item>
     <item row="3" column="0" colspan="3">
      <widget class="QLabel" name="label">
       <property name="text">
        <string>The repository is the &lt;b&gt;.encryptpad&lt;/b&gt; (&lt;b&gt;_encryptpad&lt;/b&gt; on Windows) directory in the user's home folder. If it does not exist, it will be created.</string>
       </property>
       <property name="wordWrap">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item row="0" column="2">
      <widget class="QPushButton" name="uiKeyPathBrowse">
       <property name="text">
        <string>Browse...</string>
       </property>
      </widget>
     </item>
     <item row="2" column="1">
      <widget class="QLineEdit" name="uiRepositoryKeyName">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="toolTip">
        <string>Key name in the repository</string>
       </property>
      </widget>
     </item>
     <item row="1" column="0" colspan="3">
      <widget class="Line" name="line">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
      </widget>
     </item>
     <item row="4" column="0" colspan="3">
      <widget class="QDialogButtonBox" name="buttonBox">
       <property name="minimumSize">
        <size>
         <width>35</width>
         <height>0</height>
        </size>
       </property>
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="standardButtons">
        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       </property>
      </widget>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>uiCreate</tabstop>
  <tabstop>uiKeyPath</tabstop>
  <tabstop>uiKeyPathBrowse</tabstop>
  <tabstop>uiCreateInRepository</tabstop>
  <tabstop>uiRepositoryKeyName</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>NewKeyDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>237</x>
     <y>186</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>213</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>NewKeyDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>305</x>
     <y>192</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>213</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>uiCreate</sender>
   <signal>toggled(bool)</signal>
   <receiver>uiKeyPath</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>91</x>
     <y>30</y>
    </hint>
    <hint type="destinationlabel">
     <x>331</x>
     <y>29</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>uiCreateInRepository</sender>
   <signal>toggled(bool)</signal>
   <receiver>uiRepositoryKeyName</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>91</x>
     <y>74</y>
    </hint>
    <hint type="destinationlabel">
     <x>331</x>
     <y>74</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>uiKeyPathBrowse</sender>
   <signal>clicked()</signal>
   <receiver>NewKeyDialog</receiver>
   <slot>browseForKeyPath()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>536</x>
     <y>30</y>
    </hint>
    <hint type="destinationlabel">
     <x>296</x>
     <y>106</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>uiCreate</sender>
   <signal>toggled(bool)</signal>
   <receiver>uiKeyPathBrowse</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>91</x>
     <y>30</y>
    </hint>
    <hint type="destinationlabel">
     <x>536</x>
     <y>30</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>browseForKeyPath()</slot>
 </slots>
</ui>
