cmodlistview_moc.ui 16 KB

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