| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
|---|
| 2 | <ui version="4.0">
|
|---|
| 3 | <class>PrefNetwork</class>
|
|---|
| 4 | <widget class="QWidget" name="PrefNetwork">
|
|---|
| 5 | <property name="geometry">
|
|---|
| 6 | <rect>
|
|---|
| 7 | <x>0</x>
|
|---|
| 8 | <y>0</y>
|
|---|
| 9 | <width>480</width>
|
|---|
| 10 | <height>294</height>
|
|---|
| 11 | </rect>
|
|---|
| 12 | </property>
|
|---|
| 13 | <layout class="QVBoxLayout">
|
|---|
| 14 | <property name="margin">
|
|---|
| 15 | <number>0</number>
|
|---|
| 16 | </property>
|
|---|
| 17 | <item>
|
|---|
| 18 | <widget class="QTabWidget" name="tab_widget">
|
|---|
| 19 | <property name="currentIndex">
|
|---|
| 20 | <number>0</number>
|
|---|
| 21 | </property>
|
|---|
| 22 | <widget class="QWidget" name="youtube_page">
|
|---|
| 23 | <attribute name="title">
|
|---|
| 24 | <string>&YouTube (and other sites)</string>
|
|---|
| 25 | </attribute>
|
|---|
| 26 | <layout class="QVBoxLayout" name="verticalLayout_3">
|
|---|
| 27 | <item>
|
|---|
| 28 | <layout class="QHBoxLayout" name="horizontalLayout_2">
|
|---|
| 29 | <item>
|
|---|
| 30 | <widget class="QLabel" name="label">
|
|---|
| 31 | <property name="text">
|
|---|
| 32 | <string>Support for &video sites:</string>
|
|---|
| 33 | </property>
|
|---|
| 34 | <property name="buddy">
|
|---|
| 35 | <cstring>streaming_type_combo</cstring>
|
|---|
| 36 | </property>
|
|---|
| 37 | </widget>
|
|---|
| 38 | </item>
|
|---|
| 39 | <item>
|
|---|
| 40 | <widget class="QComboBox" name="streaming_type_combo">
|
|---|
| 41 | <property name="sizePolicy">
|
|---|
| 42 | <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|---|
| 43 | <horstretch>0</horstretch>
|
|---|
| 44 | <verstretch>0</verstretch>
|
|---|
| 45 | </sizepolicy>
|
|---|
| 46 | </property>
|
|---|
| 47 | </widget>
|
|---|
| 48 | </item>
|
|---|
| 49 | <item>
|
|---|
| 50 | <spacer name="horizontalSpacer">
|
|---|
| 51 | <property name="orientation">
|
|---|
| 52 | <enum>Qt::Horizontal</enum>
|
|---|
| 53 | </property>
|
|---|
| 54 | <property name="sizeHint" stdset="0">
|
|---|
| 55 | <size>
|
|---|
| 56 | <width>40</width>
|
|---|
| 57 | <height>20</height>
|
|---|
| 58 | </size>
|
|---|
| 59 | </property>
|
|---|
| 60 | </spacer>
|
|---|
| 61 | </item>
|
|---|
| 62 | </layout>
|
|---|
| 63 | </item>
|
|---|
| 64 | <item>
|
|---|
| 65 | <widget class="QGroupBox" name="youtube_box">
|
|---|
| 66 | <property name="title">
|
|---|
| 67 | <string>Options for YouTube</string>
|
|---|
| 68 | </property>
|
|---|
| 69 | <layout class="QVBoxLayout" name="verticalLayout_2">
|
|---|
| 70 | <item>
|
|---|
| 71 | <layout class="QHBoxLayout" name="_3">
|
|---|
| 72 | <item>
|
|---|
| 73 | <widget class="QLabel" name="yt_label">
|
|---|
| 74 | <property name="text">
|
|---|
| 75 | <string>Playback &quality</string>
|
|---|
| 76 | </property>
|
|---|
| 77 | <property name="buddy">
|
|---|
| 78 | <cstring>yt_quality_combo</cstring>
|
|---|
| 79 | </property>
|
|---|
| 80 | </widget>
|
|---|
| 81 | </item>
|
|---|
| 82 | <item>
|
|---|
| 83 | <widget class="QComboBox" name="yt_quality_combo"/>
|
|---|
| 84 | </item>
|
|---|
| 85 | <item>
|
|---|
| 86 | <spacer>
|
|---|
| 87 | <property name="orientation">
|
|---|
| 88 | <enum>Qt::Horizontal</enum>
|
|---|
| 89 | </property>
|
|---|
| 90 | <property name="sizeHint" stdset="0">
|
|---|
| 91 | <size>
|
|---|
| 92 | <width>40</width>
|
|---|
| 93 | <height>20</height>
|
|---|
| 94 | </size>
|
|---|
| 95 | </property>
|
|---|
| 96 | </spacer>
|
|---|
| 97 | </item>
|
|---|
| 98 | </layout>
|
|---|
| 99 | </item>
|
|---|
| 100 | <item>
|
|---|
| 101 | <layout class="QHBoxLayout" name="horizontalLayout">
|
|---|
| 102 | <item>
|
|---|
| 103 | <widget class="QLabel" name="yt_user_agent_label">
|
|---|
| 104 | <property name="text">
|
|---|
| 105 | <string>&User agent</string>
|
|---|
| 106 | </property>
|
|---|
| 107 | <property name="buddy">
|
|---|
| 108 | <cstring>yt_user_agent_edit</cstring>
|
|---|
| 109 | </property>
|
|---|
| 110 | </widget>
|
|---|
| 111 | </item>
|
|---|
| 112 | <item>
|
|---|
| 113 | <widget class="QLineEdit" name="yt_user_agent_edit"/>
|
|---|
| 114 | </item>
|
|---|
| 115 | </layout>
|
|---|
| 116 | </item>
|
|---|
| 117 | </layout>
|
|---|
| 118 | </widget>
|
|---|
| 119 | </item>
|
|---|
| 120 | <item>
|
|---|
| 121 | <spacer name="verticalSpacer_2">
|
|---|
| 122 | <property name="orientation">
|
|---|
| 123 | <enum>Qt::Vertical</enum>
|
|---|
| 124 | </property>
|
|---|
| 125 | <property name="sizeHint" stdset="0">
|
|---|
| 126 | <size>
|
|---|
| 127 | <width>20</width>
|
|---|
| 128 | <height>40</height>
|
|---|
| 129 | </size>
|
|---|
| 130 | </property>
|
|---|
| 131 | </spacer>
|
|---|
| 132 | </item>
|
|---|
| 133 | </layout>
|
|---|
| 134 | </widget>
|
|---|
| 135 | <widget class="QWidget" name="proxy_page">
|
|---|
| 136 | <attribute name="title">
|
|---|
| 137 | <string>&Proxy</string>
|
|---|
| 138 | </attribute>
|
|---|
| 139 | <layout class="QVBoxLayout" name="verticalLayout">
|
|---|
| 140 | <item>
|
|---|
| 141 | <widget class="QCheckBox" name="use_proxy_check">
|
|---|
| 142 | <property name="text">
|
|---|
| 143 | <string>&Enable proxy</string>
|
|---|
| 144 | </property>
|
|---|
| 145 | </widget>
|
|---|
| 146 | </item>
|
|---|
| 147 | <item>
|
|---|
| 148 | <widget class="QWidget" name="proxy_container" native="true">
|
|---|
| 149 | <property name="enabled">
|
|---|
| 150 | <bool>false</bool>
|
|---|
| 151 | </property>
|
|---|
| 152 | <layout class="QGridLayout" name="_2">
|
|---|
| 153 | <item row="0" column="0">
|
|---|
| 154 | <widget class="QLabel" name="label_2">
|
|---|
| 155 | <property name="text">
|
|---|
| 156 | <string>&Host:</string>
|
|---|
| 157 | </property>
|
|---|
| 158 | <property name="buddy">
|
|---|
| 159 | <cstring>proxy_hostname_edit</cstring>
|
|---|
| 160 | </property>
|
|---|
| 161 | </widget>
|
|---|
| 162 | </item>
|
|---|
| 163 | <item row="0" column="1" colspan="2">
|
|---|
| 164 | <widget class="QLineEdit" name="proxy_hostname_edit"/>
|
|---|
| 165 | </item>
|
|---|
| 166 | <item row="0" column="3">
|
|---|
| 167 | <widget class="QLabel" name="label_3">
|
|---|
| 168 | <property name="text">
|
|---|
| 169 | <string>&Port:</string>
|
|---|
| 170 | </property>
|
|---|
| 171 | <property name="alignment">
|
|---|
| 172 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|---|
| 173 | </property>
|
|---|
| 174 | <property name="buddy">
|
|---|
| 175 | <cstring>proxy_port_spin</cstring>
|
|---|
| 176 | </property>
|
|---|
| 177 | </widget>
|
|---|
| 178 | </item>
|
|---|
| 179 | <item row="0" column="4">
|
|---|
| 180 | <widget class="QSpinBox" name="proxy_port_spin">
|
|---|
| 181 | <property name="maximum">
|
|---|
| 182 | <number>65535</number>
|
|---|
| 183 | </property>
|
|---|
| 184 | </widget>
|
|---|
| 185 | </item>
|
|---|
| 186 | <item row="1" column="0">
|
|---|
| 187 | <widget class="QLabel" name="label_4">
|
|---|
| 188 | <property name="text">
|
|---|
| 189 | <string>&Username:</string>
|
|---|
| 190 | </property>
|
|---|
| 191 | <property name="buddy">
|
|---|
| 192 | <cstring>proxy_username_edit</cstring>
|
|---|
| 193 | </property>
|
|---|
| 194 | </widget>
|
|---|
| 195 | </item>
|
|---|
| 196 | <item row="1" column="1" colspan="4">
|
|---|
| 197 | <widget class="QLineEdit" name="proxy_username_edit"/>
|
|---|
| 198 | </item>
|
|---|
| 199 | <item row="2" column="0">
|
|---|
| 200 | <widget class="QLabel" name="label_5">
|
|---|
| 201 | <property name="text">
|
|---|
| 202 | <string>Pa&ssword:</string>
|
|---|
| 203 | </property>
|
|---|
| 204 | <property name="buddy">
|
|---|
| 205 | <cstring>proxy_password_edit</cstring>
|
|---|
| 206 | </property>
|
|---|
| 207 | </widget>
|
|---|
| 208 | </item>
|
|---|
| 209 | <item row="2" column="1" colspan="4">
|
|---|
| 210 | <widget class="QLineEdit" name="proxy_password_edit">
|
|---|
| 211 | <property name="echoMode">
|
|---|
| 212 | <enum>QLineEdit::Password</enum>
|
|---|
| 213 | </property>
|
|---|
| 214 | </widget>
|
|---|
| 215 | </item>
|
|---|
| 216 | <item row="3" column="0">
|
|---|
| 217 | <widget class="QLabel" name="label_6">
|
|---|
| 218 | <property name="text">
|
|---|
| 219 | <string>&Type:</string>
|
|---|
| 220 | </property>
|
|---|
| 221 | <property name="buddy">
|
|---|
| 222 | <cstring>proxy_type_combo</cstring>
|
|---|
| 223 | </property>
|
|---|
| 224 | </widget>
|
|---|
| 225 | </item>
|
|---|
| 226 | <item row="3" column="1">
|
|---|
| 227 | <widget class="QComboBox" name="proxy_type_combo"/>
|
|---|
| 228 | </item>
|
|---|
| 229 | <item row="3" column="2" colspan="3">
|
|---|
| 230 | <spacer>
|
|---|
| 231 | <property name="orientation">
|
|---|
| 232 | <enum>Qt::Horizontal</enum>
|
|---|
| 233 | </property>
|
|---|
| 234 | <property name="sizeHint" stdset="0">
|
|---|
| 235 | <size>
|
|---|
| 236 | <width>261</width>
|
|---|
| 237 | <height>20</height>
|
|---|
| 238 | </size>
|
|---|
| 239 | </property>
|
|---|
| 240 | </spacer>
|
|---|
| 241 | </item>
|
|---|
| 242 | </layout>
|
|---|
| 243 | </widget>
|
|---|
| 244 | </item>
|
|---|
| 245 | <item>
|
|---|
| 246 | <spacer name="verticalSpacer">
|
|---|
| 247 | <property name="orientation">
|
|---|
| 248 | <enum>Qt::Vertical</enum>
|
|---|
| 249 | </property>
|
|---|
| 250 | <property name="sizeHint" stdset="0">
|
|---|
| 251 | <size>
|
|---|
| 252 | <width>20</width>
|
|---|
| 253 | <height>40</height>
|
|---|
| 254 | </size>
|
|---|
| 255 | </property>
|
|---|
| 256 | </spacer>
|
|---|
| 257 | </item>
|
|---|
| 258 | </layout>
|
|---|
| 259 | </widget>
|
|---|
| 260 | </widget>
|
|---|
| 261 | </item>
|
|---|
| 262 | </layout>
|
|---|
| 263 | </widget>
|
|---|
| 264 | <tabstops>
|
|---|
| 265 | <tabstop>tab_widget</tabstop>
|
|---|
| 266 | <tabstop>streaming_type_combo</tabstop>
|
|---|
| 267 | <tabstop>yt_quality_combo</tabstop>
|
|---|
| 268 | <tabstop>yt_user_agent_edit</tabstop>
|
|---|
| 269 | <tabstop>use_proxy_check</tabstop>
|
|---|
| 270 | <tabstop>proxy_hostname_edit</tabstop>
|
|---|
| 271 | <tabstop>proxy_port_spin</tabstop>
|
|---|
| 272 | <tabstop>proxy_username_edit</tabstop>
|
|---|
| 273 | <tabstop>proxy_password_edit</tabstop>
|
|---|
| 274 | <tabstop>proxy_type_combo</tabstop>
|
|---|
| 275 | </tabstops>
|
|---|
| 276 | <resources/>
|
|---|
| 277 | <connections>
|
|---|
| 278 | <connection>
|
|---|
| 279 | <sender>use_proxy_check</sender>
|
|---|
| 280 | <signal>toggled(bool)</signal>
|
|---|
| 281 | <receiver>proxy_container</receiver>
|
|---|
| 282 | <slot>setEnabled(bool)</slot>
|
|---|
| 283 | <hints>
|
|---|
| 284 | <hint type="sourcelabel">
|
|---|
| 285 | <x>239</x>
|
|---|
| 286 | <y>50</y>
|
|---|
| 287 | </hint>
|
|---|
| 288 | <hint type="destinationlabel">
|
|---|
| 289 | <x>239</x>
|
|---|
| 290 | <y>139</y>
|
|---|
| 291 | </hint>
|
|---|
| 292 | </hints>
|
|---|
| 293 | </connection>
|
|---|
| 294 | </connections>
|
|---|
| 295 | </ui>
|
|---|