cmodlistview_moc.ui 16 KB

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