improved Server Settings tab

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-ImprovedGUI@6110 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-02-08 21:20:46 +00:00
parent abfa8195a4
commit d60bc0c1dd

View file

@ -14,102 +14,7 @@
<property name="margin"> <property name="margin">
<number>6</number> <number>6</number>
</property> </property>
<item row="0" column="0"> <item row="1" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Network Configuration</string>
</property>
<layout class="QHBoxLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QComboBox" name="netModeComboBox">
<item>
<property name="text">
<string>Automatic (UPnP)</string>
</property>
</item>
<item>
<property name="text">
<string>Firewalled</string>
</property>
</item>
<item>
<property name="text">
<string>Manually Forwarded Port</string>
</property>
</item>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="discComboBox">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>The DHT allows you to answer connection
requests from your friends using BitTorrent's DHT.
It greatly improves the connectivity.
The Discovery service sends locations and PGP
identities of your trusted contacts to connected
peers, to help them choose new friends.
The friendship is never automatic however, and both
peers still need to trust each other to allow connection. </string>
</property>
<item>
<property name="text">
<string>Public: DHT &amp; Discovery</string>
</property>
</item>
<item>
<property name="text">
<string>Private: Discovery Only</string>
</property>
</item>
<item>
<property name="text">
<string>Inverted: DHT Only</string>
</property>
</item>
<item>
<property name="text">
<string>Dark Net: None</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>0</number>
@ -118,199 +23,283 @@ peers still need to trust each other to allow connection. </string>
<attribute name="title"> <attribute name="title">
<string>Network Configuration</string> <string>Network Configuration</string>
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<layout class="QHBoxLayout"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>6</number>
</property>
<item> <item>
<layout class="QVBoxLayout"> <widget class="QComboBox" name="netModeComboBox">
<item> <item>
<widget class="QLabel" name="label"> <property name="text">
<property name="text"> <string>Automatic (UPnP)</string>
<string>Local Address</string> </property>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_2"> <property name="text">
<property name="text"> <string>Firewalled</string>
<string>External Address</string> </property>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_3"> <property name="text">
<property name="text"> <string>Manually Forwarded Port</string>
<string>Dynamic DNS</string> </property>
</property>
</widget>
</item> </item>
</layout> </widget>
</item> </item>
<item> <item>
<layout class="QGridLayout"> <spacer>
<property name="spacing"> <property name="orientation">
<number>6</number> <enum>Qt::Horizontal</enum>
</property> </property>
<item row="0" column="0"> <property name="sizeType">
<widget class="QLineEdit" name="localAddress"/> <enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="discComboBox">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>The DHT allows you to answer connection
requests from your friends using BitTorrent's DHT.
It greatly improves the connectivity.
The Discovery service sends locations and PGP
identities of your trusted contacts to connected
peers, to help them choose new friends.
The friendship is never automatic however, and both
peers still need to trust each other to allow connection. </string>
</property>
<item>
<property name="text">
<string>Public: DHT &amp; Discovery</string>
</property>
</item> </item>
<item row="0" column="1"> <item>
<widget class="QLabel" name="label_5"> <property name="text">
<property name="text"> <string>Private: Discovery Only</string>
<string>Port:</string> </property>
</property>
</widget>
</item> </item>
<item row="0" column="2"> <item>
<widget class="QSpinBox" name="localPort"> <property name="text">
<property name="toolTip"> <string>Inverted: DHT Only</string>
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string> </property>
</property>
<property name="minimum">
<number>1024</number>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="value">
<number>7812</number>
</property>
</widget>
</item> </item>
<item row="1" column="0"> <item>
<widget class="QLineEdit" name="extAddress"/> <property name="text">
<string>Dark Net: None</string>
</property>
</item> </item>
<item row="1" column="1"> </widget>
<widget class="QLabel" name="label_4">
<property name="text">
<string>Port:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="extPort">
<property name="toolTip">
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string>
</property>
<property name="minimum">
<number>1024</number>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="value">
<number>7812</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLineEdit" name="dynDNS"/>
</item>
</layout>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<item> <item>
<layout class="QGridLayout" name="_4"> <layout class="QHBoxLayout">
<property name="leftMargin"> <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<property name="rightMargin"> <item>
<number>6</number> <layout class="QVBoxLayout">
</property> <item>
<item row="0" column="0"> <widget class="QLabel" name="label">
<widget class="QLabel" name="iconlabel_netLimited"> <property name="text">
<property name="maximumSize"> <string>Local Address</string>
<size> </property>
<width>16</width> </widget>
<height>16</height> </item>
</size> <item>
</property> <widget class="QLabel" name="label_2">
<property name="text"> <property name="text">
<string/> <string>External Address</string>
</property> </property>
<property name="pixmap"> </widget>
<pixmap resource="../images.qrc">:/images/ledoff1.png</pixmap> </item>
</property> <item>
</widget> <widget class="QLabel" name="label_3">
<property name="text">
<string>Dynamic DNS</string>
</property>
</widget>
</item>
</layout>
</item> </item>
<item row="0" column="1"> <item>
<widget class="QLabel" name="textlabel_netLimited"> <layout class="QGridLayout">
<property name="text"> <property name="spacing">
<string>Local network</string> <number>6</number>
</property> </property>
</widget> <item row="0" column="0">
<widget class="QLineEdit" name="localAddress"/>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Port:</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="localPort">
<property name="toolTip">
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string>
</property>
<property name="minimum">
<number>1024</number>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="value">
<number>7812</number>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLineEdit" name="extAddress"/>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Port:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="extPort">
<property name="toolTip">
<string>Acceptable ports range from 1024 to 65535. Ports below 1024 are reserved by your system.</string>
</property>
<property name="minimum">
<number>1024</number>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="value">
<number>7812</number>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLineEdit" name="dynDNS"/>
</item>
</layout>
</item> </item>
</layout> </layout>
</item> </item>
<item> <item>
<layout class="QGridLayout" name="_6"> <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin"> <item>
<number>6</number> <layout class="QGridLayout" name="_4">
</property> <property name="leftMargin">
<property name="rightMargin"> <number>6</number>
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="iconlabel_ext">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property> </property>
<property name="text"> <property name="rightMargin">
<string/> <number>6</number>
</property> </property>
<property name="pixmap"> <item row="0" column="0">
<pixmap resource="../images.qrc">:/images/ledoff1.png</pixmap> <widget class="QLabel" name="iconlabel_netLimited">
</property> <property name="maximumSize">
</widget> <size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="../images.qrc">:/images/ledoff1.png</pixmap>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="textlabel_netLimited">
<property name="text">
<string>Local network</string>
</property>
</widget>
</item>
</layout>
</item> </item>
<item row="0" column="1"> <item>
<widget class="QLabel" name="textlabel_ext"> <layout class="QGridLayout" name="_6">
<property name="text"> <property name="leftMargin">
<string>External ip address finder</string> <number>6</number>
</property> </property>
</widget> <property name="rightMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="iconlabel_ext">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="../images.qrc">:/images/ledoff1.png</pixmap>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="textlabel_ext">
<property name="text">
<string>External ip address finder</string>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> <item>
</item> <layout class="QGridLayout" name="_5">
<item> <property name="leftMargin">
<layout class="QGridLayout" name="_5"> <number>6</number>
<property name="leftMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="iconlabel_upnp">
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property> </property>
<property name="text"> <property name="rightMargin">
<string/> <number>6</number>
</property> </property>
<property name="pixmap"> <item row="0" column="0">
<pixmap resource="../images.qrc">:/images/ledoff1.png</pixmap> <widget class="QLabel" name="iconlabel_upnp">
</property> <property name="maximumSize">
</widget> <size>
</item> <width>16</width>
<item row="0" column="1"> <height>16</height>
<widget class="QLabel" name="textlabel_upnp"> </size>
<property name="text"> </property>
<string>UPnP</string> <property name="text">
</property> <string/>
</widget> </property>
<property name="pixmap">
<pixmap resource="../images.qrc">:/images/ledoff1.png</pixmap>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="textlabel_upnp">
<property name="text">
<string>UPnP</string>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</item> </item>
@ -373,6 +362,13 @@ behind a firewall or a VPN.</string>
</spacer> </spacer>
</item> </item>
</layout> </layout>
<zorder>allowTunnelConnectionCB</zorder>
<zorder>showDiscStatusBar</zorder>
<zorder>allowIpDeterminationCB</zorder>
<zorder>IPServersLV</zorder>
<zorder></zorder>
<zorder>textlabel_ext</zorder>
<zorder>textlabel_netLimited</zorder>
</widget> </widget>
<widget class="QWidget" name="tab_2"> <widget class="QWidget" name="tab_2">
<attribute name="title"> <attribute name="title">