2012-11-19 20:45:05 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>settingsDialog</class>
|
|
|
|
<widget class="QDialog" name="settingsDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2012-12-18 19:09:10 +01:00
|
|
|
<width>476</width>
|
|
|
|
<height>340</height>
|
2012-11-19 20:45:05 +01:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Settings</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2012-12-18 19:09:10 +01:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2012-11-19 20:45:05 +01:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QTabWidget" name="tabWidgetSettings">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="tabUserInterface">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="title">
|
|
|
|
<string>User Interface</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<property name="fieldGrowthPolicy">
|
|
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QCheckBox" name="checkBoxStartOnLogon">
|
|
|
|
<property name="text">
|
|
|
|
<string>Start Bitmessage on user login</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QCheckBox" name="checkBoxStartInTray">
|
|
|
|
<property name="text">
|
|
|
|
<string>Start Bitmessage in the tray (don't show main window)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QCheckBox" name="checkBoxMinimizeToTray">
|
|
|
|
<property name="text">
|
|
|
|
<string>Minimize to tray</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0" colspan="2">
|
|
|
|
<widget class="QCheckBox" name="checkBoxShowTrayNotifications">
|
|
|
|
<property name="text">
|
|
|
|
<string>Show notification when message received and minimzed to tray</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="0" colspan="2">
|
|
|
|
<widget class="QLabel" name="labelSettingsNote">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tabNetworkSettings">
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Network Settings</string>
|
|
|
|
</attribute>
|
2012-12-18 19:09:10 +01:00
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
2012-11-19 20:45:05 +01:00
|
|
|
<item row="0" column="0">
|
2012-12-18 19:09:10 +01:00
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Listening port</string>
|
2012-11-19 20:45:05 +01:00
|
|
|
</property>
|
2012-12-18 19:09:10 +01:00
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>125</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Listen for connections on port:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QLineEdit" name="lineEditTCPPort"/>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2012-11-19 20:45:05 +01:00
|
|
|
</item>
|
2012-12-18 19:09:10 +01:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
<property name="title">
|
|
|
|
<string>Proxy server / Tor</string>
|
2012-11-19 20:45:05 +01:00
|
|
|
</property>
|
2012-12-18 19:09:10 +01:00
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Type:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QComboBox" name="comboBoxProxyType">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>none</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>SOCKS4a</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>SOCKS5</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Server hostname:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2" colspan="2">
|
|
|
|
<widget class="QLineEdit" name="lineEditSocksHostname"/>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="4">
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>Port:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="5">
|
|
|
|
<widget class="QLineEdit" name="lineEditSocksPort"/>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QCheckBox" name="checkBoxAuthentication">
|
|
|
|
<property name="text">
|
|
|
|
<string>Authentication</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="2">
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>Username:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="3">
|
|
|
|
<widget class="QLineEdit" name="lineEditSocksUsername">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="4">
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="text">
|
|
|
|
<string>Pass:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="5">
|
|
|
|
<widget class="QLineEdit" name="lineEditSocksPassword">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2012-11-19 20:45:05 +01:00
|
|
|
</widget>
|
|
|
|
</item>
|
2012-12-18 19:09:10 +01:00
|
|
|
<item row="2" column="0">
|
2012-11-19 20:45:05 +01:00
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
2012-12-18 19:09:10 +01:00
|
|
|
<height>70</height>
|
2012-11-19 20:45:05 +01:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2012-12-18 19:09:10 +01:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>tabWidgetSettings</tabstop>
|
|
|
|
<tabstop>checkBoxStartOnLogon</tabstop>
|
|
|
|
<tabstop>checkBoxStartInTray</tabstop>
|
|
|
|
<tabstop>checkBoxMinimizeToTray</tabstop>
|
|
|
|
<tabstop>checkBoxShowTrayNotifications</tabstop>
|
|
|
|
<tabstop>lineEditTCPPort</tabstop>
|
|
|
|
<tabstop>comboBoxProxyType</tabstop>
|
|
|
|
<tabstop>lineEditSocksHostname</tabstop>
|
|
|
|
<tabstop>lineEditSocksPort</tabstop>
|
|
|
|
<tabstop>checkBoxAuthentication</tabstop>
|
|
|
|
<tabstop>lineEditSocksUsername</tabstop>
|
|
|
|
<tabstop>lineEditSocksPassword</tabstop>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
2012-11-19 20:45:05 +01:00
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>settingsDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2012-12-18 19:09:10 +01:00
|
|
|
<x>257</x>
|
|
|
|
<y>330</y>
|
2012-11-19 20:45:05 +01:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>settingsDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2012-12-18 19:09:10 +01:00
|
|
|
<x>325</x>
|
|
|
|
<y>330</y>
|
2012-11-19 20:45:05 +01:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2012-12-18 19:09:10 +01:00
|
|
|
<connection>
|
|
|
|
<sender>checkBoxAuthentication</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>lineEditSocksUsername</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>125</x>
|
|
|
|
<y>190</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>233</x>
|
|
|
|
<y>189</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>checkBoxAuthentication</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>lineEditSocksPassword</receiver>
|
|
|
|
<slot>setEnabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>79</x>
|
|
|
|
<y>190</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>370</x>
|
|
|
|
<y>192</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2012-11-19 20:45:05 +01:00
|
|
|
</connections>
|
|
|
|
</ui>
|