cmodlistview_moc.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>CModListView</class>
  4. <widget class="QWidget" name="CModListView">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>596</width>
  10. <height>342</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout_3">
  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. <property name="verticalSpacing">
  30. <number>3</number>
  31. </property>
  32. <item row="0" column="0">
  33. <layout class="QGridLayout" name="gridLayout_2">
  34. <property name="spacing">
  35. <number>6</number>
  36. </property>
  37. <item row="0" column="0">
  38. <widget class="QLineEdit" name="lineEdit">
  39. <property name="sizePolicy">
  40. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  41. <horstretch>0</horstretch>
  42. <verstretch>0</verstretch>
  43. </sizepolicy>
  44. </property>
  45. <property name="minimumSize">
  46. <size>
  47. <width>0</width>
  48. <height>0</height>
  49. </size>
  50. </property>
  51. <property name="maximumSize">
  52. <size>
  53. <width>16777215</width>
  54. <height>16777215</height>
  55. </size>
  56. </property>
  57. <property name="text">
  58. <string/>
  59. </property>
  60. <property name="placeholderText">
  61. <string>Filter</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="0" column="1">
  66. <widget class="QComboBox" name="comboBox">
  67. <property name="sizePolicy">
  68. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  69. <horstretch>0</horstretch>
  70. <verstretch>0</verstretch>
  71. </sizepolicy>
  72. </property>
  73. <property name="maximumSize">
  74. <size>
  75. <width>16777215</width>
  76. <height>16777215</height>
  77. </size>
  78. </property>
  79. <property name="currentIndex">
  80. <number>0</number>
  81. </property>
  82. <item>
  83. <property name="text">
  84. <string>All mods</string>
  85. </property>
  86. </item>
  87. <item>
  88. <property name="text">
  89. <string>Downloadable</string>
  90. </property>
  91. </item>
  92. <item>
  93. <property name="text">
  94. <string>Installed</string>
  95. </property>
  96. </item>
  97. <item>
  98. <property name="text">
  99. <string>Updatable</string>
  100. </property>
  101. </item>
  102. <item>
  103. <property name="text">
  104. <string>Active</string>
  105. </property>
  106. </item>
  107. <item>
  108. <property name="text">
  109. <string>Inactive</string>
  110. </property>
  111. </item>
  112. </widget>
  113. </item>
  114. <item row="1" column="0" colspan="2">
  115. <widget class="QTreeView" name="allModsView">
  116. <property name="selectionMode">
  117. <enum>QAbstractItemView::SingleSelection</enum>
  118. </property>
  119. <property name="selectionBehavior">
  120. <enum>QAbstractItemView::SelectRows</enum>
  121. </property>
  122. <property name="iconSize">
  123. <size>
  124. <width>32</width>
  125. <height>32</height>
  126. </size>
  127. </property>
  128. <property name="verticalScrollMode">
  129. <enum>QAbstractItemView::ScrollPerItem</enum>
  130. </property>
  131. <property name="horizontalScrollMode">
  132. <enum>QAbstractItemView::ScrollPerPixel</enum>
  133. </property>
  134. <property name="sortingEnabled">
  135. <bool>true</bool>
  136. </property>
  137. <property name="expandsOnDoubleClick">
  138. <bool>false</bool>
  139. </property>
  140. </widget>
  141. </item>
  142. </layout>
  143. </item>
  144. <item row="0" column="1">
  145. <widget class="QToolButton" name="hideModInfoButton">
  146. <property name="sizePolicy">
  147. <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
  148. <horstretch>0</horstretch>
  149. <verstretch>0</verstretch>
  150. </sizepolicy>
  151. </property>
  152. <property name="maximumSize">
  153. <size>
  154. <width>16</width>
  155. <height>100</height>
  156. </size>
  157. </property>
  158. <property name="text">
  159. <string/>
  160. </property>
  161. <property name="autoRaise">
  162. <bool>true</bool>
  163. </property>
  164. <property name="arrowType">
  165. <enum>Qt::RightArrow</enum>
  166. </property>
  167. </widget>
  168. </item>
  169. <item row="0" column="2">
  170. <widget class="QWidget" name="modInfoWidget" native="true">
  171. <property name="sizePolicy">
  172. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  173. <horstretch>0</horstretch>
  174. <verstretch>0</verstretch>
  175. </sizepolicy>
  176. </property>
  177. <property name="minimumSize">
  178. <size>
  179. <width>0</width>
  180. <height>0</height>
  181. </size>
  182. </property>
  183. <property name="maximumSize">
  184. <size>
  185. <width>16777215</width>
  186. <height>16777215</height>
  187. </size>
  188. </property>
  189. <property name="layoutDirection">
  190. <enum>Qt::LeftToRight</enum>
  191. </property>
  192. <property name="autoFillBackground">
  193. <bool>false</bool>
  194. </property>
  195. <layout class="QGridLayout" name="gridLayout">
  196. <property name="leftMargin">
  197. <number>0</number>
  198. </property>
  199. <property name="topMargin">
  200. <number>0</number>
  201. </property>
  202. <property name="rightMargin">
  203. <number>0</number>
  204. </property>
  205. <property name="bottomMargin">
  206. <number>0</number>
  207. </property>
  208. <item row="0" column="0" colspan="6">
  209. <widget class="QTabWidget" name="tabWidget">
  210. <property name="currentIndex">
  211. <number>0</number>
  212. </property>
  213. <widget class="QWidget" name="tabInfo">
  214. <attribute name="title">
  215. <string>Description</string>
  216. </attribute>
  217. <layout class="QGridLayout" name="gridLayout_4">
  218. <property name="leftMargin">
  219. <number>4</number>
  220. </property>
  221. <property name="topMargin">
  222. <number>4</number>
  223. </property>
  224. <property name="rightMargin">
  225. <number>4</number>
  226. </property>
  227. <property name="bottomMargin">
  228. <number>4</number>
  229. </property>
  230. <item row="0" column="0">
  231. <widget class="QTextBrowser" name="modInfoBrowser">
  232. <property name="sizePolicy">
  233. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  234. <horstretch>0</horstretch>
  235. <verstretch>0</verstretch>
  236. </sizepolicy>
  237. </property>
  238. <property name="readOnly">
  239. <bool>true</bool>
  240. </property>
  241. <property name="html">
  242. <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;
  243. &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;
  244. p, li { white-space: pre-wrap; }
  245. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  246. &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:11pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  247. </property>
  248. <property name="openExternalLinks">
  249. <bool>true</bool>
  250. </property>
  251. <property name="openLinks">
  252. <bool>true</bool>
  253. </property>
  254. </widget>
  255. </item>
  256. </layout>
  257. </widget>
  258. <widget class="QWidget" name="tabChangelog">
  259. <attribute name="title">
  260. <string>Changelog</string>
  261. </attribute>
  262. <layout class="QGridLayout" name="gridLayout_5">
  263. <property name="leftMargin">
  264. <number>4</number>
  265. </property>
  266. <property name="topMargin">
  267. <number>4</number>
  268. </property>
  269. <property name="rightMargin">
  270. <number>4</number>
  271. </property>
  272. <property name="bottomMargin">
  273. <number>4</number>
  274. </property>
  275. <item row="0" column="0">
  276. <widget class="QTextBrowser" name="changelogBrowser"/>
  277. </item>
  278. </layout>
  279. </widget>
  280. <widget class="QWidget" name="tabScreenshots">
  281. <attribute name="title">
  282. <string>Screenshots</string>
  283. </attribute>
  284. <layout class="QGridLayout" name="gridLayout_6">
  285. <property name="leftMargin">
  286. <number>4</number>
  287. </property>
  288. <property name="topMargin">
  289. <number>4</number>
  290. </property>
  291. <property name="rightMargin">
  292. <number>4</number>
  293. </property>
  294. <property name="bottomMargin">
  295. <number>4</number>
  296. </property>
  297. <item row="0" column="0">
  298. <widget class="QListWidget" name="screenshotsList">
  299. <property name="horizontalScrollBarPolicy">
  300. <enum>Qt::ScrollBarAlwaysOff</enum>
  301. </property>
  302. <property name="selectionMode">
  303. <enum>QAbstractItemView::NoSelection</enum>
  304. </property>
  305. <property name="selectionBehavior">
  306. <enum>QAbstractItemView::SelectRows</enum>
  307. </property>
  308. <property name="iconSize">
  309. <size>
  310. <width>240</width>
  311. <height>180</height>
  312. </size>
  313. </property>
  314. <property name="viewMode">
  315. <enum>QListView::IconMode</enum>
  316. </property>
  317. <property name="uniformItemSizes">
  318. <bool>true</bool>
  319. </property>
  320. </widget>
  321. </item>
  322. </layout>
  323. </widget>
  324. </widget>
  325. </item>
  326. </layout>
  327. </widget>
  328. </item>
  329. <item row="2" column="0" colspan="3">
  330. <layout class="QHBoxLayout" name="horizontalLayout_2">
  331. <property name="spacing">
  332. <number>6</number>
  333. </property>
  334. <item>
  335. <widget class="QPushButton" name="showInfoButton">
  336. <property name="sizePolicy">
  337. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  338. <horstretch>0</horstretch>
  339. <verstretch>0</verstretch>
  340. </sizepolicy>
  341. </property>
  342. <property name="minimumSize">
  343. <size>
  344. <width>51</width>
  345. <height>0</height>
  346. </size>
  347. </property>
  348. <property name="maximumSize">
  349. <size>
  350. <width>100</width>
  351. <height>16777215</height>
  352. </size>
  353. </property>
  354. <property name="text">
  355. <string>Show details</string>
  356. </property>
  357. </widget>
  358. </item>
  359. <item>
  360. <spacer name="modButtonSpacer">
  361. <property name="orientation">
  362. <enum>Qt::Horizontal</enum>
  363. </property>
  364. <property name="sizeType">
  365. <enum>QSizePolicy::MinimumExpanding</enum>
  366. </property>
  367. <property name="sizeHint" stdset="0">
  368. <size>
  369. <width>0</width>
  370. <height>0</height>
  371. </size>
  372. </property>
  373. </spacer>
  374. </item>
  375. <item>
  376. <widget class="QPushButton" name="enableButton">
  377. <property name="sizePolicy">
  378. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  379. <horstretch>0</horstretch>
  380. <verstretch>0</verstretch>
  381. </sizepolicy>
  382. </property>
  383. <property name="minimumSize">
  384. <size>
  385. <width>51</width>
  386. <height>0</height>
  387. </size>
  388. </property>
  389. <property name="maximumSize">
  390. <size>
  391. <width>100</width>
  392. <height>16777215</height>
  393. </size>
  394. </property>
  395. <property name="text">
  396. <string>Enable</string>
  397. </property>
  398. </widget>
  399. </item>
  400. <item>
  401. <widget class="QPushButton" name="disableButton">
  402. <property name="sizePolicy">
  403. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  404. <horstretch>0</horstretch>
  405. <verstretch>0</verstretch>
  406. </sizepolicy>
  407. </property>
  408. <property name="minimumSize">
  409. <size>
  410. <width>51</width>
  411. <height>0</height>
  412. </size>
  413. </property>
  414. <property name="maximumSize">
  415. <size>
  416. <width>100</width>
  417. <height>16777215</height>
  418. </size>
  419. </property>
  420. <property name="text">
  421. <string>Disable</string>
  422. </property>
  423. </widget>
  424. </item>
  425. <item>
  426. <widget class="QPushButton" name="updateButton">
  427. <property name="sizePolicy">
  428. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  429. <horstretch>0</horstretch>
  430. <verstretch>0</verstretch>
  431. </sizepolicy>
  432. </property>
  433. <property name="minimumSize">
  434. <size>
  435. <width>51</width>
  436. <height>0</height>
  437. </size>
  438. </property>
  439. <property name="maximumSize">
  440. <size>
  441. <width>100</width>
  442. <height>16777215</height>
  443. </size>
  444. </property>
  445. <property name="text">
  446. <string>Update</string>
  447. </property>
  448. </widget>
  449. </item>
  450. <item>
  451. <widget class="QPushButton" name="uninstallButton">
  452. <property name="sizePolicy">
  453. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  454. <horstretch>0</horstretch>
  455. <verstretch>0</verstretch>
  456. </sizepolicy>
  457. </property>
  458. <property name="minimumSize">
  459. <size>
  460. <width>51</width>
  461. <height>0</height>
  462. </size>
  463. </property>
  464. <property name="maximumSize">
  465. <size>
  466. <width>100</width>
  467. <height>16777215</height>
  468. </size>
  469. </property>
  470. <property name="text">
  471. <string>Uninstall</string>
  472. </property>
  473. </widget>
  474. </item>
  475. <item>
  476. <widget class="QPushButton" name="installButton">
  477. <property name="sizePolicy">
  478. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  479. <horstretch>0</horstretch>
  480. <verstretch>0</verstretch>
  481. </sizepolicy>
  482. </property>
  483. <property name="minimumSize">
  484. <size>
  485. <width>51</width>
  486. <height>0</height>
  487. </size>
  488. </property>
  489. <property name="maximumSize">
  490. <size>
  491. <width>100</width>
  492. <height>16777215</height>
  493. </size>
  494. </property>
  495. <property name="text">
  496. <string>Install</string>
  497. </property>
  498. </widget>
  499. </item>
  500. </layout>
  501. </item>
  502. <item row="1" column="0" colspan="3">
  503. <widget class="QWidget" name="progressWidget" native="true">
  504. <property name="enabled">
  505. <bool>true</bool>
  506. </property>
  507. <property name="sizePolicy">
  508. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  509. <horstretch>0</horstretch>
  510. <verstretch>0</verstretch>
  511. </sizepolicy>
  512. </property>
  513. <property name="minimumSize">
  514. <size>
  515. <width>0</width>
  516. <height>0</height>
  517. </size>
  518. </property>
  519. <layout class="QHBoxLayout" name="horizontalLayout">
  520. <property name="leftMargin">
  521. <number>9</number>
  522. </property>
  523. <property name="topMargin">
  524. <number>6</number>
  525. </property>
  526. <property name="bottomMargin">
  527. <number>6</number>
  528. </property>
  529. <item>
  530. <widget class="QProgressBar" name="progressBar">
  531. <property name="sizePolicy">
  532. <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
  533. <horstretch>0</horstretch>
  534. <verstretch>0</verstretch>
  535. </sizepolicy>
  536. </property>
  537. <property name="maximum">
  538. <number>0</number>
  539. </property>
  540. <property name="value">
  541. <number>0</number>
  542. </property>
  543. <property name="textVisible">
  544. <bool>true</bool>
  545. </property>
  546. <property name="invertedAppearance">
  547. <bool>false</bool>
  548. </property>
  549. <property name="format">
  550. <string> %p% (%v KB out of %m KB)</string>
  551. </property>
  552. </widget>
  553. </item>
  554. <item>
  555. <widget class="QPushButton" name="pushButton">
  556. <property name="sizePolicy">
  557. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  558. <horstretch>0</horstretch>
  559. <verstretch>0</verstretch>
  560. </sizepolicy>
  561. </property>
  562. <property name="text">
  563. <string>Abort</string>
  564. </property>
  565. </widget>
  566. </item>
  567. </layout>
  568. </widget>
  569. </item>
  570. </layout>
  571. </widget>
  572. <tabstops>
  573. <tabstop>lineEdit</tabstop>
  574. <tabstop>comboBox</tabstop>
  575. <tabstop>allModsView</tabstop>
  576. <tabstop>hideModInfoButton</tabstop>
  577. </tabstops>
  578. <resources/>
  579. <connections/>
  580. </ui>