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