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.
tork/src/hidsrvwizard.ui

485 lines
18 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>HidSrvWizard</class>
<widget class="TQWizard">
<property name="name">
<cstring>HidSrvWizard</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>406</width>
<height>240</height>
</rect>
</property>
<property name="caption">
<string>Form1</string>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>WizardPage</cstring>
</property>
<attribute name="title">
<string>Select Service Type</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup" row="1" column="0">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
<property name="title">
<string>Service Types</string>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>localWeb</cstring>
</property>
<property name="geometry">
<rect>
<x>12</x>
<y>55</y>
<width>287</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>A local web service.</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>remote</cstring>
</property>
<property name="geometry">
<rect>
<x>12</x>
<y>30</y>
<width>340</width>
<height>19</height>
</rect>
</property>
<property name="text">
<string>A redirect to a remote or local service, e.g. google.com</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>What kind of hidden service would you like to create?</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>LocalWebService</cstring>
</property>
<attribute name="title">
<string>Local Web Service</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>&lt;blockquote&gt;To run a local web service, the Tor people recommend thttpd. Would you like to download and install thttpd now? If not, you can just continue and set up the address and port of the service as normal.&lt;/blockquote&gt;</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="1">
<property name="name">
<cstring>downloadThttpd</cstring>
</property>
<property name="text">
<string>Download thttpd</string>
</property>
</widget>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>81</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="1" column="2">
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>ServiceName</cstring>
</property>
<attribute name="title">
<string>Service Name</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel5</cstring>
</property>
<property name="text">
<string>What name do you want to give to this service?</string>
</property>
</widget>
<spacer row="3" column="1">
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
<spacer row="1" column="1">
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
</size>
</property>
</spacer>
<spacer row="2" column="0">
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="2" column="2">
<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>101</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLineEdit" row="2" column="1">
<property name="name">
<cstring>Nick</cstring>
</property>
<property name="minimumSize">
<size>
<width>180</width>
<height>0</height>
</size>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>RedirectService</cstring>
</property>
<attribute name="title">
<string>Redirect Service</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="2" column="0">
<property name="name">
<cstring>RedirectAddress</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Enter the address and port your service will redirect to:</string>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="2">
<property name="name">
<cstring>NonWebPort</cstring>
</property>
<property name="maxValue">
<number>65535</number>
</property>
</widget>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel6</cstring>
</property>
<property name="text">
<string>Enter the port your hidden service will listen on:</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>e.g. www.google.com&lt;br&gt;or localhost</string>
</property>
</widget>
<widget class="TQSpinBox" row="2" column="1">
<property name="name">
<cstring>RedirectPort</cstring>
</property>
<property name="maxValue">
<number>65535</number>
</property>
</widget>
<widget class="TQLabel" row="3" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel4_2</cstring>
</property>
<property name="text">
<string>e.g. 80</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>LocalWebServiceFiles</cstring>
</property>
<attribute name="title">
<string>Local Web Service</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel5_2</cstring>
</property>
<property name="text">
<string>Select or accept the location of the files you will serve:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel6_2</cstring>
</property>
<property name="text">
<string>Enter the port your hidden service will listen on:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel6_2_2</cstring>
</property>
<property name="text">
<string>Enter the local port for your hidden service:</string>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="1">
<property name="name">
<cstring>localWebPort</cstring>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="value">
<number>5222</number>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="1">
<property name="name">
<cstring>WebPort</cstring>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="value">
<number>80</number>
</property>
</widget>
<widget class="KURLComboRequester" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>FilesToServe</cstring>
</property>
<property name="mode">
<number>6</number>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>ServiceConfigured</cstring>
</property>
<attribute name="title">
<string>Service Configured.</string>
</attribute>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel6_3</cstring>
</property>
<property name="geometry">
<rect>
<x>14</x>
<y>8</y>
<width>350</width>
<height>90</height>
</rect>
</property>
<property name="text">
<string>OK. Your hidden service has been configured.&lt;br&gt;Now Tor needs to create it. Click 'Next' to create the service.</string>
</property>
</widget>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>GatherDetails</cstring>
</property>
<attribute name="title">
<string>Gathering Service Details from Tor</string>
</attribute>
<widget class="TQLabel">
<property name="name">
<cstring>GatheringDetailsText</cstring>
</property>
<property name="geometry">
<rect>
<x>5</x>
<y>15</y>
<width>370</width>
<height>130</height>
</rect>
</property>
<property name="text">
<string>Please wait a moment while Tor creates the service details.</string>
</property>
<property name="textFormat">
<enum>RichText</enum>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
</widget>
</widget>
<customwidgets>
</customwidgets>
<connections>
<connection>
<sender>localWeb</sender>
<signal>toggled(bool)</signal>
<receiver>HidSrvWizard</receiver>
<slot>localWeb_toggled(bool)</slot>
</connection>
<connection>
<sender>downloadThttpd</sender>
<signal>clicked()</signal>
<receiver>HidSrvWizard</receiver>
<slot>downloadThttpd_clicked()</slot>
</connection>
</connections>
<tabstops>
<tabstop>remote</tabstop>
<tabstop>downloadThttpd</tabstop>
<tabstop>Nick</tabstop>
<tabstop>NonWebPort</tabstop>
<tabstop>RedirectAddress</tabstop>
<tabstop>RedirectPort</tabstop>
<tabstop>WebPort</tabstop>
<tabstop>localWebPort</tabstop>
<tabstop>FilesToServe</tabstop>
</tabstops>
<includes>
<include location="local" impldecl="in implementation">hidsrvwizard.ui.h</include>
</includes>
<signals>
<signal>createService(const TQString &amp;,const TQString &amp;)</signal>
<signal>addService(const TQString &amp;,const TQString &amp;,const TQString &amp;,const TQString &amp;,const TQString &amp;,const TQString &amp;)</signal>
</signals>
<slots>
<slot>localWeb_toggled( bool state )</slot>
<slot>downloadThttpd_clicked()</slot>
<slot>showPage( TQWidget * w )</slot>
<slot>checkServiceDetails()</slot>
<slot>accept()</slot>
<slot>reject()</slot>
</slots>
<functions>
<function access="private" specifier="non virtual">init()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>kcombobox.h</includehint>
<includehint>kpushbutton.h</includehint>
</includehints>
</UI>