csettingsview_moc.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CSettingsView</class>
  4. <widget class="QWidget" name="CSettingsView">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>738</width>
  10. <height>471</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <property name="leftMargin">
  18. <number>0</number>
  19. </property>
  20. <property name="topMargin">
  21. <number>0</number>
  22. </property>
  23. <property name="rightMargin">
  24. <number>0</number>
  25. </property>
  26. <property name="bottomMargin">
  27. <number>0</number>
  28. </property>
  29. <item row="3" column="6">
  30. <widget class="QLabel" name="labelTempDir">
  31. <property name="text">
  32. <string>Log files directory</string>
  33. </property>
  34. </widget>
  35. </item>
  36. <item row="17" column="6">
  37. <widget class="QComboBox" name="comboBoxAutoCheck">
  38. <property name="currentIndex">
  39. <number>1</number>
  40. </property>
  41. <item>
  42. <property name="text">
  43. <string>Off</string>
  44. </property>
  45. </item>
  46. <item>
  47. <property name="text">
  48. <string>On</string>
  49. </property>
  50. </item>
  51. </widget>
  52. </item>
  53. <item row="0" column="6" colspan="4">
  54. <widget class="QLabel" name="labelDataDirs">
  55. <property name="font">
  56. <font>
  57. <weight>75</weight>
  58. <bold>true</bold>
  59. </font>
  60. </property>
  61. <property name="text">
  62. <string>Data Directories</string>
  63. </property>
  64. </widget>
  65. </item>
  66. <item row="0" column="1" colspan="4">
  67. <widget class="QLabel" name="labelVideo">
  68. <property name="font">
  69. <font>
  70. <weight>75</weight>
  71. <bold>true</bold>
  72. </font>
  73. </property>
  74. <property name="text">
  75. <string>Video</string>
  76. </property>
  77. </widget>
  78. </item>
  79. <item row="1" column="1">
  80. <widget class="QLabel" name="labelResolution">
  81. <property name="text">
  82. <string>Resolution</string>
  83. </property>
  84. </widget>
  85. </item>
  86. <item row="3" column="9">
  87. <widget class="QPushButton" name="openTempDir">
  88. <property name="text">
  89. <string>Open</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item row="11" column="4">
  94. <widget class="QComboBox" name="comboBoxNeutralAI">
  95. <item>
  96. <property name="text">
  97. <string>BattleAI</string>
  98. </property>
  99. </item>
  100. <item>
  101. <property name="text">
  102. <string>StupidAI</string>
  103. </property>
  104. </item>
  105. </widget>
  106. </item>
  107. <item row="2" column="6">
  108. <widget class="QLabel" name="labelUserDataDir">
  109. <property name="text">
  110. <string>User data directory</string>
  111. </property>
  112. </widget>
  113. </item>
  114. <item row="14" column="1">
  115. <widget class="QLabel" name="labelEnemyAI">
  116. <property name="minimumSize">
  117. <size>
  118. <width>0</width>
  119. <height>22</height>
  120. </size>
  121. </property>
  122. <property name="text">
  123. <string>Enemy AI</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item row="17" column="1" colspan="4">
  128. <widget class="QLabel" name="labelAutoCheck">
  129. <property name="text">
  130. <string>Check repositories on startup</string>
  131. </property>
  132. </widget>
  133. </item>
  134. <item row="4" column="1">
  135. <widget class="QLabel" name="labelDisplayIndex">
  136. <property name="text">
  137. <string>Display index</string>
  138. </property>
  139. </widget>
  140. </item>
  141. <item row="3" column="1">
  142. <widget class="QLabel" name="labelShowIntro">
  143. <property name="text">
  144. <string>Show intro</string>
  145. </property>
  146. </widget>
  147. </item>
  148. <item row="8" column="6" colspan="4">
  149. <widget class="QLabel" name="labelGeneral">
  150. <property name="font">
  151. <font>
  152. <weight>75</weight>
  153. <bold>true</bold>
  154. </font>
  155. </property>
  156. <property name="text">
  157. <string>General</string>
  158. </property>
  159. </widget>
  160. </item>
  161. <item row="4" column="4">
  162. <widget class="QComboBox" name="comboBoxDisplayIndex">
  163. <item>
  164. <property name="text">
  165. <string>0</string>
  166. </property>
  167. </item>
  168. </widget>
  169. </item>
  170. <item row="1" column="8">
  171. <widget class="QPushButton" name="changeGameDataDir">
  172. <property name="enabled">
  173. <bool>false</bool>
  174. </property>
  175. <property name="text">
  176. <string>Change</string>
  177. </property>
  178. </widget>
  179. </item>
  180. <item row="9" column="4">
  181. <widget class="QComboBox" name="comboBoxPlayerAI">
  182. <item>
  183. <property name="text">
  184. <string>VCAI</string>
  185. </property>
  186. </item>
  187. <item>
  188. <property name="text">
  189. <string>Nullkiller</string>
  190. </property>
  191. </item>
  192. </widget>
  193. </item>
  194. <item row="3" column="7" colspan="2">
  195. <widget class="QLineEdit" name="lineEditTempDir">
  196. <property name="enabled">
  197. <bool>false</bool>
  198. </property>
  199. <property name="minimumSize">
  200. <size>
  201. <width>150</width>
  202. <height>0</height>
  203. </size>
  204. </property>
  205. <property name="text">
  206. <string>/home/user/.vcmi</string>
  207. </property>
  208. <property name="readOnly">
  209. <bool>true</bool>
  210. </property>
  211. </widget>
  212. </item>
  213. <item row="18" column="1" colspan="4">
  214. <widget class="QLabel" name="labelRepositories">
  215. <property name="font">
  216. <font>
  217. <weight>75</weight>
  218. <bold>true</bold>
  219. </font>
  220. </property>
  221. <property name="text">
  222. <string>Repositories</string>
  223. </property>
  224. </widget>
  225. </item>
  226. <item row="1" column="9">
  227. <widget class="QPushButton" name="openGameDataDir">
  228. <property name="text">
  229. <string>Open</string>
  230. </property>
  231. </widget>
  232. </item>
  233. <item row="9" column="7" colspan="3">
  234. <widget class="QSpinBox" name="spinBoxNetworkPort">
  235. <property name="minimum">
  236. <number>1024</number>
  237. </property>
  238. <property name="maximum">
  239. <number>65535</number>
  240. </property>
  241. <property name="value">
  242. <number>3030</number>
  243. </property>
  244. </widget>
  245. </item>
  246. <item row="20" column="1" colspan="9">
  247. <widget class="QPlainTextEdit" name="plainTextEditRepos">
  248. <property name="lineWrapMode">
  249. <enum>QPlainTextEdit::NoWrap</enum>
  250. </property>
  251. <property name="plainText">
  252. <string>http://downloads.vcmi.eu/Mods/repository.json</string>
  253. </property>
  254. </widget>
  255. </item>
  256. <item row="2" column="9">
  257. <widget class="QPushButton" name="openUserDataDir">
  258. <property name="text">
  259. <string>Open</string>
  260. </property>
  261. </widget>
  262. </item>
  263. <item row="13" column="1">
  264. <widget class="QLabel" name="labelFriendlyAI">
  265. <property name="minimumSize">
  266. <size>
  267. <width>0</width>
  268. <height>22</height>
  269. </size>
  270. </property>
  271. <property name="text">
  272. <string>Friendly AI</string>
  273. </property>
  274. </widget>
  275. </item>
  276. <item row="9" column="1">
  277. <widget class="QLabel" name="labelPlayerAI">
  278. <property name="text">
  279. <string>Player AI</string>
  280. </property>
  281. </widget>
  282. </item>
  283. <item row="14" column="4">
  284. <widget class="QComboBox" name="comboBoxEnemyAI">
  285. <property name="editable">
  286. <bool>false</bool>
  287. </property>
  288. <property name="currentText">
  289. <string>BattleAI</string>
  290. </property>
  291. <item>
  292. <property name="text">
  293. <string>BattleAI</string>
  294. </property>
  295. </item>
  296. <item>
  297. <property name="text">
  298. <string>StupidAI</string>
  299. </property>
  300. </item>
  301. </widget>
  302. </item>
  303. <item row="2" column="1">
  304. <widget class="QLabel" name="labelFullScreen">
  305. <property name="text">
  306. <string>Fullscreen</string>
  307. </property>
  308. </widget>
  309. </item>
  310. <item row="7" column="1" colspan="4">
  311. <spacer name="spacerSections">
  312. <property name="orientation">
  313. <enum>Qt::Vertical</enum>
  314. </property>
  315. <property name="sizeType">
  316. <enum>QSizePolicy::Fixed</enum>
  317. </property>
  318. <property name="sizeHint" stdset="0">
  319. <size>
  320. <width>56</width>
  321. <height>8</height>
  322. </size>
  323. </property>
  324. </spacer>
  325. </item>
  326. <item row="1" column="7">
  327. <widget class="QLineEdit" name="lineEditGameDir">
  328. <property name="minimumSize">
  329. <size>
  330. <width>150</width>
  331. <height>0</height>
  332. </size>
  333. </property>
  334. <property name="text">
  335. <string>/usr/share/vcmi</string>
  336. </property>
  337. </widget>
  338. </item>
  339. <item row="1" column="6">
  340. <widget class="QLabel" name="labelGameDir">
  341. <property name="text">
  342. <string>Extra data directory</string>
  343. </property>
  344. </widget>
  345. </item>
  346. <item row="2" column="7" colspan="2">
  347. <widget class="QLineEdit" name="lineEditUserDataDir">
  348. <property name="enabled">
  349. <bool>false</bool>
  350. </property>
  351. <property name="minimumSize">
  352. <size>
  353. <width>150</width>
  354. <height>0</height>
  355. </size>
  356. </property>
  357. <property name="text">
  358. <string>/home/user/.vcmi</string>
  359. </property>
  360. <property name="readOnly">
  361. <bool>true</bool>
  362. </property>
  363. </widget>
  364. </item>
  365. <item row="2" column="4">
  366. <widget class="QComboBox" name="comboBoxFullScreen">
  367. <property name="currentIndex">
  368. <number>0</number>
  369. </property>
  370. <item>
  371. <property name="text">
  372. <string>Off</string>
  373. </property>
  374. </item>
  375. <item>
  376. <property name="text">
  377. <string>On</string>
  378. </property>
  379. </item>
  380. </widget>
  381. </item>
  382. <item row="8" column="1" colspan="4">
  383. <widget class="QLabel" name="labelAIMovingOnTheMap">
  384. <property name="font">
  385. <font>
  386. <weight>75</weight>
  387. <bold>true</bold>
  388. </font>
  389. </property>
  390. <property name="text">
  391. <string>AI on the map</string>
  392. </property>
  393. </widget>
  394. </item>
  395. <item row="3" column="4">
  396. <widget class="QComboBox" name="comboBoxShowIntro">
  397. <property name="currentIndex">
  398. <number>1</number>
  399. </property>
  400. <item>
  401. <property name="text">
  402. <string>Off</string>
  403. </property>
  404. </item>
  405. <item>
  406. <property name="text">
  407. <string>On</string>
  408. </property>
  409. </item>
  410. </widget>
  411. </item>
  412. <item row="16" column="1" colspan="4">
  413. <widget class="QLabel" name="LauncherSettings">
  414. <property name="font">
  415. <font>
  416. <weight>75</weight>
  417. <bold>true</bold>
  418. </font>
  419. </property>
  420. <property name="text">
  421. <string>Launcher Settings</string>
  422. </property>
  423. </widget>
  424. </item>
  425. <item row="9" column="6">
  426. <widget class="QLabel" name="labelNetworkPort">
  427. <property name="text">
  428. <string>Network port</string>
  429. </property>
  430. </widget>
  431. </item>
  432. <item row="1" column="4">
  433. <widget class="QComboBox" name="comboBoxResolution">
  434. <property name="maxVisibleItems">
  435. <number>11</number>
  436. </property>
  437. <item>
  438. <property name="text">
  439. <string>800x600</string>
  440. </property>
  441. </item>
  442. <item>
  443. <property name="text">
  444. <string>1024x600</string>
  445. </property>
  446. </item>
  447. <item>
  448. <property name="text">
  449. <string>1024x768</string>
  450. </property>
  451. </item>
  452. <item>
  453. <property name="text">
  454. <string>1181x664</string>
  455. </property>
  456. </item>
  457. <item>
  458. <property name="text">
  459. <string>1280x720</string>
  460. </property>
  461. </item>
  462. <item>
  463. <property name="text">
  464. <string>1280x768</string>
  465. </property>
  466. </item>
  467. <item>
  468. <property name="text">
  469. <string>1280x800</string>
  470. </property>
  471. </item>
  472. <item>
  473. <property name="text">
  474. <string>1280x960</string>
  475. </property>
  476. </item>
  477. <item>
  478. <property name="text">
  479. <string>1280x1024</string>
  480. </property>
  481. </item>
  482. <item>
  483. <property name="text">
  484. <string>1366x768</string>
  485. </property>
  486. </item>
  487. <item>
  488. <property name="text">
  489. <string>1440x900</string>
  490. </property>
  491. </item>
  492. <item>
  493. <property name="text">
  494. <string>1600x1200</string>
  495. </property>
  496. </item>
  497. <item>
  498. <property name="text">
  499. <string>1680x1050</string>
  500. </property>
  501. </item>
  502. <item>
  503. <property name="text">
  504. <string>1920x1080</string>
  505. </property>
  506. </item>
  507. </widget>
  508. </item>
  509. <item row="15" column="1" colspan="4">
  510. <spacer name="spacerRepos">
  511. <property name="orientation">
  512. <enum>Qt::Vertical</enum>
  513. </property>
  514. <property name="sizeType">
  515. <enum>QSizePolicy::Fixed</enum>
  516. </property>
  517. <property name="sizeHint" stdset="0">
  518. <size>
  519. <width>20</width>
  520. <height>8</height>
  521. </size>
  522. </property>
  523. </spacer>
  524. </item>
  525. <item row="13" column="4">
  526. <widget class="QComboBox" name="comboBoxFriendlyAI">
  527. <property name="editable">
  528. <bool>false</bool>
  529. </property>
  530. <property name="currentText">
  531. <string>BattleAI</string>
  532. </property>
  533. <item>
  534. <property name="text">
  535. <string>BattleAI</string>
  536. </property>
  537. </item>
  538. <item>
  539. <property name="text">
  540. <string>StupidAI</string>
  541. </property>
  542. </item>
  543. </widget>
  544. </item>
  545. <item row="10" column="7" colspan="3">
  546. <widget class="QComboBox" name="comboBoxEncoding">
  547. <item>
  548. <property name="text">
  549. <string>Central European (Windows 1250)</string>
  550. </property>
  551. </item>
  552. <item>
  553. <property name="text">
  554. <string>Cyrillic script (Windows 1251)</string>
  555. </property>
  556. </item>
  557. <item>
  558. <property name="text">
  559. <string>Western European (Windows 1252)</string>
  560. </property>
  561. </item>
  562. <item>
  563. <property name="text">
  564. <string>Simplified Chinese (GBK)</string>
  565. </property>
  566. </item>
  567. <item>
  568. <property name="text">
  569. <string>Simplified Chinese (GB2312)</string>
  570. </property>
  571. </item>
  572. <item>
  573. <property name="text">
  574. <string>Korean (Windows 949)</string>
  575. </property>
  576. </item>
  577. </widget>
  578. </item>
  579. <item row="10" column="1">
  580. <widget class="QLabel" name="labelAIInTheBattlefield">
  581. <property name="font">
  582. <font>
  583. <weight>75</weight>
  584. <italic>true</italic>
  585. <bold>true</bold>
  586. <underline>false</underline>
  587. </font>
  588. </property>
  589. <property name="text">
  590. <string>AI in the battlefield</string>
  591. </property>
  592. </widget>
  593. </item>
  594. <item row="11" column="5">
  595. <spacer name="spacerColumns">
  596. <property name="orientation">
  597. <enum>Qt::Horizontal</enum>
  598. </property>
  599. <property name="sizeType">
  600. <enum>QSizePolicy::Fixed</enum>
  601. </property>
  602. <property name="sizeHint" stdset="0">
  603. <size>
  604. <width>8</width>
  605. <height>20</height>
  606. </size>
  607. </property>
  608. </spacer>
  609. </item>
  610. <item row="10" column="6">
  611. <widget class="QLabel" name="labelEncoding">
  612. <property name="text">
  613. <string>Heroes III character set</string>
  614. </property>
  615. </widget>
  616. </item>
  617. <item row="11" column="1">
  618. <widget class="QLabel" name="labelNeutralAI">
  619. <property name="text">
  620. <string>Neutral AI</string>
  621. </property>
  622. </widget>
  623. </item>
  624. <item row="5" column="1">
  625. <widget class="QCheckBox" name="checkBoxFullScreen">
  626. <property name="text">
  627. <string>Real fullscreen mode</string>
  628. </property>
  629. </widget>
  630. </item>
  631. <item row="11" column="6">
  632. <widget class="QLabel" name="labelAutoSave">
  633. <property name="text">
  634. <string>Autosave</string>
  635. </property>
  636. </widget>
  637. </item>
  638. <item row="11" column="7">
  639. <widget class="QComboBox" name="comboBoxAutoSave">
  640. <property name="currentIndex">
  641. <number>1</number>
  642. </property>
  643. <item>
  644. <property name="text">
  645. <string>Off</string>
  646. </property>
  647. </item>
  648. <item>
  649. <property name="text">
  650. <string>On</string>
  651. </property>
  652. </item>
  653. </widget>
  654. </item>
  655. </layout>
  656. </widget>
  657. <resources/>
  658. <connections/>
  659. </ui>