questwidget.ui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>QuestWidget</class>
  4. <widget class="QDialog" name="QuestWidget">
  5. <property name="windowModality">
  6. <enum>Qt::NonModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>531</width>
  13. <height>495</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Mission goal</string>
  18. </property>
  19. <property name="modal">
  20. <bool>true</bool>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout_2">
  23. <item>
  24. <layout class="QHBoxLayout" name="horizontalLayout_8">
  25. <item>
  26. <widget class="QLabel" name="label_7">
  27. <property name="text">
  28. <string>Day of week</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item>
  33. <widget class="QComboBox" name="lDayOfWeek">
  34. <property name="minimumSize">
  35. <size>
  36. <width>120</width>
  37. <height>0</height>
  38. </size>
  39. </property>
  40. </widget>
  41. </item>
  42. <item>
  43. <widget class="QLabel" name="label_8">
  44. <property name="text">
  45. <string>Days passed</string>
  46. </property>
  47. </widget>
  48. </item>
  49. <item>
  50. <widget class="QSpinBox" name="lDaysPassed">
  51. <property name="minimumSize">
  52. <size>
  53. <width>20</width>
  54. <height>0</height>
  55. </size>
  56. </property>
  57. </widget>
  58. </item>
  59. <item>
  60. <spacer name="horizontalSpacer_3">
  61. <property name="orientation">
  62. <enum>Qt::Horizontal</enum>
  63. </property>
  64. <property name="sizeHint" stdset="0">
  65. <size>
  66. <width>40</width>
  67. <height>20</height>
  68. </size>
  69. </property>
  70. </spacer>
  71. </item>
  72. </layout>
  73. </item>
  74. <item>
  75. <layout class="QHBoxLayout" name="horizontalLayout_10">
  76. <item>
  77. <widget class="QLabel" name="label_14">
  78. <property name="text">
  79. <string>Hero level</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="QSpinBox" name="lHeroLevel">
  85. <property name="minimumSize">
  86. <size>
  87. <width>40</width>
  88. <height>0</height>
  89. </size>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <widget class="QLabel" name="label_15">
  95. <property name="text">
  96. <string>Hero experience</string>
  97. </property>
  98. </widget>
  99. </item>
  100. <item>
  101. <widget class="QSpinBox" name="lHeroExperience">
  102. <property name="minimumSize">
  103. <size>
  104. <width>80</width>
  105. <height>0</height>
  106. </size>
  107. </property>
  108. <property name="maximum">
  109. <number>100000</number>
  110. </property>
  111. <property name="singleStep">
  112. <number>100</number>
  113. </property>
  114. </widget>
  115. </item>
  116. <item>
  117. <spacer name="horizontalSpacer_4">
  118. <property name="orientation">
  119. <enum>Qt::Horizontal</enum>
  120. </property>
  121. <property name="sizeHint" stdset="0">
  122. <size>
  123. <width>40</width>
  124. <height>20</height>
  125. </size>
  126. </property>
  127. </spacer>
  128. </item>
  129. </layout>
  130. </item>
  131. <item>
  132. <layout class="QHBoxLayout" name="horizontalLayout_9">
  133. <item>
  134. <widget class="QLabel" name="label_9">
  135. <property name="text">
  136. <string>Spell points</string>
  137. </property>
  138. </widget>
  139. </item>
  140. <item>
  141. <widget class="QSpinBox" name="lManaPoints">
  142. <property name="minimumSize">
  143. <size>
  144. <width>60</width>
  145. <height>0</height>
  146. </size>
  147. </property>
  148. <property name="maximum">
  149. <number>999</number>
  150. </property>
  151. </widget>
  152. </item>
  153. <item>
  154. <widget class="QSpinBox" name="lManaPercentage">
  155. <property name="suffix">
  156. <string>%</string>
  157. </property>
  158. <property name="maximum">
  159. <number>100</number>
  160. </property>
  161. </widget>
  162. </item>
  163. <item>
  164. <spacer name="horizontalSpacer">
  165. <property name="orientation">
  166. <enum>Qt::Horizontal</enum>
  167. </property>
  168. <property name="sizeHint" stdset="0">
  169. <size>
  170. <width>40</width>
  171. <height>20</height>
  172. </size>
  173. </property>
  174. </spacer>
  175. </item>
  176. </layout>
  177. </item>
  178. <item>
  179. <layout class="QHBoxLayout" name="horizontalLayout_14">
  180. <item>
  181. <widget class="QLabel" name="label">
  182. <property name="text">
  183. <string>Kill hero/monster</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <widget class="QLineEdit" name="lKillTarget">
  189. <property name="readOnly">
  190. <bool>true</bool>
  191. </property>
  192. </widget>
  193. </item>
  194. <item>
  195. <widget class="QToolButton" name="lKillTargetSelect">
  196. <property name="text">
  197. <string>...</string>
  198. </property>
  199. </widget>
  200. </item>
  201. </layout>
  202. </item>
  203. <item>
  204. <widget class="QGroupBox" name="groupBox_3">
  205. <property name="title">
  206. <string>Primary skills</string>
  207. </property>
  208. <layout class="QHBoxLayout" name="horizontalLayout">
  209. <property name="leftMargin">
  210. <number>12</number>
  211. </property>
  212. <property name="topMargin">
  213. <number>3</number>
  214. </property>
  215. <property name="bottomMargin">
  216. <number>3</number>
  217. </property>
  218. <item>
  219. <widget class="QLabel" name="label_10">
  220. <property name="text">
  221. <string>Attack</string>
  222. </property>
  223. </widget>
  224. </item>
  225. <item>
  226. <widget class="QSpinBox" name="lAttack"/>
  227. </item>
  228. <item>
  229. <widget class="QLabel" name="label_11">
  230. <property name="text">
  231. <string>Defence</string>
  232. </property>
  233. </widget>
  234. </item>
  235. <item>
  236. <widget class="QSpinBox" name="lDefence"/>
  237. </item>
  238. <item>
  239. <widget class="QLabel" name="label_12">
  240. <property name="text">
  241. <string>Spell power</string>
  242. </property>
  243. </widget>
  244. </item>
  245. <item>
  246. <widget class="QSpinBox" name="lPower"/>
  247. </item>
  248. <item>
  249. <widget class="QLabel" name="label_13">
  250. <property name="text">
  251. <string>Knowledge</string>
  252. </property>
  253. </widget>
  254. </item>
  255. <item>
  256. <widget class="QSpinBox" name="lKnowledge"/>
  257. </item>
  258. </layout>
  259. </widget>
  260. </item>
  261. <item>
  262. <widget class="QTabWidget" name="tabWidget_2">
  263. <property name="layoutDirection">
  264. <enum>Qt::LeftToRight</enum>
  265. </property>
  266. <property name="tabPosition">
  267. <enum>QTabWidget::North</enum>
  268. </property>
  269. <property name="tabShape">
  270. <enum>QTabWidget::Rounded</enum>
  271. </property>
  272. <property name="currentIndex">
  273. <number>0</number>
  274. </property>
  275. <property name="elideMode">
  276. <enum>Qt::ElideNone</enum>
  277. </property>
  278. <property name="usesScrollButtons">
  279. <bool>true</bool>
  280. </property>
  281. <property name="documentMode">
  282. <bool>false</bool>
  283. </property>
  284. <property name="tabBarAutoHide">
  285. <bool>true</bool>
  286. </property>
  287. <widget class="QWidget" name="tab_3">
  288. <attribute name="title">
  289. <string>Resources</string>
  290. </attribute>
  291. <layout class="QHBoxLayout" name="horizontalLayout_2">
  292. <property name="leftMargin">
  293. <number>3</number>
  294. </property>
  295. <property name="topMargin">
  296. <number>3</number>
  297. </property>
  298. <property name="rightMargin">
  299. <number>3</number>
  300. </property>
  301. <property name="bottomMargin">
  302. <number>3</number>
  303. </property>
  304. <item>
  305. <widget class="QTableWidget" name="lResources">
  306. <property name="editTriggers">
  307. <set>QAbstractItemView::NoEditTriggers</set>
  308. </property>
  309. <property name="selectionMode">
  310. <enum>QAbstractItemView::NoSelection</enum>
  311. </property>
  312. <property name="columnCount">
  313. <number>2</number>
  314. </property>
  315. <attribute name="horizontalHeaderVisible">
  316. <bool>false</bool>
  317. </attribute>
  318. <attribute name="horizontalHeaderDefaultSectionSize">
  319. <number>180</number>
  320. </attribute>
  321. <attribute name="horizontalHeaderStretchLastSection">
  322. <bool>true</bool>
  323. </attribute>
  324. <attribute name="verticalHeaderVisible">
  325. <bool>false</bool>
  326. </attribute>
  327. <attribute name="verticalHeaderDefaultSectionSize">
  328. <number>24</number>
  329. </attribute>
  330. <column/>
  331. <column/>
  332. </widget>
  333. </item>
  334. </layout>
  335. </widget>
  336. <widget class="QWidget" name="tab_4">
  337. <attribute name="title">
  338. <string>Artifacts</string>
  339. </attribute>
  340. <layout class="QHBoxLayout" name="horizontalLayout_3">
  341. <property name="leftMargin">
  342. <number>3</number>
  343. </property>
  344. <property name="topMargin">
  345. <number>3</number>
  346. </property>
  347. <property name="rightMargin">
  348. <number>3</number>
  349. </property>
  350. <property name="bottomMargin">
  351. <number>3</number>
  352. </property>
  353. <item>
  354. <widget class="QListWidget" name="lArtifacts">
  355. <property name="editTriggers">
  356. <set>QAbstractItemView::NoEditTriggers</set>
  357. </property>
  358. <property name="selectionMode">
  359. <enum>QAbstractItemView::NoSelection</enum>
  360. </property>
  361. <property name="isWrapping" stdset="0">
  362. <bool>true</bool>
  363. </property>
  364. </widget>
  365. </item>
  366. </layout>
  367. </widget>
  368. <widget class="QWidget" name="tab_5">
  369. <attribute name="title">
  370. <string>Spells</string>
  371. </attribute>
  372. <layout class="QHBoxLayout" name="horizontalLayout_4">
  373. <property name="leftMargin">
  374. <number>3</number>
  375. </property>
  376. <property name="topMargin">
  377. <number>3</number>
  378. </property>
  379. <property name="rightMargin">
  380. <number>3</number>
  381. </property>
  382. <property name="bottomMargin">
  383. <number>3</number>
  384. </property>
  385. <item>
  386. <widget class="QListWidget" name="lSpells">
  387. <property name="editTriggers">
  388. <set>QAbstractItemView::NoEditTriggers</set>
  389. </property>
  390. <property name="selectionMode">
  391. <enum>QAbstractItemView::NoSelection</enum>
  392. </property>
  393. <property name="isWrapping" stdset="0">
  394. <bool>true</bool>
  395. </property>
  396. </widget>
  397. </item>
  398. </layout>
  399. </widget>
  400. <widget class="QWidget" name="tab_7">
  401. <attribute name="title">
  402. <string>Skills</string>
  403. </attribute>
  404. <layout class="QHBoxLayout" name="horizontalLayout_5">
  405. <property name="leftMargin">
  406. <number>3</number>
  407. </property>
  408. <property name="topMargin">
  409. <number>3</number>
  410. </property>
  411. <property name="rightMargin">
  412. <number>3</number>
  413. </property>
  414. <property name="bottomMargin">
  415. <number>3</number>
  416. </property>
  417. <item>
  418. <widget class="QTableWidget" name="lSkills">
  419. <property name="columnCount">
  420. <number>2</number>
  421. </property>
  422. <attribute name="horizontalHeaderVisible">
  423. <bool>false</bool>
  424. </attribute>
  425. <attribute name="horizontalHeaderDefaultSectionSize">
  426. <number>180</number>
  427. </attribute>
  428. <attribute name="verticalHeaderVisible">
  429. <bool>false</bool>
  430. </attribute>
  431. <attribute name="verticalHeaderDefaultSectionSize">
  432. <number>24</number>
  433. </attribute>
  434. <column/>
  435. <column/>
  436. </widget>
  437. </item>
  438. </layout>
  439. </widget>
  440. <widget class="QWidget" name="tab_6">
  441. <attribute name="title">
  442. <string>Creatures</string>
  443. </attribute>
  444. <layout class="QVBoxLayout" name="verticalLayout">
  445. <property name="spacing">
  446. <number>0</number>
  447. </property>
  448. <property name="leftMargin">
  449. <number>3</number>
  450. </property>
  451. <property name="topMargin">
  452. <number>3</number>
  453. </property>
  454. <property name="rightMargin">
  455. <number>3</number>
  456. </property>
  457. <property name="bottomMargin">
  458. <number>3</number>
  459. </property>
  460. <item>
  461. <layout class="QHBoxLayout" name="horizontalLayout_6">
  462. <item>
  463. <widget class="QComboBox" name="lCreatureId">
  464. <property name="sizePolicy">
  465. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  466. <horstretch>0</horstretch>
  467. <verstretch>0</verstretch>
  468. </sizepolicy>
  469. </property>
  470. </widget>
  471. </item>
  472. <item>
  473. <widget class="QSpinBox" name="lCreatureAmount">
  474. <property name="minimumSize">
  475. <size>
  476. <width>60</width>
  477. <height>0</height>
  478. </size>
  479. </property>
  480. <property name="maximum">
  481. <number>9999</number>
  482. </property>
  483. <property name="stepType">
  484. <enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
  485. </property>
  486. </widget>
  487. </item>
  488. <item>
  489. <widget class="QPushButton" name="lCreatureAdd">
  490. <property name="text">
  491. <string>Add</string>
  492. </property>
  493. </widget>
  494. </item>
  495. <item>
  496. <widget class="QPushButton" name="lCreatureRemove">
  497. <property name="text">
  498. <string>Remove</string>
  499. </property>
  500. </widget>
  501. </item>
  502. </layout>
  503. </item>
  504. <item>
  505. <widget class="QTableWidget" name="lCreatures">
  506. <property name="editTriggers">
  507. <set>QAbstractItemView::NoEditTriggers</set>
  508. </property>
  509. <property name="selectionMode">
  510. <enum>QAbstractItemView::MultiSelection</enum>
  511. </property>
  512. <property name="selectionBehavior">
  513. <enum>QAbstractItemView::SelectRows</enum>
  514. </property>
  515. <property name="columnCount">
  516. <number>2</number>
  517. </property>
  518. <attribute name="horizontalHeaderVisible">
  519. <bool>false</bool>
  520. </attribute>
  521. <attribute name="horizontalHeaderDefaultSectionSize">
  522. <number>180</number>
  523. </attribute>
  524. <attribute name="verticalHeaderVisible">
  525. <bool>false</bool>
  526. </attribute>
  527. <attribute name="verticalHeaderDefaultSectionSize">
  528. <number>24</number>
  529. </attribute>
  530. <column/>
  531. <column/>
  532. </widget>
  533. </item>
  534. </layout>
  535. </widget>
  536. <widget class="QWidget" name="tab">
  537. <attribute name="title">
  538. <string>Heroes</string>
  539. </attribute>
  540. <layout class="QHBoxLayout" name="horizontalLayout_12">
  541. <property name="leftMargin">
  542. <number>3</number>
  543. </property>
  544. <property name="topMargin">
  545. <number>3</number>
  546. </property>
  547. <property name="rightMargin">
  548. <number>3</number>
  549. </property>
  550. <property name="bottomMargin">
  551. <number>3</number>
  552. </property>
  553. <item>
  554. <widget class="QListWidget" name="lHeroes">
  555. <property name="editTriggers">
  556. <set>QAbstractItemView::NoEditTriggers</set>
  557. </property>
  558. <property name="selectionMode">
  559. <enum>QAbstractItemView::NoSelection</enum>
  560. </property>
  561. <property name="isWrapping" stdset="0">
  562. <bool>true</bool>
  563. </property>
  564. </widget>
  565. </item>
  566. </layout>
  567. </widget>
  568. <widget class="QWidget" name="tab_2">
  569. <attribute name="title">
  570. <string>Hero classes</string>
  571. </attribute>
  572. <layout class="QHBoxLayout" name="horizontalLayout_11">
  573. <property name="leftMargin">
  574. <number>3</number>
  575. </property>
  576. <property name="topMargin">
  577. <number>3</number>
  578. </property>
  579. <property name="rightMargin">
  580. <number>3</number>
  581. </property>
  582. <property name="bottomMargin">
  583. <number>3</number>
  584. </property>
  585. <item>
  586. <widget class="QListWidget" name="lHeroClasses">
  587. <property name="editTriggers">
  588. <set>QAbstractItemView::NoEditTriggers</set>
  589. </property>
  590. <property name="selectionMode">
  591. <enum>QAbstractItemView::NoSelection</enum>
  592. </property>
  593. <property name="isWrapping" stdset="0">
  594. <bool>true</bool>
  595. </property>
  596. </widget>
  597. </item>
  598. </layout>
  599. </widget>
  600. <widget class="QWidget" name="tab_8">
  601. <attribute name="title">
  602. <string>Players</string>
  603. </attribute>
  604. <layout class="QHBoxLayout" name="horizontalLayout_13">
  605. <property name="leftMargin">
  606. <number>3</number>
  607. </property>
  608. <property name="topMargin">
  609. <number>3</number>
  610. </property>
  611. <property name="rightMargin">
  612. <number>3</number>
  613. </property>
  614. <property name="bottomMargin">
  615. <number>3</number>
  616. </property>
  617. <item>
  618. <widget class="QListWidget" name="lPlayers">
  619. <property name="editTriggers">
  620. <set>QAbstractItemView::NoEditTriggers</set>
  621. </property>
  622. <property name="selectionMode">
  623. <enum>QAbstractItemView::NoSelection</enum>
  624. </property>
  625. <property name="isWrapping" stdset="0">
  626. <bool>true</bool>
  627. </property>
  628. </widget>
  629. </item>
  630. </layout>
  631. </widget>
  632. </widget>
  633. </item>
  634. </layout>
  635. </widget>
  636. <resources/>
  637. <connections/>
  638. </ui>