| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>frmOptions</class> |
| 4 |
<widget class="QDialog" name="frmOptions"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>700</width> |
| 10 |
<height>450</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>QNapi - Settings</string> |
| 15 |
</property> |
| 16 |
<property name="windowIcon"> |
| 17 |
<iconset resource="../res/resources.qrc"> |
| 18 |
<normaloff>:/icon/qnapi.png</normaloff>:/icon/qnapi.png</iconset> |
| 19 |
</property> |
| 20 |
<layout class="QVBoxLayout"> |
| 21 |
<item> |
| 22 |
<widget class="QTabWidget" name="tabOptions"> |
| 23 |
<property name="currentIndex"> |
| 24 |
<number>0</number> |
| 25 |
</property> |
| 26 |
<widget class="QWidget" name="tabGeneral"> |
| 27 |
<attribute name="title"> |
| 28 |
<string>General</string> |
| 29 |
</attribute> |
| 30 |
<layout class="QGridLayout" name="gridLayout"> |
| 31 |
<item row="10" column="0" colspan="3"> |
| 32 |
<spacer name="verticalSpacer"> |
| 33 |
<property name="orientation"> |
| 34 |
<enum>Qt::Vertical</enum> |
| 35 |
</property> |
| 36 |
<property name="sizeHint" stdset="0"> |
| 37 |
<size> |
| 38 |
<width>568</width> |
| 39 |
<height>172</height> |
| 40 |
</size> |
| 41 |
</property> |
| 42 |
</spacer> |
| 43 |
</item> |
| 44 |
<item row="7" column="0" colspan="3"> |
| 45 |
<widget class="QCheckBox" name="cbQuietBatch"> |
| 46 |
<property name="toolTip"> |
| 47 |
<string>Do not show any windows while retrieving subtitles in command-line</string> |
| 48 |
</property> |
| 49 |
<property name="toolTipDuration"> |
| 50 |
<number>5000</number> |
| 51 |
</property> |
| 52 |
<property name="text"> |
| 53 |
<string>Silent batch mode</string> |
| 54 |
</property> |
| 55 |
</widget> |
| 56 |
</item> |
| 57 |
<item row="2" column="0"> |
| 58 |
<widget class="QLabel" name="lb7zPath"> |
| 59 |
<property name="text"> |
| 60 |
<string>Path to 7z executable:</string> |
| 61 |
</property> |
| 62 |
</widget> |
| 63 |
</item> |
| 64 |
<item row="3" column="0"> |
| 65 |
<widget class="QLabel" name="lbTmpPath"> |
| 66 |
<property name="text"> |
| 67 |
<string>Path to temporary directory:</string> |
| 68 |
</property> |
| 69 |
</widget> |
| 70 |
</item> |
| 71 |
<item row="2" column="1" colspan="2"> |
| 72 |
<widget class="QLineEdit" name="le7zPath"> |
| 73 |
<property name="text"> |
| 74 |
<string notr="true">/usr/bin/7z</string> |
| 75 |
</property> |
| 76 |
<property name="cursorPosition"> |
| 77 |
<number>11</number> |
| 78 |
</property> |
| 79 |
<property name="readOnly"> |
| 80 |
<bool>false</bool> |
| 81 |
</property> |
| 82 |
</widget> |
| 83 |
</item> |
| 84 |
<item row="5" column="0"> |
| 85 |
<widget class="QLabel" name="lbLangBackup"> |
| 86 |
<property name="text"> |
| 87 |
<string>Alternative subtitles language:</string> |
| 88 |
</property> |
| 89 |
</widget> |
| 90 |
</item> |
| 91 |
<item row="8" column="0" colspan="2"> |
| 92 |
<widget class="QCheckBox" name="cbChangePermissions"> |
| 93 |
<property name="text"> |
| 94 |
<string>Subtitles file permissions: </string> |
| 95 |
</property> |
| 96 |
</widget> |
| 97 |
</item> |
| 98 |
<item row="8" column="2"> |
| 99 |
<layout class="QHBoxLayout" name="_2"> |
| 100 |
<property name="spacing"> |
| 101 |
<number>6</number> |
| 102 |
</property> |
| 103 |
<property name="topMargin"> |
| 104 |
<number>0</number> |
| 105 |
</property> |
| 106 |
<item> |
| 107 |
<widget class="QSpinBox" name="sbUPerm"> |
| 108 |
<property name="enabled"> |
| 109 |
<bool>false</bool> |
| 110 |
</property> |
| 111 |
<property name="maximum"> |
| 112 |
<number>7</number> |
| 113 |
</property> |
| 114 |
<property name="value"> |
| 115 |
<number>6</number> |
| 116 |
</property> |
| 117 |
</widget> |
| 118 |
</item> |
| 119 |
<item> |
| 120 |
<widget class="QSpinBox" name="sbGPerm"> |
| 121 |
<property name="enabled"> |
| 122 |
<bool>false</bool> |
| 123 |
</property> |
| 124 |
<property name="maximum"> |
| 125 |
<number>7</number> |
| 126 |
</property> |
| 127 |
<property name="value"> |
| 128 |
<number>4</number> |
| 129 |
</property> |
| 130 |
</widget> |
| 131 |
</item> |
| 132 |
<item> |
| 133 |
<widget class="QSpinBox" name="sbOPerm"> |
| 134 |
<property name="enabled"> |
| 135 |
<bool>false</bool> |
| 136 |
</property> |
| 137 |
<property name="maximum"> |
| 138 |
<number>7</number> |
| 139 |
</property> |
| 140 |
<property name="value"> |
| 141 |
<number>4</number> |
| 142 |
</property> |
| 143 |
</widget> |
| 144 |
</item> |
| 145 |
<item> |
| 146 |
<spacer name="horizontalSpacer_2"> |
| 147 |
<property name="orientation"> |
| 148 |
<enum>Qt::Horizontal</enum> |
| 149 |
</property> |
| 150 |
<property name="sizeHint" stdset="0"> |
| 151 |
<size> |
| 152 |
<width>40</width> |
| 153 |
<height>20</height> |
| 154 |
</size> |
| 155 |
</property> |
| 156 |
</spacer> |
| 157 |
</item> |
| 158 |
</layout> |
| 159 |
</item> |
| 160 |
<item row="9" column="0" colspan="3"> |
| 161 |
<widget class="QCheckBox" name="cbShowDockIcon"> |
| 162 |
<property name="text"> |
| 163 |
<string>Show icon in the system tray (requires application restart)</string> |
| 164 |
</property> |
| 165 |
<property name="checked"> |
| 166 |
<bool>true</bool> |
| 167 |
</property> |
| 168 |
</widget> |
| 169 |
</item> |
| 170 |
<item row="3" column="3"> |
| 171 |
<widget class="QPushButton" name="pbTmpPathSelect"> |
| 172 |
<property name="text"> |
| 173 |
<string/> |
| 174 |
</property> |
| 175 |
<property name="icon"> |
| 176 |
<iconset resource="../res/resources.qrc"> |
| 177 |
<normaloff>:/ui/folder.png</normaloff>:/ui/folder.png</iconset> |
| 178 |
</property> |
| 179 |
</widget> |
| 180 |
</item> |
| 181 |
<item row="4" column="1" colspan="2"> |
| 182 |
<widget class="QComboBox" name="cbLang"/> |
| 183 |
</item> |
| 184 |
<item row="4" column="0"> |
| 185 |
<widget class="QLabel" name="lbLang"> |
| 186 |
<property name="text"> |
| 187 |
<string>Preferred subtitles language:</string> |
| 188 |
</property> |
| 189 |
</widget> |
| 190 |
</item> |
| 191 |
<item row="3" column="1" colspan="2"> |
| 192 |
<widget class="QLineEdit" name="leTmpPath"> |
| 193 |
<property name="text"> |
| 194 |
<string notr="true">/tmp</string> |
| 195 |
</property> |
| 196 |
</widget> |
| 197 |
</item> |
| 198 |
<item row="5" column="1" colspan="2"> |
| 199 |
<widget class="QComboBox" name="cbLangBackup"/> |
| 200 |
</item> |
| 201 |
<item row="2" column="3"> |
| 202 |
<widget class="QPushButton" name="pb7zPathSelect"> |
| 203 |
<property name="text"> |
| 204 |
<string/> |
| 205 |
</property> |
| 206 |
<property name="icon"> |
| 207 |
<iconset resource="../res/resources.qrc"> |
| 208 |
<normaloff>:/ui/folder.png</normaloff>:/ui/folder.png</iconset> |
| 209 |
</property> |
| 210 |
</widget> |
| 211 |
</item> |
| 212 |
<item row="6" column="0" colspan="3"> |
| 213 |
<widget class="QCheckBox" name="cbNoBackup"> |
| 214 |
<property name="text"> |
| 215 |
<string>Do not create a copy of existing subtitles. Overwrite them without confirmation.</string> |
| 216 |
</property> |
| 217 |
</widget> |
| 218 |
</item> |
| 219 |
<item row="0" column="0"> |
| 220 |
<widget class="QLabel" name="lbUiLanguage"> |
| 221 |
<property name="text"> |
| 222 |
<string>User interface language:</string> |
| 223 |
</property> |
| 224 |
</widget> |
| 225 |
</item> |
| 226 |
<item row="0" column="1" colspan="2"> |
| 227 |
<widget class="QComboBox" name="cbUiLanguage"> |
| 228 |
<item> |
| 229 |
<property name="text"> |
| 230 |
<string>Auto-detected based on system language (%1)</string> |
| 231 |
</property> |
| 232 |
</item> |
| 233 |
<item> |
| 234 |
<property name="text"> |
| 235 |
<string comment="en">English</string> |
| 236 |
</property> |
| 237 |
<property name="icon"> |
| 238 |
<iconset resource="../res/resources.qrc"> |
| 239 |
<normaloff>:/languages/en.png</normaloff>:/languages/en.png</iconset> |
| 240 |
</property> |
| 241 |
</item> |
| 242 |
<item> |
| 243 |
<property name="text"> |
| 244 |
<string comment="it">Italian</string> |
| 245 |
</property> |
| 246 |
<property name="icon"> |
| 247 |
<iconset resource="../res/resources.qrc"> |
| 248 |
<normaloff>:/languages/it.png</normaloff>:/languages/it.png</iconset> |
| 249 |
</property> |
| 250 |
</item> |
| 251 |
<item> |
| 252 |
<property name="text"> |
| 253 |
<string comment="pl">Polish</string> |
| 254 |
</property> |
| 255 |
<property name="icon"> |
| 256 |
<iconset resource="../res/resources.qrc"> |
| 257 |
<normaloff>:/languages/pl.png</normaloff>:/languages/pl.png</iconset> |
| 258 |
</property> |
| 259 |
</item> |
| 260 |
</widget> |
| 261 |
</item> |
| 262 |
<item row="1" column="1" colspan="2"> |
| 263 |
<widget class="QLabel" name="lbUiLangChangeNotice"> |
| 264 |
<property name="font"> |
| 265 |
<font> |
| 266 |
<pointsize>10</pointsize> |
| 267 |
</font> |
| 268 |
</property> |
| 269 |
<property name="styleSheet"> |
| 270 |
<string notr="true">color: red;</string> |
| 271 |
</property> |
| 272 |
<property name="text"> |
| 273 |
<string>UI Language change will be applied on next application launch</string> |
| 274 |
</property> |
| 275 |
</widget> |
| 276 |
</item> |
| 277 |
</layout> |
| 278 |
</widget> |
| 279 |
<widget class="QWidget" name="tabDownloadEngines"> |
| 280 |
<attribute name="title"> |
| 281 |
<string>Subtitles download engines</string> |
| 282 |
</attribute> |
| 283 |
<layout class="QGridLayout" name="gridLayout_2"> |
| 284 |
<item row="0" column="0"> |
| 285 |
<widget class="QLabel" name="lbAvailableEngines"> |
| 286 |
<property name="text"> |
| 287 |
<string>Available engines to download subtitles from:</string> |
| 288 |
</property> |
| 289 |
</widget> |
| 290 |
</item> |
| 291 |
<item row="11" column="0"> |
| 292 |
<widget class="QLabel" name="lbDownloadPolicy"> |
| 293 |
<property name="sizePolicy"> |
| 294 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
| 295 |
<horstretch>0</horstretch> |
| 296 |
<verstretch>0</verstretch> |
| 297 |
</sizepolicy> |
| 298 |
</property> |
| 299 |
<property name="text"> |
| 300 |
<string>Subtitles download policy:</string> |
| 301 |
</property> |
| 302 |
</widget> |
| 303 |
</item> |
| 304 |
<item row="12" column="0" colspan="2"> |
| 305 |
<widget class="QComboBox" name="cbDownloadPolicy"> |
| 306 |
<property name="currentIndex"> |
| 307 |
<number>1</number> |
| 308 |
</property> |
| 309 |
<property name="maxCount"> |
| 310 |
<number>3</number> |
| 311 |
</property> |
| 312 |
<item> |
| 313 |
<property name="text"> |
| 314 |
<string>Always show a list of available subtitles</string> |
| 315 |
</property> |
| 316 |
</item> |
| 317 |
<item> |
| 318 |
<property name="text"> |
| 319 |
<string>Show a list of available subtitles only if needed</string> |
| 320 |
</property> |
| 321 |
</item> |
| 322 |
<item> |
| 323 |
<property name="text"> |
| 324 |
<string>Always obtain first matching subtitles and never show a list</string> |
| 325 |
</property> |
| 326 |
</item> |
| 327 |
</widget> |
| 328 |
</item> |
| 329 |
<item row="1" column="0" rowspan="7"> |
| 330 |
<widget class="QTableWidget" name="twEngines"> |
| 331 |
<property name="editTriggers"> |
| 332 |
<set>QAbstractItemView::NoEditTriggers</set> |
| 333 |
</property> |
| 334 |
<property name="dragDropMode"> |
| 335 |
<enum>QAbstractItemView::NoDragDrop</enum> |
| 336 |
</property> |
| 337 |
<property name="selectionMode"> |
| 338 |
<enum>QAbstractItemView::SingleSelection</enum> |
| 339 |
</property> |
| 340 |
<property name="selectionBehavior"> |
| 341 |
<enum>QAbstractItemView::SelectRows</enum> |
| 342 |
</property> |
| 343 |
<property name="verticalScrollMode"> |
| 344 |
<enum>QAbstractItemView::ScrollPerPixel</enum> |
| 345 |
</property> |
| 346 |
<property name="horizontalScrollMode"> |
| 347 |
<enum>QAbstractItemView::ScrollPerPixel</enum> |
| 348 |
</property> |
| 349 |
</widget> |
| 350 |
</item> |
| 351 |
<item row="1" column="1"> |
| 352 |
<widget class="QPushButton" name="pbMoveUp"> |
| 353 |
<property name="enabled"> |
| 354 |
<bool>false</bool> |
| 355 |
</property> |
| 356 |
<property name="text"> |
| 357 |
<string>Move up</string> |
| 358 |
</property> |
| 359 |
<property name="icon"> |
| 360 |
<iconset resource="../res/resources.qrc"> |
| 361 |
<normaloff>:/ui/arrow_up.png</normaloff>:/ui/arrow_up.png</iconset> |
| 362 |
</property> |
| 363 |
</widget> |
| 364 |
</item> |
| 365 |
<item row="8" column="0" colspan="2"> |
| 366 |
<widget class="QLabel" name="lbSearchPolicy"> |
| 367 |
<property name="sizePolicy"> |
| 368 |
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> |
| 369 |
<horstretch>0</horstretch> |
| 370 |
<verstretch>0</verstretch> |
| 371 |
</sizepolicy> |
| 372 |
</property> |
| 373 |
<property name="text"> |
| 374 |
<string>Subtitles search policy:</string> |
| 375 |
</property> |
| 376 |
</widget> |
| 377 |
</item> |
| 378 |
<item row="2" column="1"> |
| 379 |
<widget class="QPushButton" name="pbMoveDown"> |
| 380 |
<property name="enabled"> |
| 381 |
<bool>false</bool> |
| 382 |
</property> |
| 383 |
<property name="text"> |
| 384 |
<string>Move down </string> |
| 385 |
</property> |
| 386 |
<property name="icon"> |
| 387 |
<iconset resource="../res/resources.qrc"> |
| 388 |
<normaloff>:/ui/arrow_down.png</normaloff>:/ui/arrow_down.png</iconset> |
| 389 |
</property> |
| 390 |
</widget> |
| 391 |
</item> |
| 392 |
<item row="4" column="1"> |
| 393 |
<widget class="QPushButton" name="pbEngineInfo"> |
| 394 |
<property name="enabled"> |
| 395 |
<bool>false</bool> |
| 396 |
</property> |
| 397 |
<property name="text"> |
| 398 |
<string>Information</string> |
| 399 |
</property> |
| 400 |
<property name="icon"> |
| 401 |
<iconset resource="../res/resources.qrc"> |
| 402 |
<normaloff>:/ui/information.png</normaloff>:/ui/information.png</iconset> |
| 403 |
</property> |
| 404 |
</widget> |
| 405 |
</item> |
| 406 |
<item row="3" column="1"> |
| 407 |
<widget class="QPushButton" name="pbEngineConf"> |
| 408 |
<property name="enabled"> |
| 409 |
<bool>false</bool> |
| 410 |
</property> |
| 411 |
<property name="text"> |
| 412 |
<string>Configure</string> |
| 413 |
</property> |
| 414 |
<property name="icon"> |
| 415 |
<iconset resource="../res/resources.qrc"> |
| 416 |
<normaloff>:/ui/wrench.png</normaloff>:/ui/wrench.png</iconset> |
| 417 |
</property> |
| 418 |
</widget> |
| 419 |
</item> |
| 420 |
<item row="9" column="0"> |
| 421 |
<widget class="QComboBox" name="cbSearchPolicy"> |
| 422 |
<property name="currentIndex"> |
| 423 |
<number>0</number> |
| 424 |
</property> |
| 425 |
<item> |
| 426 |
<property name="text"> |
| 427 |
<string>Stop the search after finding a matching subtitles (faster)</string> |
| 428 |
</property> |
| 429 |
</item> |
| 430 |
<item> |
| 431 |
<property name="text"> |
| 432 |
<string>Search all available subtitles (slower)</string> |
| 433 |
</property> |
| 434 |
</item> |
| 435 |
<item> |
| 436 |
<property name="text"> |
| 437 |
<string>Find all subtitles, also in alternative language (slowest)</string> |
| 438 |
</property> |
| 439 |
</item> |
| 440 |
</widget> |
| 441 |
</item> |
| 442 |
</layout> |
| 443 |
</widget> |
| 444 |
<widget class="QWidget" name="tabPostProcessing"> |
| 445 |
<attribute name="title"> |
| 446 |
<string>Subtitles post-processing</string> |
| 447 |
</attribute> |
| 448 |
<layout class="QGridLayout" name="gridLayout_3"> |
| 449 |
<item row="0" column="0"> |
| 450 |
<widget class="QGroupBox" name="gbPpEnable"> |
| 451 |
<property name="title"> |
| 452 |
<string>Enable post-processing for downloaded subtitles</string> |
| 453 |
</property> |
| 454 |
<property name="checkable"> |
| 455 |
<bool>true</bool> |
| 456 |
</property> |
| 457 |
<property name="checked"> |
| 458 |
<bool>true</bool> |
| 459 |
</property> |
| 460 |
<layout class="QGridLayout" name="gridLayout_4"> |
| 461 |
<item row="0" column="0" colspan="4"> |
| 462 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 463 |
<item> |
| 464 |
<widget class="QLabel" name="lbEncoding"> |
| 465 |
<property name="text"> |
| 466 |
<string>Character encoding:</string> |
| 467 |
</property> |
| 468 |
</widget> |
| 469 |
</item> |
| 470 |
<item> |
| 471 |
<widget class="QComboBox" name="cbEncodingMethod"> |
| 472 |
<property name="sizePolicy"> |
| 473 |
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| 474 |
<horstretch>0</horstretch> |
| 475 |
<verstretch>0</verstretch> |
| 476 |
</sizepolicy> |
| 477 |
</property> |
| 478 |
<item> |
| 479 |
<property name="text"> |
| 480 |
<string>Keep the original</string> |
| 481 |
</property> |
| 482 |
</item> |
| 483 |
<item> |
| 484 |
<property name="text"> |
| 485 |
<string>Convert (settings below)</string> |
| 486 |
</property> |
| 487 |
</item> |
| 488 |
<item> |
| 489 |
<property name="text"> |
| 490 |
<string>Replace diacritic characters with their ASCII equivalents</string> |
| 491 |
</property> |
| 492 |
</item> |
| 493 |
</widget> |
| 494 |
</item> |
| 495 |
</layout> |
| 496 |
</item> |
| 497 |
<item row="2" column="0" colspan="4"> |
| 498 |
<layout class="QHBoxLayout"> |
| 499 |
<item> |
| 500 |
<spacer> |
| 501 |
<property name="orientation"> |
| 502 |
<enum>Qt::Horizontal</enum> |
| 503 |
</property> |
| 504 |
<property name="sizeType"> |
| 505 |
<enum>QSizePolicy::Fixed</enum> |
| 506 |
</property> |
| 507 |
<property name="sizeHint" stdset="0"> |
| 508 |
<size> |
| 509 |
<width>30</width> |
| 510 |
<height>20</height> |
| 511 |
</size> |
| 512 |
</property> |
| 513 |
</spacer> |
| 514 |
</item> |
| 515 |
<item> |
| 516 |
<widget class="QLabel" name="lbConvertFrom"> |
| 517 |
<property name="enabled"> |
| 518 |
<bool>false</bool> |
| 519 |
</property> |
| 520 |
<property name="sizePolicy"> |
| 521 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 522 |
<horstretch>0</horstretch> |
| 523 |
<verstretch>0</verstretch> |
| 524 |
</sizepolicy> |
| 525 |
</property> |
| 526 |
<property name="text"> |
| 527 |
<string>From:</string> |
| 528 |
</property> |
| 529 |
<property name="alignment"> |
| 530 |
<set>Qt::AlignCenter</set> |
| 531 |
</property> |
| 532 |
</widget> |
| 533 |
</item> |
| 534 |
<item> |
| 535 |
<widget class="QComboBox" name="cbEncFrom"> |
| 536 |
<property name="enabled"> |
| 537 |
<bool>false</bool> |
| 538 |
</property> |
| 539 |
<property name="sizePolicy"> |
| 540 |
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| 541 |
<horstretch>0</horstretch> |
| 542 |
<verstretch>0</verstretch> |
| 543 |
</sizepolicy> |
| 544 |
</property> |
| 545 |
<item> |
| 546 |
<property name="text"> |
| 547 |
<string notr="true">Windows-1250</string> |
| 548 |
</property> |
| 549 |
</item> |
| 550 |
</widget> |
| 551 |
</item> |
| 552 |
<item> |
| 553 |
<spacer> |
| 554 |
<property name="orientation"> |
| 555 |
<enum>Qt::Horizontal</enum> |
| 556 |
</property> |
| 557 |
<property name="sizeType"> |
| 558 |
<enum>QSizePolicy::Fixed</enum> |
| 559 |
</property> |
| 560 |
<property name="sizeHint" stdset="0"> |
| 561 |
<size> |
| 562 |
<width>25</width> |
| 563 |
<height>20</height> |
| 564 |
</size> |
| 565 |
</property> |
| 566 |
</spacer> |
| 567 |
</item> |
| 568 |
<item> |
| 569 |
<widget class="QLabel" name="lbConvert"> |
| 570 |
<property name="enabled"> |
| 571 |
<bool>false</bool> |
| 572 |
</property> |
| 573 |
<property name="sizePolicy"> |
| 574 |
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> |
| 575 |
<horstretch>0</horstretch> |
| 576 |
<verstretch>0</verstretch> |
| 577 |
</sizepolicy> |
| 578 |
</property> |
| 579 |
<property name="text"> |
| 580 |
<string>To:</string> |
| 581 |
</property> |
| 582 |
<property name="alignment"> |
| 583 |
<set>Qt::AlignCenter</set> |
| 584 |
</property> |
| 585 |
</widget> |
| 586 |
</item> |
| 587 |
<item> |
| 588 |
<widget class="QComboBox" name="cbEncTo"> |
| 589 |
<property name="enabled"> |
| 590 |
<bool>false</bool> |
| 591 |
</property> |
| 592 |
<property name="sizePolicy"> |
| 593 |
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| 594 |
<horstretch>0</horstretch> |
| 595 |
<verstretch>0</verstretch> |
| 596 |
</sizepolicy> |
| 597 |
</property> |
| 598 |
<item> |
| 599 |
<property name="text"> |
| 600 |
<string notr="true">UTF-8</string> |
| 601 |
</property> |
| 602 |
</item> |
| 603 |
</widget> |
| 604 |
</item> |
| 605 |
<item> |
| 606 |
<spacer> |
| 607 |
<property name="orientation"> |
| 608 |
<enum>Qt::Horizontal</enum> |
| 609 |
</property> |
| 610 |
<property name="sizeType"> |
| 611 |
<enum>QSizePolicy::Fixed</enum> |
| 612 |
</property> |
| 613 |
<property name="sizeHint" stdset="0"> |
| 614 |
<size> |
| 615 |
<width>25</width> |
| 616 |
<height>20</height> |
| 617 |
</size> |
| 618 |
</property> |
| 619 |
</spacer> |
| 620 |
</item> |
| 621 |
</layout> |
| 622 |
</item> |
| 623 |
<item row="3" column="0" colspan="4"> |
| 624 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 625 |
<property name="topMargin"> |
| 626 |
<number>0</number> |
| 627 |
</property> |
| 628 |
<item> |
| 629 |
<spacer name="horizontalSpacer"> |
| 630 |
<property name="orientation"> |
| 631 |
<enum>Qt::Horizontal</enum> |
| 632 |
</property> |
| 633 |
<property name="sizeType"> |
| 634 |
<enum>QSizePolicy::Fixed</enum> |
| 635 |
</property> |
| 636 |
<property name="sizeHint" stdset="0"> |
| 637 |
<size> |
| 638 |
<width>30</width> |
| 639 |
<height>20</height> |
| 640 |
</size> |
| 641 |
</property> |
| 642 |
</spacer> |
| 643 |
</item> |
| 644 |
<item> |
| 645 |
<widget class="QCheckBox" name="cbShowAllEncodings"> |
| 646 |
<property name="enabled"> |
| 647 |
<bool>false</bool> |
| 648 |
</property> |
| 649 |
<property name="text"> |
| 650 |
<string>Show all available character encodings</string> |
| 651 |
</property> |
| 652 |
</widget> |
| 653 |
</item> |
| 654 |
</layout> |
| 655 |
</item> |
| 656 |
<item row="5" column="0" colspan="4"> |
| 657 |
<widget class="QTextEdit" name="teRemoveWords"> |
| 658 |
<property name="enabled"> |
| 659 |
<bool>false</bool> |
| 660 |
</property> |
| 661 |
<property name="html"> |
| 662 |
<string notr="true"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 663 |
<html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
| 664 |
p, li { white-space: pre-wrap; } |
| 665 |
</style></head><body style=" font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;"> |
| 666 |
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'sans-serif'; font-size:12pt;">movie info</span></p> |
| 667 |
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'sans-serif'; font-size:12pt;">synchro</span></p></body></html></string> |
| 668 |
</property> |
| 669 |
<property name="acceptRichText"> |
| 670 |
<bool>false</bool> |
| 671 |
</property> |
| 672 |
</widget> |
| 673 |
</item> |
| 674 |
<item row="6" column="0"> |
| 675 |
<widget class="QLabel" name="lbSubFormat"> |
| 676 |
<property name="text"> |
| 677 |
<string>Subtitles format:</string> |
| 678 |
</property> |
| 679 |
</widget> |
| 680 |
</item> |
| 681 |
<item row="6" column="1"> |
| 682 |
<widget class="QComboBox" name="cbSubFormat"> |
| 683 |
<property name="sizePolicy"> |
| 684 |
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| 685 |
<horstretch>0</horstretch> |
| 686 |
<verstretch>0</verstretch> |
| 687 |
</sizepolicy> |
| 688 |
</property> |
| 689 |
<item> |
| 690 |
<property name="text"> |
| 691 |
<string>Keep the original</string> |
| 692 |
</property> |
| 693 |
</item> |
| 694 |
</widget> |
| 695 |
</item> |
| 696 |
<item row="6" column="2"> |
| 697 |
<widget class="QLabel" name="lbSubExtension"> |
| 698 |
<property name="text"> |
| 699 |
<string>Subtitles extension:</string> |
| 700 |
</property> |
| 701 |
</widget> |
| 702 |
</item> |
| 703 |
<item row="6" column="3"> |
| 704 |
<widget class="QComboBox" name="cbSubExtension"> |
| 705 |
<property name="sizePolicy"> |
| 706 |
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
| 707 |
<horstretch>0</horstretch> |
| 708 |
<verstretch>0</verstretch> |
| 709 |
</sizepolicy> |
| 710 |
</property> |
| 711 |
<item> |
| 712 |
<property name="text"> |
| 713 |
<string>Default</string> |
| 714 |
</property> |
| 715 |
</item> |
| 716 |
<item> |
| 717 |
<property name="text"> |
| 718 |
<string notr="true">srt</string> |
| 719 |
</property> |
| 720 |
</item> |
| 721 |
<item> |
| 722 |
<property name="text"> |
| 723 |
<string notr="true">sub</string> |
| 724 |
</property> |
| 725 |
</item> |
| 726 |
<item> |
| 727 |
<property name="text"> |
| 728 |
<string notr="true">txt</string> |
| 729 |
</property> |
| 730 |
</item> |
| 731 |
</widget> |
| 732 |
</item> |
| 733 |
<item row="7" column="0" colspan="4"> |
| 734 |
<widget class="QCheckBox" name="cbSkipConvertAds"> |
| 735 |
<property name="enabled"> |
| 736 |
<bool>true</bool> |
| 737 |
</property> |
| 738 |
<property name="text"> |
| 739 |
<string>Do not add information about QNapi while converting between formats</string> |
| 740 |
</property> |
| 741 |
</widget> |
| 742 |
</item> |
| 743 |
<item row="1" column="0" colspan="4"> |
| 744 |
<widget class="QCheckBox" name="cbAutoDetectEncoding"> |
| 745 |
<property name="enabled"> |
| 746 |
<bool>false</bool> |
| 747 |
</property> |
| 748 |
<property name="text"> |
| 749 |
<string>Attempt to automatically detect encoding</string> |
| 750 |
</property> |
| 751 |
<property name="checked"> |
| 752 |
<bool>false</bool> |
| 753 |
</property> |
| 754 |
</widget> |
| 755 |
</item> |
| 756 |
<item row="4" column="0" colspan="4"> |
| 757 |
<widget class="QCheckBox" name="cbRemoveLines"> |
| 758 |
<property name="text"> |
| 759 |
<string>Remove subtitles lines that contain the following words:</string> |
| 760 |
</property> |
| 761 |
</widget> |
| 762 |
</item> |
| 763 |
</layout> |
| 764 |
<zorder>cbAutoDetectEncoding</zorder> |
| 765 |
<zorder>cbRemoveLines</zorder> |
| 766 |
<zorder>teRemoveWords</zorder> |
| 767 |
<zorder>lbSubFormat</zorder> |
| 768 |
<zorder>cbSubFormat</zorder> |
| 769 |
<zorder>lbSubExtension</zorder> |
| 770 |
<zorder>cbSubExtension</zorder> |
| 771 |
<zorder>cbSkipConvertAds</zorder> |
| 772 |
</widget> |
| 773 |
</item> |
| 774 |
</layout> |
| 775 |
</widget> |
| 776 |
</widget> |
| 777 |
</item> |
| 778 |
<item> |
| 779 |
<layout class="QHBoxLayout"> |
| 780 |
<item> |
| 781 |
<widget class="QPushButton" name="pbRestoreDefaults"> |
| 782 |
<property name="text"> |
| 783 |
<string>Restore defaults</string> |
| 784 |
</property> |
| 785 |
</widget> |
| 786 |
</item> |
| 787 |
<item> |
| 788 |
<spacer> |
| 789 |
<property name="orientation"> |
| 790 |
<enum>Qt::Horizontal</enum> |
| 791 |
</property> |
| 792 |
<property name="sizeHint" stdset="0"> |
| 793 |
<size> |
| 794 |
<width>40</width> |
| 795 |
<height>20</height> |
| 796 |
</size> |
| 797 |
</property> |
| 798 |
</spacer> |
| 799 |
</item> |
| 800 |
<item> |
| 801 |
<widget class="QPushButton" name="pbCancel"> |
| 802 |
<property name="text"> |
| 803 |
<string>Cancel</string> |
| 804 |
</property> |
| 805 |
</widget> |
| 806 |
</item> |
| 807 |
<item> |
| 808 |
<widget class="QPushButton" name="pbSave"> |
| 809 |
<property name="text"> |
| 810 |
<string>Save</string> |
| 811 |
</property> |
| 812 |
</widget> |
| 813 |
</item> |
| 814 |
</layout> |
| 815 |
</item> |
| 816 |
</layout> |
| 817 |
</widget> |
| 818 |
<tabstops> |
| 819 |
<tabstop>cbUiLanguage</tabstop> |
| 820 |
<tabstop>le7zPath</tabstop> |
| 821 |
<tabstop>pb7zPathSelect</tabstop> |
| 822 |
<tabstop>leTmpPath</tabstop> |
| 823 |
<tabstop>pbTmpPathSelect</tabstop> |
| 824 |
<tabstop>cbLang</tabstop> |
| 825 |
<tabstop>cbLangBackup</tabstop> |
| 826 |
<tabstop>cbNoBackup</tabstop> |
| 827 |
<tabstop>cbQuietBatch</tabstop> |
| 828 |
<tabstop>cbChangePermissions</tabstop> |
| 829 |
<tabstop>sbUPerm</tabstop> |
| 830 |
<tabstop>sbGPerm</tabstop> |
| 831 |
<tabstop>sbOPerm</tabstop> |
| 832 |
<tabstop>cbShowDockIcon</tabstop> |
| 833 |
<tabstop>twEngines</tabstop> |
| 834 |
<tabstop>pbMoveUp</tabstop> |
| 835 |
<tabstop>pbMoveDown</tabstop> |
| 836 |
<tabstop>pbEngineConf</tabstop> |
| 837 |
<tabstop>pbEngineInfo</tabstop> |
| 838 |
<tabstop>cbSearchPolicy</tabstop> |
| 839 |
<tabstop>cbDownloadPolicy</tabstop> |
| 840 |
<tabstop>gbPpEnable</tabstop> |
| 841 |
<tabstop>cbEncodingMethod</tabstop> |
| 842 |
<tabstop>cbAutoDetectEncoding</tabstop> |
| 843 |
<tabstop>cbEncFrom</tabstop> |
| 844 |
<tabstop>cbEncTo</tabstop> |
| 845 |
<tabstop>cbShowAllEncodings</tabstop> |
| 846 |
<tabstop>cbRemoveLines</tabstop> |
| 847 |
<tabstop>teRemoveWords</tabstop> |
| 848 |
<tabstop>cbSubFormat</tabstop> |
| 849 |
<tabstop>cbSubExtension</tabstop> |
| 850 |
<tabstop>cbSkipConvertAds</tabstop> |
| 851 |
<tabstop>pbRestoreDefaults</tabstop> |
| 852 |
<tabstop>pbCancel</tabstop> |
| 853 |
<tabstop>pbSave</tabstop> |
| 854 |
<tabstop>tabOptions</tabstop> |
| 855 |
</tabstops> |
| 856 |
<resources> |
| 857 |
<include location="../res/resources.qrc"/> |
| 858 |
</resources> |
| 859 |
<connections> |
| 860 |
<connection> |
| 861 |
<sender>pbSave</sender> |
| 862 |
<signal>clicked()</signal> |
| 863 |
<receiver>frmOptions</receiver> |
| 864 |
<slot>accept()</slot> |
| 865 |
<hints> |
| 866 |
<hint type="sourcelabel"> |
| 867 |
<x>689</x> |
| 868 |
<y>439</y> |
| 869 |
</hint> |
| 870 |
<hint type="destinationlabel"> |
| 871 |
<x>327</x> |
| 872 |
<y>211</y> |
| 873 |
</hint> |
| 874 |
</hints> |
| 875 |
</connection> |
| 876 |
<connection> |
| 877 |
<sender>pbCancel</sender> |
| 878 |
<signal>clicked()</signal> |
| 879 |
<receiver>frmOptions</receiver> |
| 880 |
<slot>reject()</slot> |
| 881 |
<hints> |
| 882 |
<hint type="sourcelabel"> |
| 883 |
<x>603</x> |
| 884 |
<y>439</y> |
| 885 |
</hint> |
| 886 |
<hint type="destinationlabel"> |
| 887 |
<x>327</x> |
| 888 |
<y>211</y> |
| 889 |
</hint> |
| 890 |
</hints> |
| 891 |
</connection> |
| 892 |
<connection> |
| 893 |
<sender>cbRemoveLines</sender> |
| 894 |
<signal>toggled(bool)</signal> |
| 895 |
<receiver>teRemoveWords</receiver> |
| 896 |
<slot>setEnabled(bool)</slot> |
| 897 |
<hints> |
| 898 |
<hint type="sourcelabel"> |
| 899 |
<x>191</x> |
| 900 |
<y>213</y> |
| 901 |
</hint> |
| 902 |
<hint type="destinationlabel"> |
| 903 |
<x>129</x> |
| 904 |
<y>251</y> |
| 905 |
</hint> |
| 906 |
</hints> |
| 907 |
</connection> |
| 908 |
<connection> |
| 909 |
<sender>cbChangePermissions</sender> |
| 910 |
<signal>toggled(bool)</signal> |
| 911 |
<receiver>sbUPerm</receiver> |
| 912 |
<slot>setEnabled(bool)</slot> |
| 913 |
<hints> |
| 914 |
<hint type="sourcelabel"> |
| 915 |
<x>119</x> |
| 916 |
<y>275</y> |
| 917 |
</hint> |
| 918 |
<hint type="destinationlabel"> |
| 919 |
<x>256</x> |
| 920 |
<y>277</y> |
| 921 |
</hint> |
| 922 |
</hints> |
| 923 |
</connection> |
| 924 |
<connection> |
| 925 |
<sender>cbChangePermissions</sender> |
| 926 |
<signal>toggled(bool)</signal> |
| 927 |
<receiver>sbGPerm</receiver> |
| 928 |
<slot>setEnabled(bool)</slot> |
| 929 |
<hints> |
| 930 |
<hint type="sourcelabel"> |
| 931 |
<x>187</x> |
| 932 |
<y>275</y> |
| 933 |
</hint> |
| 934 |
<hint type="destinationlabel"> |
| 935 |
<x>302</x> |
| 936 |
<y>277</y> |
| 937 |
</hint> |
| 938 |
</hints> |
| 939 |
</connection> |
| 940 |
<connection> |
| 941 |
<sender>cbChangePermissions</sender> |
| 942 |
<signal>toggled(bool)</signal> |
| 943 |
<receiver>sbOPerm</receiver> |
| 944 |
<slot>setEnabled(bool)</slot> |
| 945 |
<hints> |
| 946 |
<hint type="sourcelabel"> |
| 947 |
<x>135</x> |
| 948 |
<y>275</y> |
| 949 |
</hint> |
| 950 |
<hint type="destinationlabel"> |
| 951 |
<x>348</x> |
| 952 |
<y>277</y> |
| 953 |
</hint> |
| 954 |
</hints> |
| 955 |
</connection> |
| 956 |
</connections> |
| 957 |
</ui> |