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.
konversation/konversation/src/dcc_preferencesui.ui

528 lines
20 KiB

<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>DCC_ConfigUI</class>
<comment>This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.</comment>
<widget class="TQWidget">
<property name="name">
<cstring>DCC_ConfigUI</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>578</width>
<height>517</height>
</rect>
</property>
<property name="caption">
<string>DCC_Settings</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>dccPathLbl</cstring>
</property>
<property name="text">
<string>Download &amp;folder:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_DccPath</cstring>
</property>
</widget>
<widget class="KURLRequester" row="0" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>kcfg_DccPath</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="mode">
<number>2</number>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>kcfg_DccAddPartner</cstring>
</property>
<property name="text">
<string>&amp;Add sender to file name</string>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>kcfg_DccCreateFolder</cstring>
</property>
<property name="text">
<string>Cr&amp;eate folder for sender</string>
</property>
</widget>
<widget class="TQCheckBox" row="3" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>kcfg_DccSpaceToUnderscore</cstring>
</property>
<property name="text">
<string>Convert spaces in file names to underscores before sending</string>
</property>
<property name="accel">
<string></string>
</property>
</widget>
<widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>kcfg_DccAutoGet</cstring>
</property>
<property name="text">
<string>Automaticall&amp;y accept download offer</string>
</property>
</widget>
<widget class="TQCheckBox" row="5" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>kcfg_DccAutoResume</cstring>
</property>
<property name="text">
<string>Au&amp;tomatically resume download</string>
</property>
</widget>
<widget class="TQCheckBox" row="6" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>kcfg_DccFastSend</cstring>
</property>
<property name="text">
<string>Enable fast DCC send (Might &amp;not work with all clients)</string>
</property>
</widget>
<spacer row="13" column="2">
<property name="name">
<cstring>spacer4_2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="10" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel6</cstring>
</property>
<property name="text">
<string>Buffer si&amp;ze:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_DccBufferSize</cstring>
</property>
</widget>
<widget class="TQLabel" row="9" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel7</cstring>
</property>
<property name="text">
<string>DCC send t&amp;imeout:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_DccSendTimeout</cstring>
</property>
</widget>
<widget class="TQCheckBox" row="8" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_DccIPv4Fallback</cstring>
</property>
<property name="text">
<string>Fallback to an IPv&amp;4 interface for DCC send:</string>
</property>
<property name="whatsThis" stdset="0">
<string>If this option enabled dcc transfers for IPv6 connections will be done over IPv4 interface set here</string>
</property>
</widget>
<widget class="TQSpinBox" row="10" column="2">
<property name="name">
<cstring>kcfg_DccBufferSize</cstring>
</property>
<property name="suffix">
<string> bytes</string>
</property>
<property name="maxValue">
<number>65536</number>
</property>
<property name="minValue">
<number>512</number>
</property>
<property name="lineStep">
<number>128</number>
</property>
</widget>
<widget class="TQSpinBox" row="9" column="2">
<property name="name">
<cstring>kcfg_DccSendTimeout</cstring>
</property>
<property name="suffix">
<string> sec</string>
</property>
<property name="maxValue">
<number>300</number>
</property>
<property name="minValue">
<number>1</number>
</property>
</widget>
<widget class="KLineEdit" row="8" column="2">
<property name="name">
<cstring>kcfg_DccIPv4FallbackIface</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
</widget>
<widget class="TQCheckBox" row="7" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>kcfg_DccPassiveSend</cstring>
</property>
<property name="text">
<string>Enable passive DCC send</string>
</property>
<property name="accel">
<string></string>
</property>
</widget>
<spacer row="8" column="3">
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Maximum</enum>
</property>
<property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="9" column="3">
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="10" column="3">
<property name="name">
<cstring>spacer3_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>70</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQGroupBox" row="11" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>IP</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="1" column="1">
<property name="name">
<cstring>kcfg_DccSpecificOwnIp</cstring>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>&amp;Method to get own IP:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_DccMethodToGetOwnIp</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>ownIP</cstring>
</property>
<property name="text">
<string>O&amp;wn IP:</string>
</property>
<property name="buddy" stdset="0">
<cstring>kcfg_DccSpecificOwnIp</cstring>
</property>
</widget>
<widget class="TQComboBox" row="0" column="1">
<property name="name">
<cstring>kcfg_DccMethodToGetOwnIp</cstring>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="12" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Ports</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>kcfg_DccSpecificChatPorts</cstring>
</property>
<property name="text">
<string>Enable specific p&amp;orts for DCC chat:</string>
</property>
</widget>
<spacer row="1" column="1">
<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>50</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="TQSpinBox" row="1" column="2">
<property name="name">
<cstring>kcfg_DccChatPortsFirst</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="minValue">
<number>1026</number>
</property>
</widget>
<widget class="TQLabel" row="1" column="3">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>to</string>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="4">
<property name="name">
<cstring>kcfg_DccChatPortsLast</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="minValue">
<number>1027</number>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>kcfg_DccSpecificSendPorts</cstring>
</property>
<property name="text">
<string>Enable specific &amp;ports for DCC transfer server:</string>
</property>
</widget>
<spacer row="0" column="1">
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>50</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="TQSpinBox" row="0" column="2">
<property name="name">
<cstring>kcfg_DccSendPortsFirst</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="minValue">
<number>1026</number>
</property>
</widget>
<widget class="TQLabel" row="0" column="3">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>to</string>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="4">
<property name="name">
<cstring>kcfg_DccSendPortsLast</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="minValue">
<number>1027</number>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<customwidgets>
</customwidgets>
<connections>
<connection>
<sender>kcfg_DccSpecificSendPorts</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_DccSendPortsFirst</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_DccSpecificSendPorts</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel1_2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_DccSpecificSendPorts</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_DccSendPortsLast</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_DccSpecificChatPorts</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_DccChatPortsFirst</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_DccSpecificChatPorts</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel2_2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_DccSpecificChatPorts</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_DccChatPortsLast</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>kcfg_DccIPv4Fallback</sender>
<signal>toggled(bool)</signal>
<receiver>kcfg_DccIPv4FallbackIface</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>kcfg_DccPath</tabstop>
<tabstop>kcfg_DccAddPartner</tabstop>
<tabstop>kcfg_DccCreateFolder</tabstop>
<tabstop>kcfg_DccSpaceToUnderscore</tabstop>
<tabstop>kcfg_DccAutoGet</tabstop>
<tabstop>kcfg_DccAutoResume</tabstop>
<tabstop>kcfg_DccFastSend</tabstop>
<tabstop>kcfg_DccPassiveSend</tabstop>
<tabstop>kcfg_DccIPv4Fallback</tabstop>
<tabstop>kcfg_DccIPv4FallbackIface</tabstop>
<tabstop>kcfg_DccSendTimeout</tabstop>
<tabstop>kcfg_DccBufferSize</tabstop>
<tabstop>kcfg_DccMethodToGetOwnIp</tabstop>
<tabstop>kcfg_DccSpecificOwnIp</tabstop>
<tabstop>kcfg_DccSpecificSendPorts</tabstop>
<tabstop>kcfg_DccSendPortsFirst</tabstop>
<tabstop>kcfg_DccSendPortsLast</tabstop>
<tabstop>kcfg_DccSpecificChatPorts</tabstop>
<tabstop>kcfg_DccChatPortsFirst</tabstop>
<tabstop>kcfg_DccChatPortsLast</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>klineedit.h</includehint>
</includehints>
</UI>