2011-12-19 21:09:27 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>RelayPage</class>
|
|
|
|
<widget class="QWidget" name="RelayPage">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2017-02-15 15:30:49 -05:00
|
|
|
<width>794</width>
|
|
|
|
<height>546</height>
|
2011-12-19 21:09:27 -05:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="enableCheckBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Enable Relay Connections</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_5">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="serverCheckBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Use Relay Servers</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_4">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Relay options</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2017-02-15 15:30:49 -05:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2011-12-19 21:09:27 -05:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>110</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>Number</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>6</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="3">
|
|
|
|
<widget class="QLabel" name="label_12">
|
|
|
|
<property name="text">
|
|
|
|
<string>Bandwidth per link</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="4" rowspan="7">
|
|
|
|
<widget class="Line" name="line_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="5">
|
|
|
|
<widget class="QLabel" name="label_13">
|
|
|
|
<property name="text">
|
|
|
|
<string>Total Bandwidth</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0" rowspan="2">
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>Friends</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1" rowspan="2">
|
|
|
|
<widget class="QSpinBox" name="noFriendSpinBox">
|
|
|
|
<property name="minimum">
|
2012-01-20 12:52:06 -05:00
|
|
|
<number>0</number>
|
2011-12-19 21:09:27 -05:00
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>99</number>
|
|
|
|
</property>
|
2012-01-20 12:52:06 -05:00
|
|
|
<property name="value">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2011-12-19 21:09:27 -05:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2" rowspan="2">
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
<property name="text">
|
2012-02-05 16:05:11 -05:00
|
|
|
<string notr="true">x</string>
|
2011-12-19 21:09:27 -05:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3" rowspan="2">
|
|
|
|
<widget class="QSpinBox" name="bandFriendSpinBox">
|
|
|
|
<property name="suffix">
|
|
|
|
<string>kB/s</string>
|
|
|
|
</property>
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="5">
|
|
|
|
<widget class="QLineEdit" name="totalFriendLineEdit">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0" rowspan="2">
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="text">
|
|
|
|
<string>Friends of Friends</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1" rowspan="2">
|
2012-01-20 12:52:06 -05:00
|
|
|
<widget class="QSpinBox" name="noFOFSpinBox">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2011-12-19 21:09:27 -05:00
|
|
|
</item>
|
|
|
|
<item row="3" column="2" rowspan="2">
|
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
<property name="text">
|
2012-02-05 16:05:11 -05:00
|
|
|
<string notr="true">x</string>
|
2011-12-19 21:09:27 -05:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="3" rowspan="2">
|
|
|
|
<widget class="QSpinBox" name="bandFOFSpinBox">
|
|
|
|
<property name="suffix">
|
|
|
|
<string>kB/s</string>
|
|
|
|
</property>
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="5">
|
|
|
|
<widget class="QLineEdit" name="totalFOFLineEdit">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0" rowspan="2">
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="text">
|
|
|
|
<string>General</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="1" rowspan="2">
|
2012-01-20 12:52:06 -05:00
|
|
|
<widget class="QSpinBox" name="noGeneralSpinBox">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2011-12-19 21:09:27 -05:00
|
|
|
</item>
|
|
|
|
<item row="5" column="2" rowspan="2">
|
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
<property name="text">
|
2012-02-05 16:05:11 -05:00
|
|
|
<string notr="true">x</string>
|
2011-12-19 21:09:27 -05:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="3" rowspan="2">
|
|
|
|
<widget class="QSpinBox" name="bandGeneralSpinBox">
|
|
|
|
<property name="suffix">
|
|
|
|
<string>kB/s</string>
|
|
|
|
</property>
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="6" column="5">
|
|
|
|
<widget class="QLineEdit" name="totalGeneralLineEdit">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="0" colspan="6">
|
|
|
|
<widget class="Line" name="line">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="8" column="1">
|
|
|
|
<widget class="QLineEdit" name="noTotalLineEdit">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::WheelFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="8" column="0">
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="text">
|
|
|
|
<string>Total:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="8" column="2" colspan="2">
|
|
|
|
<spacer name="horizontalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>123</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="8" column="5">
|
|
|
|
<widget class="QLineEdit" name="totalBandwidthLineEdit">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="serverGroupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Relay Server Setup</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QCheckBox" name="keyOkBox">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QPushButton" name="addPushButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Add Server</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-02-15 15:30:49 -05:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLineEdit" name="DhtLineEdit">
|
|
|
|
<property name="inputMask">
|
|
|
|
<string notr="true">HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-12-19 21:09:27 -05:00
|
|
|
<item row="1" column="0" colspan="2">
|
|
|
|
<widget class="QTreeWidget" name="serverTreeWidget">
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
2012-02-15 15:40:41 -05:00
|
|
|
<string>Server DHT Key</string>
|
2011-12-19 21:09:27 -05:00
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QPushButton" name="removePushButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Remove Server</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-02-15 15:30:49 -05:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2011-12-19 21:09:27 -05:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|