diff options
Diffstat (limited to 'src/server.ui')
-rw-r--r-- | src/server.ui | 758 |
1 files changed, 758 insertions, 0 deletions
diff --git a/src/server.ui b/src/server.ui new file mode 100644 index 0000000..c3df472 --- /dev/null +++ b/src/server.ui @@ -0,0 +1,758 @@ +<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> +<class>MyServer</class> +<widget class="QDialog"> + <property name="name"> + <cstring>MyServer</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>532</width> + <height>513</height> + </rect> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="caption"> + <string>MyDialog1</string> + </property> + <property name="sizeGripEnabled"> + <bool>false</bool> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QTabWidget" row="0" column="0"> + <property name="name"> + <cstring>tabWidget</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>Widget8</cstring> + </property> + <attribute name="title"> + <string>&General</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox" row="0" column="0"> + <property name="name"> + <cstring>kcfg_ClientOnly</cstring> + </property> + <property name="text"> + <string>Never Run As a Server, &Even If Tor Thinks I've Got The Girth</string> + </property> + <property name="accel"> + <string>Alt+E</string> + </property> + </widget> + <widget class="QGroupBox" row="1" column="0"> + <property name="name"> + <cstring>ServerInfo</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>7</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Tor Server Details</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>layout1</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLineEdit" row="0" column="1"> + <property name="name"> + <cstring>kcfg_NickName</cstring> + </property> + <property name="maxLength"> + <number>20</number> + </property> + </widget> + <widget class="QLineEdit" row="0" column="3"> + <property name="name"> + <cstring>kcfg_ContactInfo</cstring> + </property> + <property name="maxLength"> + <number>40</number> + </property> + </widget> + <widget class="QLabel" row="0" column="2"> + <property name="name"> + <cstring>textLabel1</cstring> + </property> + <property name="text"> + <string>Contact Info:</string> + </property> + </widget> + <widget class="QLabel" row="0" column="0"> + <property name="name"> + <cstring>textLabel1_2</cstring> + </property> + <property name="text"> + <string>Nick:</string> + </property> + </widget> + </grid> + </widget> + <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>layout2</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QListView" row="0" column="1"> + <column> + <property name="text"> + <string>CC</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>geoip</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>fp</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>My Family </string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>false</bool> + </property> + </column> + <property name="name"> + <cstring>MyFamily</cstring> + </property> + <property name="selectionMode"> + <enum>Extended</enum> + </property> + <property name="allColumnsShowFocus"> + <bool>true</bool> + </property> + <property name="resizeMode"> + <enum>AllColumns</enum> + </property> + </widget> + <widget class="QPushButton" row="1" column="1"> + <property name="name"> + <cstring>pushButton2</cstring> + </property> + <property name="text"> + <string>Delete Selected</string> + </property> + </widget> + <widget class="QLabel" row="0" column="0" rowspan="2" colspan="1"> + <property name="name"> + <cstring>textLabel7_2_2_2_3</cstring> + </property> + <property name="text"> + <string><p> This is a list of other servers that you administer. This will prevent people from using you more than once. +<p><b>You add to this list by right-clicking on your servers in the main 'Tor Network' tab and clicking 'Add to My Family'.</b></p></string> + </property> + </widget> + </grid> + </widget> + <widget class="QLayoutWidget" row="3" column="0"> + <property name="name"> + <cstring>layout5</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QSpinBox" row="1" column="1"> + <property name="name"> + <cstring>kcfg_DirListenAddress</cstring> + </property> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="maxValue"> + <number>9999</number> + </property> + </widget> + <widget class="QLabel" row="0" column="0"> + <property name="name"> + <cstring>textLabel4</cstring> + </property> + <property name="text"> + <string>Serve Tor Traffic on Local Port</string> + </property> + </widget> + <widget class="QSpinBox" row="0" column="1"> + <property name="name"> + <cstring>kcfg_ORListenAddress</cstring> + </property> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="maxValue"> + <number>9999</number> + </property> + </widget> + <widget class="QLabel" row="1" column="0"> + <property name="name"> + <cstring>textLabel4_2</cstring> + </property> + <property name="text"> + <string>Serve Tor Listings on Local Port</string> + </property> + </widget> + </grid> + </widget> + <widget class="QCheckBox" row="3" column="1"> + <property name="name"> + <cstring>kcfg_ForwardPorts</cstring> + </property> + <property name="text"> + <string>Improve Accessibility</string> + </property> + <property name="toolTip" stdset="0"> + <string>This will tell Tor to adverise your Tor server on the common ports 80 and 443, <br> it will also tell your router to forward traffic on these ports to Tor.</string> + </property> + </widget> + <widget class="QLayoutWidget" row="4" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>layout4</cstring> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="Line"> + <property name="name"> + <cstring>line1_2</cstring> + </property> + <property name="frameShape"> + <enum>HLine</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>kcfg_PublishServerDescriptor</cstring> + </property> + <property name="text"> + <string>Let the Tor Network know about me as a server</string> + </property> + <property name="accel"> + <string></string> + </property> + </widget> + <widget class="Line"> + <property name="name"> + <cstring>line1_2_2</cstring> + </property> + <property name="frameShape"> + <enum>HLine</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>kcfg_MiddleMan</cstring> + </property> + <property name="text"> + <string>&Act as a Relay Server Only (Disables Your Exit Policies in the Tab Above).</string> + </property> + <property name="accel"> + <string>Alt+A</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>kcfg_BridgeRelay</cstring> + </property> + <property name="text"> + <string>&Act as an Anti-Censorship Relay</string> + </property> + <property name="accel"> + <string>Alt+A</string> + </property> + </widget> + </vbox> + </widget> + <widget class="Line" row="2" column="0" rowspan="1" colspan="2"> + <property name="name"> + <cstring>line1</cstring> + </property> + <property name="frameShape"> + <enum>HLine</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>TabPage</cstring> + </property> + <attribute name="title"> + <string>&Performance</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox" row="0" column="0"> + <property name="name"> + <cstring>kcfg_DefaultServerPerformance</cstring> + </property> + <property name="text"> + <string>Let Tor figure out the &best performance options to use</string> + </property> + <property name="accel"> + <string>Alt+B</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="Line" row="1" column="0"> + <property name="name"> + <cstring>line3</cstring> + </property> + <property name="frameShape"> + <enum>HLine</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + </widget> + <spacer row="3" column="0"> + <property name="name"> + <cstring>spacer1</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>21</width> + <height>240</height> + </size> + </property> + </spacer> + <widget class="QGroupBox" row="2" column="0"> + <property name="name"> + <cstring>PerformanceOptions</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="title"> + <string>Performance Options</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QSpinBox" row="0" column="4"> + <property name="name"> + <cstring>kcfg_NumCPUs</cstring> + </property> + <property name="maxValue"> + <number>5000</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + <widget class="QSpinBox" row="1" column="4"> + <property name="name"> + <cstring>kcfg_MaxOnionsPending</cstring> + </property> + <property name="maxValue"> + <number>5000</number> + </property> + <property name="value"> + <number>100</number> + </property> + </widget> + <widget class="QLabel" row="1" column="0" rowspan="1" colspan="4"> + <property name="name"> + <cstring>textLabel2_2</cstring> + </property> + <property name="text"> + <string>Maximum number of encryption tasks to keep waiting:</string> + </property> + </widget> + <widget class="QLabel" row="0" column="0" rowspan="1" colspan="4"> + <property name="name"> + <cstring>textLabel2</cstring> + </property> + <property name="text"> + <string>Maximum number of simultaneous encryption tasks:</string> + </property> + </widget> + <widget class="QLabel" row="2" column="2" rowspan="1" colspan="2"> + <property name="name"> + <cstring>textLabel3</cstring> + </property> + <property name="text"> + <string>every</string> + </property> + </widget> + <widget class="QLabel" row="3" column="0" rowspan="1" colspan="3"> + <property name="name"> + <cstring>textLabel3_2</cstring> + </property> + <property name="text"> + <string>When shutting down, wait at most: </string> + </property> + </widget> + <widget class="QSpinBox" row="3" column="3" rowspan="1" colspan="2"> + <property name="name"> + <cstring>kcfg_ShutDownWaitLength</cstring> + </property> + <property name="suffix"> + <string> seconds</string> + </property> + <property name="maxValue"> + <number>5000</number> + </property> + </widget> + <widget class="QComboBox" row="2" column="4"> + <item> + <property name="text"> + <string>day</string> + </property> + </item> + <item> + <property name="text"> + <string>week</string> + </property> + </item> + <item> + <property name="text"> + <string>month</string> + </property> + </item> + <property name="name"> + <cstring>AccountingStart</cstring> + </property> + </widget> + <widget class="QSpinBox" row="2" column="1"> + <property name="name"> + <cstring>kcfg_AccountingMax</cstring> + </property> + <property name="suffix"> + <string> MBs p/s</string> + </property> + </widget> + <widget class="QLabel" row="2" column="0"> + <property name="name"> + <cstring>textLabel2_2_2</cstring> + </property> + <property name="text"> + <string>Never exceed </string> + </property> + </widget> + <widget class="QSpinBox" row="4" column="3" rowspan="1" colspan="2"> + <property name="name"> + <cstring>kcfg_ConnLimit</cstring> + </property> + <property name="suffix"> + <string> descriptors</string> + </property> + <property name="maxValue"> + <number>9999</number> + </property> + </widget> + <widget class="QLabel" row="4" column="0" rowspan="1" colspan="3"> + <property name="name"> + <cstring>textLabel4_2_2_2</cstring> + </property> + <property name="text"> + <string>Do not start unless system can support at least</string> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>ExitPolicies</cstring> + </property> + <attribute name="title"> + <string>&Exit Policies</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer row="1" column="0"> + <property name="name"> + <cstring>spacer2</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>130</height> + </size> + </property> + </spacer> + <widget class="QGroupBox" row="0" column="0"> + <property name="name"> + <cstring>groupBox6</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Sites you do not want to send traffic to</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel" row="0" column="0" rowspan="2" colspan="1"> + <property name="name"> + <cstring>textLabel5_2</cstring> + </property> + <property name="text"> + <string><p> When you are an exit server for a circuit it is your computer that the destination website or host will see - the traffic will have your name on it. If you are an exit server and do not want your server to route traffic to certain sites/hosts this is the place to specify them.</p> +<p><b>Use '0' as the port to specify 'all ports'. Use '*' as the address to specify 'all addresses'</b>.</p></string> + </property> + </widget> + <widget class="QListView" row="0" column="1" rowspan="1" colspan="4"> + <column> + <property name="text"> + <string>Policy</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <column> + <property name="text"> + <string>IP Address </string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>false</bool> + </property> + </column> + <column> + <property name="text"> + <string>Port</string> + </property> + <property name="clickable"> + <bool>true</bool> + </property> + <property name="resizable"> + <bool>true</bool> + </property> + </column> + <property name="name"> + <cstring>ExitPolicy</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="selectionMode"> + <enum>Extended</enum> + </property> + <property name="allColumnsShowFocus"> + <bool>false</bool> + </property> + <property name="resizeMode"> + <enum>AllColumns</enum> + </property> + </widget> + <widget class="QSpinBox" row="1" column="3"> + <property name="name"> + <cstring>SocksPort</cstring> + </property> + </widget> + <widget class="QPushButton" row="1" column="4"> + <property name="name"> + <cstring>PushAdd2</cstring> + </property> + <property name="text"> + <string>O&K</string> + </property> + <property name="accel"> + <string>Alt+K</string> + </property> + </widget> + <widget class="QComboBox" row="1" column="1"> + <item> + <property name="text"> + <string>accept</string> + </property> + </item> + <item> + <property name="text"> + <string>reject</string> + </property> + </item> + <property name="name"> + <cstring>Policy</cstring> + </property> + </widget> + <widget class="QLineEdit" row="1" column="2"> + <property name="name"> + <cstring>SocksAddress</cstring> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + </widget> + </grid> +</widget> +<connections> + <connection> + <sender>kcfg_DefaultServerPerformance</sender> + <signal>toggled(bool)</signal> + <receiver>MyServer</receiver> + <slot>checkBox6_toggled(bool)</slot> + </connection> + <connection> + <sender>kcfg_MiddleMan</sender> + <signal>toggled(bool)</signal> + <receiver>MyServer</receiver> + <slot>kcfg_MiddleMan_toggled(bool)</slot> + </connection> + <connection> + <sender>PushAdd2</sender> + <signal>clicked()</signal> + <receiver>MyServer</receiver> + <slot>pushAdd2_clicked()</slot> + </connection> + <connection> + <sender>ExitPolicy</sender> + <signal>contextMenuRequested(QListViewItem*,const QPoint&,int)</signal> + <receiver>MyServer</receiver> + <slot>ExitPolicy_contextMenuRequested(QListViewItem*,const QPoint&,int)</slot> + </connection> + <connection> + <sender>pushButton2</sender> + <signal>clicked()</signal> + <receiver>MyServer</receiver> + <slot>pushButton2_clicked()</slot> + </connection> +</connections> +<includes> + <include location="local" impldecl="in implementation">server.ui.h</include> +</includes> +<slots> + <slot>kcfg_DefaultServerIP_toggled( bool )</slot> + <slot>kcfg_MiddleMan_toggled( bool on )</slot> + <slot>checkBox6_toggled( bool state )</slot> + <slot>pushAdd2_clicked()</slot> + <slot>ExitPolicy_contextMenuRequested( QListViewItem *, const QPoint & point, int )</slot> + <slot>slotDeleteEntry()</slot> + <slot>pushButton2_clicked()</slot> + <slot>kcfg_BridgeRelay_toggled( bool on )</slot> +</slots> +<functions> + <function access="private" specifier="non virtual">init()</function> +</functions> +<layoutdefaults spacing="6" margin="11"/> +</UI> |