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/profilesshoptionsbase.ui

356 lines
16 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ProfileSshOptionsBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>ProfileSshOptionsBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>490</width>
<height>421</height>
</rect>
</property>
<property name="caption">
<string>SSH</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout209</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>UseUserdefinedRemotePortCheckBox</cstring>
</property>
<property name="text">
<string>&amp;Use specified remote port:</string>
</property>
<property name="toolTip" stdset="0">
<string>Use non standard TCP/UDP port</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer6_3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>82</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQSpinBox">
<property name="name">
<cstring>UserdefinedRemotePortSpinBox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="value">
<number>22</number>
</property>
<property name="toolTip" stdset="0">
<string>Port number</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>UseSshConfigRemoteScriptCheckBox</cstring>
</property>
<property name="text">
<string>&amp;Use network config script on server:</string>
</property>
<property name="toolTip" stdset="0">
<string>Use non standard TCP/UDP port</string>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>SshConfigRemoteScriptLineEdit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>full path to script on server</string>
</property>
<property name="whatsThis" stdset="0">
<string>Parameter 0: script name e.g. /root/ssh_vpn_up.sh
Parameter 1: device type e.g. tun
Parameter 2: ip address e.g. 1.2.3.4 (tun)
Parameter 3: remote ip address 1.2.3.5 (tun)</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
<property name="title">
<string>Authentication</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>AuthKeyRadioButton</cstring>
</property>
<property name="text">
<string>&amp;Key</string>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>AuthPassRadioButton</cstring>
</property>
<property name="text">
<string>Pass&amp;word</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer132</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>194</width>
<height>41</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>SshkeyButtonGroup</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>SSH key</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KComboBox" row="0" column="1">
<property name="name">
<cstring>SshKeyComboBox</cstring>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>CostumKeyRadioButton</cstring>
</property>
<property name="text">
<string>Costum key:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>51</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="KURLRequester" row="1" column="1">
<property name="name">
<cstring>CostumkeyURLRequester</cstring>
</property>
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout10</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>AutoKeyRadioButton</cstring>
</property>
<property name="text">
<string>autodetected ke&amp;y:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer7</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer130</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>140</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>UseUserdefinedRemotePortCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileSshOptionsBase</receiver>
<slot>usePortToggled(bool)</slot>
</connection>
<connection>
<sender>AuthKeyRadioButton</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileSshOptionsBase</receiver>
<slot>sshKeyToggled(bool)</slot>
</connection>
<connection>
<sender>CostumKeyRadioButton</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileSshOptionsBase</receiver>
<slot>sshKeyToggled(bool)</slot>
</connection>
<connection>
<sender>AuthPassRadioButton</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileSshOptionsBase</receiver>
<slot>sshAuthToggled(bool)</slot>
</connection>
<connection>
<sender>UseSshConfigRemoteScriptCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileSshOptionsBase</receiver>
<slot>useSshConfigRemoteScriptToggled(bool)</slot>
</connection>
</connections>
<slots>
<slot>usePortToggled(bool)</slot>
<slot>sshKeyToggled(bool)</slot>
<slot>sshAuthToggled(bool)</slot>
<slot>useSshConfigRemoteScriptToggled(bool)</slot>
</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">kurlrequester.h</include>
</includes>
</UI>