xca/ui/ExportKey.ui
2006-12-13 21:37:36 +01:00

318 lines
7.9 KiB
XML

<ui version="4.0" >
<class>ExportKey</class>
<widget class="QDialog" name="ExportKey" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>419</width>
<height>396</height>
</rect>
</property>
<property name="windowTitle" >
<string>ExportKey</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="TextLabel12" >
<property name="font" >
<font>
<family>Arial</family>
<pointsize>14</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
<underline>false</underline>
<strikeout>false</strikeout>
</font>
</property>
<property name="text" >
<string>Key export</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="image" >
<property name="minimumSize" >
<size>
<width>95</width>
<height>40</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>95</width>
<height>40</height>
</size>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="TextLabel13" >
<property name="text" >
<string>Please enter the filename for the key.</string>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_3" >
<property name="frameShape" >
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Sunken</enum>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>8</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="TextLabel14" >
<property name="text" >
<string>Filename</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="filename" />
</item>
<item>
<widget class="QToolButton" name="fileBut" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="TextLabel3" >
<property name="text" >
<string>DER is a binary format of the key without encryption
PEM is a base64 encoded key with optional encryption
PKCS#8 is an encrypted official Key-exchange format</string>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="frame_2" >
<property name="frameShape" >
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Sunken</enum>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>8</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="TextLabel1" >
<property name="text" >
<string>Export Format</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="exportFormat" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="TextLabel2" >
<property name="text" >
<string>When exporting the private key it should be encrypted.</string>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="privFrame" >
<property name="frameShape" >
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Sunken</enum>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="exportPrivate" >
<property name="toolTip" >
<string>When exporting the private part, it should be encrypted.</string>
</property>
<property name="text" >
<string>E&amp;xport the private part of the Key too</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="exportPkcs8" >
<property name="text" >
<string>Export as PKCS#8</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="encryptKey" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>&amp;Encrypt the Key with a password</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QPushButton" name="PushButton9" >
<property name="text" >
<string>&amp;Cancel</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="PushButton7" >
<property name="text" >
<string>&amp;OK</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>filename</tabstop>
<tabstop>exportPrivate</tabstop>
<tabstop>encryptKey</tabstop>
<tabstop>PushButton7</tabstop>
<tabstop>PushButton9</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>PushButton9</sender>
<signal>clicked()</signal>
<receiver>ExportKey</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>52</x>
<y>360</y>
</hint>
<hint type="destinationlabel" >
<x>155</x>
<y>359</y>
</hint>
</hints>
</connection>
<connection>
<sender>PushButton7</sender>
<signal>clicked()</signal>
<receiver>ExportKey</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>421</x>
<y>364</y>
</hint>
<hint type="destinationlabel" >
<x>278</x>
<y>355</y>
</hint>
</hints>
</connection>
</connections>
</ui>