mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-31 22:22:26 +02:00
UPnP/Static/LAN-only is going to be used. Use a checkbox to enable proxy since we'll likely never support anything other than socks -- at least, not anytime soon. Group items in a nicer fashion.
181 lines
4.6 KiB
XML
181 lines
4.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ProxyDialog</class>
|
|
<widget class="QDialog" name="ProxyDialog">
|
|
<property name="windowModality">
|
|
<enum>Qt::WindowModal</enum>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>400</width>
|
|
<height>222</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Proxy Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="margin">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="rightMargin">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="horizontalSpacing">
|
|
<number>4</number>
|
|
</property>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="hostLineEdit">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Hostname of proxy server</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="hostLabel">
|
|
<property name="text">
|
|
<string>Host</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="portLabel">
|
|
<property name="text">
|
|
<string>Port</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="portSpinBox">
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>1080</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="userLineEdit">
|
|
<property name="placeholderText">
|
|
<string>Proxy login</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="userLabel">
|
|
<property name="text">
|
|
<string>User</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="passwordLabel">
|
|
<property name="text">
|
|
<string>Password</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLineEdit" name="passwordLineEdit">
|
|
<property name="echoMode">
|
|
<enum>QLineEdit::Password</enum>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Proxy password</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>No Proxy Hosts:
|
|
(Overrides system proxy)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLineEdit" name="noHostLineEdit">
|
|
<property name="placeholderText">
|
|
<string>localhost *.example.com (space separated)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="dnsLabel">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QCheckBox" name="checkBoxUseProxyForDns">
|
|
<property name="layoutDirection">
|
|
<enum>Qt::RightToLeft</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use proxy for DNS lookups?</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>ProxyDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>ProxyDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|