Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

902 lines
28 KiB

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