cmodlistview_moc.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  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. <property name="handleWidth">
  123. <number>12</number>
  124. </property>
  125. <widget class="QTreeView" name="allModsView">
  126. <property name="selectionMode">
  127. <enum>QAbstractItemView::SingleSelection</enum>
  128. </property>
  129. <property name="selectionBehavior">
  130. <enum>QAbstractItemView::SelectRows</enum>
  131. </property>
  132. <property name="iconSize">
  133. <size>
  134. <width>24</width>
  135. <height>24</height>
  136. </size>
  137. </property>
  138. <property name="verticalScrollMode">
  139. <enum>QAbstractItemView::ScrollPerItem</enum>
  140. </property>
  141. <property name="horizontalScrollMode">
  142. <enum>QAbstractItemView::ScrollPerPixel</enum>
  143. </property>
  144. <property name="sortingEnabled">
  145. <bool>true</bool>
  146. </property>
  147. <property name="expandsOnDoubleClick">
  148. <bool>false</bool>
  149. </property>
  150. </widget>
  151. <widget class="QTabWidget" name="tabWidget">
  152. <property name="sizePolicy">
  153. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  154. <horstretch>0</horstretch>
  155. <verstretch>0</verstretch>
  156. </sizepolicy>
  157. </property>
  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;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  192. p, li { white-space: pre-wrap; }
  193. hr { height: 1px; border-width: 0; }
  194. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
  195. &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>
  196. </property>
  197. <property name="openExternalLinks">
  198. <bool>true</bool>
  199. </property>
  200. <property name="openLinks">
  201. <bool>true</bool>
  202. </property>
  203. </widget>
  204. </item>
  205. </layout>
  206. </widget>
  207. <widget class="QWidget" name="tabChangelog">
  208. <attribute name="title">
  209. <string>Changelog</string>
  210. </attribute>
  211. <layout class="QGridLayout" name="gridLayout_5">
  212. <property name="leftMargin">
  213. <number>4</number>
  214. </property>
  215. <property name="topMargin">
  216. <number>4</number>
  217. </property>
  218. <property name="rightMargin">
  219. <number>4</number>
  220. </property>
  221. <property name="bottomMargin">
  222. <number>4</number>
  223. </property>
  224. <item row="0" column="0">
  225. <widget class="QTextBrowser" name="changelogBrowser"/>
  226. </item>
  227. </layout>
  228. </widget>
  229. <widget class="QWidget" name="tabScreenshots">
  230. <attribute name="title">
  231. <string>Screenshots</string>
  232. </attribute>
  233. <layout class="QGridLayout" name="gridLayout_6">
  234. <property name="leftMargin">
  235. <number>4</number>
  236. </property>
  237. <property name="topMargin">
  238. <number>4</number>
  239. </property>
  240. <property name="rightMargin">
  241. <number>4</number>
  242. </property>
  243. <property name="bottomMargin">
  244. <number>4</number>
  245. </property>
  246. <item row="0" column="0">
  247. <widget class="QListWidget" name="screenshotsList">
  248. <property name="horizontalScrollBarPolicy">
  249. <enum>Qt::ScrollBarAlwaysOff</enum>
  250. </property>
  251. <property name="selectionMode">
  252. <enum>QAbstractItemView::NoSelection</enum>
  253. </property>
  254. <property name="selectionBehavior">
  255. <enum>QAbstractItemView::SelectRows</enum>
  256. </property>
  257. <property name="iconSize">
  258. <size>
  259. <width>240</width>
  260. <height>180</height>
  261. </size>
  262. </property>
  263. <property name="viewMode">
  264. <enum>QListView::IconMode</enum>
  265. </property>
  266. <property name="uniformItemSizes">
  267. <bool>true</bool>
  268. </property>
  269. </widget>
  270. </item>
  271. </layout>
  272. </widget>
  273. </widget>
  274. </widget>
  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="Minimum">
  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="Minimum">
  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. <widget class="QPushButton" name="installFromFileButton">
  354. <property name="sizePolicy">
  355. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  356. <horstretch>0</horstretch>
  357. <verstretch>0</verstretch>
  358. </sizepolicy>
  359. </property>
  360. <property name="minimumSize">
  361. <size>
  362. <width>51</width>
  363. <height>0</height>
  364. </size>
  365. </property>
  366. <property name="maximumSize">
  367. <size>
  368. <width>170</width>
  369. <height>16777215</height>
  370. </size>
  371. </property>
  372. <property name="text">
  373. <string>Install from file</string>
  374. </property>
  375. <property name="icon">
  376. <iconset>
  377. <normaloff>icons:mod-download.png</normaloff>icons:mod-download.png</iconset>
  378. </property>
  379. <property name="iconSize">
  380. <size>
  381. <width>20</width>
  382. <height>20</height>
  383. </size>
  384. </property>
  385. </widget>
  386. </item>
  387. <item>
  388. <spacer name="modButtonSpacer">
  389. <property name="orientation">
  390. <enum>Qt::Horizontal</enum>
  391. </property>
  392. <property name="sizeType">
  393. <enum>QSizePolicy::MinimumExpanding</enum>
  394. </property>
  395. <property name="sizeHint" stdset="0">
  396. <size>
  397. <width>0</width>
  398. <height>0</height>
  399. </size>
  400. </property>
  401. </spacer>
  402. </item>
  403. <item>
  404. <widget class="QPushButton" name="uninstallButton">
  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>Uninstall</string>
  425. </property>
  426. <property name="iconSize">
  427. <size>
  428. <width>20</width>
  429. <height>20</height>
  430. </size>
  431. </property>
  432. </widget>
  433. </item>
  434. <item>
  435. <widget class="QPushButton" name="enableButton">
  436. <property name="sizePolicy">
  437. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  438. <horstretch>0</horstretch>
  439. <verstretch>0</verstretch>
  440. </sizepolicy>
  441. </property>
  442. <property name="minimumSize">
  443. <size>
  444. <width>51</width>
  445. <height>0</height>
  446. </size>
  447. </property>
  448. <property name="maximumSize">
  449. <size>
  450. <width>140</width>
  451. <height>16777215</height>
  452. </size>
  453. </property>
  454. <property name="text">
  455. <string>Enable</string>
  456. </property>
  457. <property name="iconSize">
  458. <size>
  459. <width>20</width>
  460. <height>20</height>
  461. </size>
  462. </property>
  463. </widget>
  464. </item>
  465. <item>
  466. <widget class="QPushButton" name="disableButton">
  467. <property name="sizePolicy">
  468. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  469. <horstretch>0</horstretch>
  470. <verstretch>0</verstretch>
  471. </sizepolicy>
  472. </property>
  473. <property name="minimumSize">
  474. <size>
  475. <width>51</width>
  476. <height>0</height>
  477. </size>
  478. </property>
  479. <property name="maximumSize">
  480. <size>
  481. <width>140</width>
  482. <height>16777215</height>
  483. </size>
  484. </property>
  485. <property name="text">
  486. <string>Disable</string>
  487. </property>
  488. <property name="iconSize">
  489. <size>
  490. <width>20</width>
  491. <height>20</height>
  492. </size>
  493. </property>
  494. </widget>
  495. </item>
  496. <item>
  497. <widget class="QPushButton" name="updateButton">
  498. <property name="sizePolicy">
  499. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  500. <horstretch>0</horstretch>
  501. <verstretch>0</verstretch>
  502. </sizepolicy>
  503. </property>
  504. <property name="minimumSize">
  505. <size>
  506. <width>51</width>
  507. <height>0</height>
  508. </size>
  509. </property>
  510. <property name="maximumSize">
  511. <size>
  512. <width>140</width>
  513. <height>16777215</height>
  514. </size>
  515. </property>
  516. <property name="text">
  517. <string>Update</string>
  518. </property>
  519. <property name="iconSize">
  520. <size>
  521. <width>20</width>
  522. <height>20</height>
  523. </size>
  524. </property>
  525. </widget>
  526. </item>
  527. <item>
  528. <widget class="QPushButton" name="installButton">
  529. <property name="sizePolicy">
  530. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  531. <horstretch>0</horstretch>
  532. <verstretch>0</verstretch>
  533. </sizepolicy>
  534. </property>
  535. <property name="minimumSize">
  536. <size>
  537. <width>51</width>
  538. <height>0</height>
  539. </size>
  540. </property>
  541. <property name="maximumSize">
  542. <size>
  543. <width>120</width>
  544. <height>16777215</height>
  545. </size>
  546. </property>
  547. <property name="text">
  548. <string>Install</string>
  549. </property>
  550. <property name="iconSize">
  551. <size>
  552. <width>20</width>
  553. <height>20</height>
  554. </size>
  555. </property>
  556. </widget>
  557. </item>
  558. </layout>
  559. </item>
  560. </layout>
  561. </widget>
  562. <resources/>
  563. <connections/>
  564. </ui>