You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kvpnc/src/importcertificatedialogbase.ui

344 lines
16 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ImportCertificateDialogBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>ImportCertificateDialogBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>428</width>
<height>328</height>
</rect>
</property>
<property name="caption">
<string>Import Certificate</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout19</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>GeneralGroupBox</cstring>
</property>
<property name="title">
<string>General</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>File name:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>ImporttypeTextLabel</cstring>
</property>
<property name="text">
<string>Import type:</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>CertPathTextLabel</cstring>
</property>
<property name="text">
<string>Certificate path:</string>
</property>
</widget>
<widget class="KURLRequester" row="2" column="4">
<property name="name">
<cstring>RacoonCertificatePathUrlrequester</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="url" stdset="0">
<string>/etc/racoon/certs</string>
</property>
<property name="toolTip" stdset="0">
<string>Path to certificates directory for IPSec</string>
</property>
</widget>
<widget class="KURLRequester" row="1" column="4">
<property name="name">
<cstring>FilenameUrlrequester</cstring>
</property>
<property name="minimumSize">
<size>
<width>250</width>
<height>0</height>
</size>
</property>
<property name="toolTip" stdset="0">
<string>Path to the certificate file in P12 format</string>
</property>
</widget>
<spacer row="1" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>spacer32</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>100</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="KComboBox" row="0" column="4">
<item>
<property name="text">
<string>P12: IPsec</string>
</property>
</item>
<item>
<property name="text">
<string>P12: racoon</string>
</property>
</item>
<item>
<property name="text">
<string>DER CA</string>
</property>
</item>
<item>
<property name="text">
<string>P12: OpenVPN</string>
</property>
</item>
<item>
<property name="text">
<string>Cisco (propritary)</string>
</property>
</item>
<item>
<property name="text">
<string>Cisco CA (propritary)</string>
</property>
</item>
<item>
<property name="text">
<string>Cisco User+CA (propritary)</string>
</property>
</item>
<property name="name">
<cstring>ImporttypeComboBox</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Type of connection for which this certificate should be used</string>
</property>
<property name="whatsThis" stdset="0">
<string>&lt;h1&gt;The following types are available:&lt;/h1&gt;
&lt;table&gt;
&lt;tr&gt;&lt;td&gt;P12: IPsec&lt;/td&gt;&lt;td&gt;import certificate in PKCS12 format for IPSec use&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;P12: racoon&lt;/td&gt;&lt;td&gt;import certificate in PKCS12 format for ipsectools (racoon) use&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;DER CA&lt;/td&gt;&lt;td&gt;import CA certificate in DER format&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;P12: OpenVPN&lt;/td&gt;&lt;td&gt;import certificate in PKCS12 format for OpenVPN use&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Cisco (propritary)&lt;/td&gt;&lt;td&gt;import user certificate for propritary cisco client use&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Cisco CA (propritary)&lt;/td&gt;&lt;td&gt;import CA certificate for propritary cisco client use&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Cisco User+CA (propritary)&lt;/td&gt;&lt;td&gt;import user and CA certificate for propritary cisco client use&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</string>
</property>
</widget>
<spacer row="0" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>ImporttypeSpacer</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="2" column="3">
<property name="name">
<cstring>CertPathSpacer</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>P12GroupBox</cstring>
</property>
<property name="title">
<string>P12</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Import password:</string>
</property>
</widget>
<widget class="KLineEdit" row="0" column="1">
<property name="name">
<cstring>ImportPasswordEdit</cstring>
</property>
<property name="echoMode">
<enum>Password</enum>
</property>
<property name="toolTip" stdset="0">
<string>Import password for P12 certificate (got from administrator)</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>UsePrivateKeyPasswordCheckBox</cstring>
</property>
<property name="text">
<string>Protect private key &amp;with passphrase</string>
</property>
<property name="accel">
<string>Alt+W</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>PrivateKeyPassGroupBox</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Passphrase</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPasswordEdit" row="0" column="1">
<property name="name">
<cstring>PrivateKeyPasswordEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Passphrase to protect private key. Feel free to choose what you want (don't forget it!).</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>PrivateKeyPassTextLabel</cstring>
</property>
<property name="text">
<string>Private key passphrase:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>PrivateKeyPassAgainTextLabel</cstring>
</property>
<property name="text">
<string>Passphrase again:</string>
</property>
</widget>
<widget class="KPasswordEdit" row="1" column="1">
<property name="name">
<cstring>PrivateKeyAgainPasswordEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Passphrase to protect private key (again)</string>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>UsePrivateKeyPasswordCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ImportCertificateDialogBase</receiver>
<slot>usePrivateKeyPassToggled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>ImporttypeComboBox</tabstop>
<tabstop>FilenameUrlrequester</tabstop>
<tabstop>RacoonCertificatePathUrlrequester</tabstop>
<tabstop>ImportPasswordEdit</tabstop>
<tabstop>UsePrivateKeyPasswordCheckBox</tabstop>
<tabstop>PrivateKeyPasswordEdit</tabstop>
<tabstop>PrivateKeyAgainPasswordEdit</tabstop>
</tabstops>
<Q_SLOTS>
<slot>usePrivateKeyPassToggled(bool)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kcombobox.h</include>
<include location="global" impldecl="in implementation">klineedit.h</include>
<include location="global" impldecl="in implementation">kpassdlg.h</include>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
</includes>
</UI>