cmodlistview_moc.ui 15 KB

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