<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>AddKeyDlg</class>
 <widget class="QDialog" name="AddKeyDlg">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>390</width>
    <height>341</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Generate a new key pair</string>
  </property>
  <layout class="QGridLayout" name="gridLayout">
   <item row="4" column="0">
    <widget class="QLabel" name="label_2">
     <property name="text">
      <string>Length: </string>
     </property>
    </widget>
   </item>
   <item row="2" column="0">
    <widget class="QLabel" name="label_5">
     <property name="text">
      <string>Comment: </string>
     </property>
    </widget>
   </item>
   <item row="6" column="0">
    <widget class="QLabel" name="lblExpiration">
     <property name="text">
      <string>Expiration date: </string>
     </property>
    </widget>
   </item>
   <item row="8" column="1">
    <widget class="QLineEdit" name="linePass2">
     <property name="echoMode">
      <enum>QLineEdit::Password</enum>
     </property>
    </widget>
   </item>
   <item row="10" column="0" colspan="2">
    <widget class="QDialogButtonBox" name="btnBox">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
     <property name="centerButtons">
      <bool>false</bool>
     </property>
    </widget>
   </item>
   <item row="0" column="1">
    <widget class="QLineEdit" name="lineName"/>
   </item>
   <item row="9" column="0">
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>0</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="4" column="1">
    <widget class="QComboBox" name="cmbLength">
     <property name="editable">
      <bool>true</bool>
     </property>
     <property name="currentIndex">
      <number>-1</number>
     </property>
    </widget>
   </item>
   <item row="7" column="1">
    <widget class="QLineEdit" name="linePass">
     <property name="echoMode">
      <enum>QLineEdit::Password</enum>
     </property>
    </widget>
   </item>
   <item row="2" column="1">
    <widget class="QLineEdit" name="lineComment"/>
   </item>
   <item row="3" column="1">
    <widget class="QComboBox" name="cmbType">
     <item>
      <property name="text">
       <string>RSA and RSA (default)</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>DSA and Elgamal</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>DSA (sign only)</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>RSA (sign only)</string>
      </property>
     </item>
    </widget>
   </item>
   <item row="0" column="0">
    <widget class="QLabel" name="label_3">
     <property name="text">
      <string>Full name: </string>
     </property>
    </widget>
   </item>
   <item row="7" column="0">
    <widget class="QLabel" name="label_7">
     <property name="text">
      <string>Passphrase: </string>
     </property>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="QLabel" name="label_4">
     <property name="text">
      <string>E-mail address: </string>
     </property>
    </widget>
   </item>
   <item row="3" column="0">
    <widget class="QLabel" name="label">
     <property name="text">
      <string>Key type: </string>
     </property>
    </widget>
   </item>
   <item row="1" column="1">
    <widget class="QLineEdit" name="lineEmail"/>
   </item>
   <item row="8" column="0">
    <widget class="QLabel" name="label_8">
     <property name="text">
      <string>Repeat: </string>
     </property>
    </widget>
   </item>
   <item row="6" column="1">
    <widget class="DateWidget" name="dateExpiration"/>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>DateWidget</class>
   <extends>QLineEdit</extends>
   <header>datewidget.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>lineName</tabstop>
  <tabstop>lineEmail</tabstop>
  <tabstop>lineComment</tabstop>
  <tabstop>cmbType</tabstop>
  <tabstop>cmbLength</tabstop>
  <tabstop>dateExpiration</tabstop>
  <tabstop>linePass</tabstop>
  <tabstop>linePass2</tabstop>
  <tabstop>btnBox</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>btnBox</sender>
   <signal>accepted()</signal>
   <receiver>AddKeyDlg</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>266</x>
     <y>331</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>btnBox</sender>
   <signal>rejected()</signal>
   <receiver>AddKeyDlg</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>334</x>
     <y>331</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>linePass</sender>
   <signal>textEdited(QString)</signal>
   <receiver>AddKeyDlg</receiver>
   <slot>checkPass()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>180</x>
     <y>247</y>
    </hint>
    <hint type="destinationlabel">
     <x>366</x>
     <y>239</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>linePass2</sender>
   <signal>textEdited(QString)</signal>
   <receiver>AddKeyDlg</receiver>
   <slot>checkPass()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>341</x>
     <y>273</y>
    </hint>
    <hint type="destinationlabel">
     <x>362</x>
     <y>324</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>cmbType</sender>
   <signal>currentIndexChanged(QString)</signal>
   <receiver>AddKeyDlg</receiver>
   <slot>fillLenght(QString)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>289</x>
     <y>112</y>
    </hint>
    <hint type="destinationlabel">
     <x>386</x>
     <y>79</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>checkPass()</slot>
  <slot>fillLenght(QString)</slot>
 </slots>
</ui>
