PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/proxydialog.ui

http://github.com/tomahawk-player/tomahawk
Unknown | 180 lines | 180 code | 0 blank | 0 comment | 0 complexity | 8de804daa4d169812d584391a213ac0e MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>ProxyDialog</class>
  4 <widget class="QDialog" name="ProxyDialog">
  5  <property name="windowModality">
  6   <enum>Qt::WindowModal</enum>
  7  </property>
  8  <property name="geometry">
  9   <rect>
 10    <x>0</x>
 11    <y>0</y>
 12    <width>400</width>
 13    <height>222</height>
 14   </rect>
 15  </property>
 16  <property name="windowTitle">
 17   <string>Proxy Settings</string>
 18  </property>
 19  <layout class="QVBoxLayout" name="verticalLayout">
 20   <property name="margin">
 21    <number>2</number>
 22   </property>
 23   <item>
 24    <layout class="QGridLayout" name="gridLayout">
 25     <property name="rightMargin">
 26      <number>8</number>
 27     </property>
 28     <property name="horizontalSpacing">
 29      <number>4</number>
 30     </property>
 31     <item row="0" column="1">
 32      <widget class="QLineEdit" name="hostLineEdit">
 33       <property name="text">
 34        <string/>
 35       </property>
 36       <property name="placeholderText">
 37        <string>Hostname of proxy server</string>
 38       </property>
 39      </widget>
 40     </item>
 41     <item row="0" column="0">
 42      <widget class="QLabel" name="hostLabel">
 43       <property name="text">
 44        <string>Host</string>
 45       </property>
 46      </widget>
 47     </item>
 48     <item row="1" column="0">
 49      <widget class="QLabel" name="portLabel">
 50       <property name="text">
 51        <string>Port</string>
 52       </property>
 53      </widget>
 54     </item>
 55     <item row="1" column="1">
 56      <widget class="QSpinBox" name="portSpinBox">
 57       <property name="minimum">
 58        <number>1</number>
 59       </property>
 60       <property name="maximum">
 61        <number>65535</number>
 62       </property>
 63       <property name="value">
 64        <number>1080</number>
 65       </property>
 66      </widget>
 67     </item>
 68     <item row="2" column="1">
 69      <widget class="QLineEdit" name="userLineEdit">
 70       <property name="placeholderText">
 71        <string>Proxy login</string>
 72       </property>
 73      </widget>
 74     </item>
 75     <item row="2" column="0">
 76      <widget class="QLabel" name="userLabel">
 77       <property name="text">
 78        <string>User</string>
 79       </property>
 80      </widget>
 81     </item>
 82     <item row="3" column="0">
 83      <widget class="QLabel" name="passwordLabel">
 84       <property name="text">
 85        <string>Password</string>
 86       </property>
 87      </widget>
 88     </item>
 89     <item row="3" column="1">
 90      <widget class="QLineEdit" name="passwordLineEdit">
 91       <property name="echoMode">
 92        <enum>QLineEdit::Password</enum>
 93       </property>
 94       <property name="placeholderText">
 95        <string>Proxy password</string>
 96       </property>
 97      </widget>
 98     </item>
 99     <item row="4" column="0">
100      <widget class="QLabel" name="label">
101       <property name="text">
102        <string>No Proxy Hosts:
103(Overrides system proxy)</string>
104       </property>
105      </widget>
106     </item>
107     <item row="4" column="1">
108      <widget class="QLineEdit" name="noHostLineEdit">
109       <property name="placeholderText">
110        <string>localhost *.example.com (space separated)</string>
111       </property>
112      </widget>
113     </item>
114     <item row="5" column="0">
115      <widget class="QLabel" name="dnsLabel">
116       <property name="text">
117        <string/>
118       </property>
119      </widget>
120     </item>
121     <item row="5" column="1">
122      <widget class="QCheckBox" name="checkBoxUseProxyForDns">
123       <property name="layoutDirection">
124        <enum>Qt::RightToLeft</enum>
125       </property>
126       <property name="text">
127        <string>Use proxy for DNS lookups?</string>
128       </property>
129      </widget>
130     </item>
131    </layout>
132   </item>
133   <item>
134    <widget class="QDialogButtonBox" name="buttonBox">
135     <property name="orientation">
136      <enum>Qt::Horizontal</enum>
137     </property>
138     <property name="standardButtons">
139      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
140     </property>
141    </widget>
142   </item>
143  </layout>
144 </widget>
145 <resources/>
146 <connections>
147  <connection>
148   <sender>buttonBox</sender>
149   <signal>accepted()</signal>
150   <receiver>ProxyDialog</receiver>
151   <slot>accept()</slot>
152   <hints>
153    <hint type="sourcelabel">
154     <x>248</x>
155     <y>254</y>
156    </hint>
157    <hint type="destinationlabel">
158     <x>157</x>
159     <y>274</y>
160    </hint>
161   </hints>
162  </connection>
163  <connection>
164   <sender>buttonBox</sender>
165   <signal>rejected()</signal>
166   <receiver>ProxyDialog</receiver>
167   <slot>reject()</slot>
168   <hints>
169    <hint type="sourcelabel">
170     <x>316</x>
171     <y>260</y>
172    </hint>
173    <hint type="destinationlabel">
174     <x>286</x>
175     <y>274</y>
176    </hint>
177   </hints>
178  </connection>
179 </connections>
180</ui>