cmodlistview_moc.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  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="1">
  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="2">
  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="0" column="3">
  115. <widget class="QPushButton" name="refreshButton">
  116. <property name="sizePolicy">
  117. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  118. <horstretch>0</horstretch>
  119. <verstretch>0</verstretch>
  120. </sizepolicy>
  121. </property>
  122. <property name="text">
  123. <string>Download &amp;&amp; refresh repositories</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item row="5" column="1" colspan="3">
  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>32</width>
  138. <height>32</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. </item>
  155. </layout>
  156. </item>
  157. <item row="0" column="1">
  158. <widget class="QToolButton" name="hideModInfoButton">
  159. <property name="sizePolicy">
  160. <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
  161. <horstretch>0</horstretch>
  162. <verstretch>0</verstretch>
  163. </sizepolicy>
  164. </property>
  165. <property name="maximumSize">
  166. <size>
  167. <width>16</width>
  168. <height>100</height>
  169. </size>
  170. </property>
  171. <property name="text">
  172. <string/>
  173. </property>
  174. <property name="autoRaise">
  175. <bool>true</bool>
  176. </property>
  177. <property name="arrowType">
  178. <enum>Qt::RightArrow</enum>
  179. </property>
  180. </widget>
  181. </item>
  182. <item row="0" column="2">
  183. <widget class="QWidget" name="modInfoWidget" native="true">
  184. <property name="sizePolicy">
  185. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  186. <horstretch>0</horstretch>
  187. <verstretch>0</verstretch>
  188. </sizepolicy>
  189. </property>
  190. <property name="minimumSize">
  191. <size>
  192. <width>0</width>
  193. <height>0</height>
  194. </size>
  195. </property>
  196. <property name="maximumSize">
  197. <size>
  198. <width>16777215</width>
  199. <height>16777215</height>
  200. </size>
  201. </property>
  202. <property name="layoutDirection">
  203. <enum>Qt::LeftToRight</enum>
  204. </property>
  205. <property name="autoFillBackground">
  206. <bool>false</bool>
  207. </property>
  208. <layout class="QGridLayout" name="gridLayout">
  209. <property name="leftMargin">
  210. <number>0</number>
  211. </property>
  212. <property name="topMargin">
  213. <number>0</number>
  214. </property>
  215. <property name="rightMargin">
  216. <number>0</number>
  217. </property>
  218. <property name="bottomMargin">
  219. <number>0</number>
  220. </property>
  221. <item row="0" column="0" colspan="6">
  222. <widget class="QTabWidget" name="tabWidget">
  223. <property name="currentIndex">
  224. <number>0</number>
  225. </property>
  226. <widget class="QWidget" name="tabInfo">
  227. <attribute name="title">
  228. <string>Description</string>
  229. </attribute>
  230. <layout class="QGridLayout" name="gridLayout_4">
  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="QTextBrowser" name="modInfoBrowser">
  245. <property name="sizePolicy">
  246. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  247. <horstretch>0</horstretch>
  248. <verstretch>0</verstretch>
  249. </sizepolicy>
  250. </property>
  251. <property name="readOnly">
  252. <bool>true</bool>
  253. </property>
  254. <property name="html">
  255. <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;
  256. &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;
  257. p, li { white-space: pre-wrap; }
  258. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
  259. &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>
  260. </property>
  261. <property name="openExternalLinks">
  262. <bool>true</bool>
  263. </property>
  264. <property name="openLinks">
  265. <bool>true</bool>
  266. </property>
  267. </widget>
  268. </item>
  269. </layout>
  270. </widget>
  271. <widget class="QWidget" name="tabChangelog">
  272. <attribute name="title">
  273. <string>Changelog</string>
  274. </attribute>
  275. <layout class="QGridLayout" name="gridLayout_5">
  276. <property name="leftMargin">
  277. <number>4</number>
  278. </property>
  279. <property name="topMargin">
  280. <number>4</number>
  281. </property>
  282. <property name="rightMargin">
  283. <number>4</number>
  284. </property>
  285. <property name="bottomMargin">
  286. <number>4</number>
  287. </property>
  288. <item row="0" column="0">
  289. <widget class="QTextBrowser" name="changelogBrowser"/>
  290. </item>
  291. </layout>
  292. </widget>
  293. <widget class="QWidget" name="tabScreenshots">
  294. <attribute name="title">
  295. <string>Screenshots</string>
  296. </attribute>
  297. <layout class="QGridLayout" name="gridLayout_6">
  298. <property name="leftMargin">
  299. <number>4</number>
  300. </property>
  301. <property name="topMargin">
  302. <number>4</number>
  303. </property>
  304. <property name="rightMargin">
  305. <number>4</number>
  306. </property>
  307. <property name="bottomMargin">
  308. <number>4</number>
  309. </property>
  310. <item row="0" column="0">
  311. <widget class="QListWidget" name="screenshotsList">
  312. <property name="horizontalScrollBarPolicy">
  313. <enum>Qt::ScrollBarAlwaysOff</enum>
  314. </property>
  315. <property name="selectionMode">
  316. <enum>QAbstractItemView::NoSelection</enum>
  317. </property>
  318. <property name="selectionBehavior">
  319. <enum>QAbstractItemView::SelectRows</enum>
  320. </property>
  321. <property name="iconSize">
  322. <size>
  323. <width>240</width>
  324. <height>180</height>
  325. </size>
  326. </property>
  327. <property name="viewMode">
  328. <enum>QListView::IconMode</enum>
  329. </property>
  330. <property name="uniformItemSizes">
  331. <bool>true</bool>
  332. </property>
  333. </widget>
  334. </item>
  335. </layout>
  336. </widget>
  337. </widget>
  338. </item>
  339. </layout>
  340. </widget>
  341. </item>
  342. <item row="2" column="0" colspan="3">
  343. <layout class="QHBoxLayout" name="horizontalLayout_2">
  344. <property name="spacing">
  345. <number>6</number>
  346. </property>
  347. <item>
  348. <widget class="QPushButton" name="showInfoButton">
  349. <property name="sizePolicy">
  350. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  351. <horstretch>0</horstretch>
  352. <verstretch>0</verstretch>
  353. </sizepolicy>
  354. </property>
  355. <property name="minimumSize">
  356. <size>
  357. <width>51</width>
  358. <height>0</height>
  359. </size>
  360. </property>
  361. <property name="maximumSize">
  362. <size>
  363. <width>220</width>
  364. <height>16777215</height>
  365. </size>
  366. </property>
  367. <property name="text">
  368. <string>Show details</string>
  369. </property>
  370. </widget>
  371. </item>
  372. <item>
  373. <spacer name="modButtonSpacer">
  374. <property name="orientation">
  375. <enum>Qt::Horizontal</enum>
  376. </property>
  377. <property name="sizeType">
  378. <enum>QSizePolicy::MinimumExpanding</enum>
  379. </property>
  380. <property name="sizeHint" stdset="0">
  381. <size>
  382. <width>0</width>
  383. <height>0</height>
  384. </size>
  385. </property>
  386. </spacer>
  387. </item>
  388. <item>
  389. <widget class="QPushButton" name="enableButton">
  390. <property name="sizePolicy">
  391. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  392. <horstretch>0</horstretch>
  393. <verstretch>0</verstretch>
  394. </sizepolicy>
  395. </property>
  396. <property name="minimumSize">
  397. <size>
  398. <width>51</width>
  399. <height>0</height>
  400. </size>
  401. </property>
  402. <property name="maximumSize">
  403. <size>
  404. <width>140</width>
  405. <height>16777215</height>
  406. </size>
  407. </property>
  408. <property name="text">
  409. <string>Enable</string>
  410. </property>
  411. </widget>
  412. </item>
  413. <item>
  414. <widget class="QPushButton" name="disableButton">
  415. <property name="sizePolicy">
  416. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  417. <horstretch>0</horstretch>
  418. <verstretch>0</verstretch>
  419. </sizepolicy>
  420. </property>
  421. <property name="minimumSize">
  422. <size>
  423. <width>51</width>
  424. <height>0</height>
  425. </size>
  426. </property>
  427. <property name="maximumSize">
  428. <size>
  429. <width>140</width>
  430. <height>16777215</height>
  431. </size>
  432. </property>
  433. <property name="text">
  434. <string>Disable</string>
  435. </property>
  436. </widget>
  437. </item>
  438. <item>
  439. <widget class="QPushButton" name="updateButton">
  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>Update</string>
  460. </property>
  461. </widget>
  462. </item>
  463. <item>
  464. <widget class="QPushButton" name="uninstallButton">
  465. <property name="sizePolicy">
  466. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  467. <horstretch>0</horstretch>
  468. <verstretch>0</verstretch>
  469. </sizepolicy>
  470. </property>
  471. <property name="minimumSize">
  472. <size>
  473. <width>51</width>
  474. <height>0</height>
  475. </size>
  476. </property>
  477. <property name="maximumSize">
  478. <size>
  479. <width>140</width>
  480. <height>16777215</height>
  481. </size>
  482. </property>
  483. <property name="text">
  484. <string>Uninstall</string>
  485. </property>
  486. </widget>
  487. </item>
  488. <item>
  489. <widget class="QPushButton" name="installButton">
  490. <property name="sizePolicy">
  491. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  492. <horstretch>0</horstretch>
  493. <verstretch>0</verstretch>
  494. </sizepolicy>
  495. </property>
  496. <property name="minimumSize">
  497. <size>
  498. <width>51</width>
  499. <height>0</height>
  500. </size>
  501. </property>
  502. <property name="maximumSize">
  503. <size>
  504. <width>100</width>
  505. <height>16777215</height>
  506. </size>
  507. </property>
  508. <property name="text">
  509. <string>Install</string>
  510. </property>
  511. </widget>
  512. </item>
  513. </layout>
  514. </item>
  515. <item row="1" column="0" colspan="3">
  516. <widget class="QWidget" name="progressWidget" native="true">
  517. <property name="enabled">
  518. <bool>true</bool>
  519. </property>
  520. <property name="sizePolicy">
  521. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  522. <horstretch>0</horstretch>
  523. <verstretch>0</verstretch>
  524. </sizepolicy>
  525. </property>
  526. <property name="minimumSize">
  527. <size>
  528. <width>0</width>
  529. <height>0</height>
  530. </size>
  531. </property>
  532. <layout class="QHBoxLayout" name="horizontalLayout">
  533. <property name="leftMargin">
  534. <number>9</number>
  535. </property>
  536. <property name="topMargin">
  537. <number>6</number>
  538. </property>
  539. <property name="bottomMargin">
  540. <number>6</number>
  541. </property>
  542. <item>
  543. <widget class="QProgressBar" name="progressBar">
  544. <property name="sizePolicy">
  545. <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
  546. <horstretch>0</horstretch>
  547. <verstretch>0</verstretch>
  548. </sizepolicy>
  549. </property>
  550. <property name="maximum">
  551. <number>0</number>
  552. </property>
  553. <property name="value">
  554. <number>0</number>
  555. </property>
  556. <property name="textVisible">
  557. <bool>true</bool>
  558. </property>
  559. <property name="invertedAppearance">
  560. <bool>false</bool>
  561. </property>
  562. <property name="format">
  563. <string> %p% (%v KB out of %m KB)</string>
  564. </property>
  565. </widget>
  566. </item>
  567. <item>
  568. <widget class="QPushButton" name="pushButton">
  569. <property name="sizePolicy">
  570. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  571. <horstretch>0</horstretch>
  572. <verstretch>0</verstretch>
  573. </sizepolicy>
  574. </property>
  575. <property name="text">
  576. <string>Abort</string>
  577. </property>
  578. </widget>
  579. </item>
  580. </layout>
  581. </widget>
  582. </item>
  583. </layout>
  584. </widget>
  585. <tabstops>
  586. <tabstop>lineEdit</tabstop>
  587. <tabstop>comboBox</tabstop>
  588. <tabstop>allModsView</tabstop>
  589. <tabstop>hideModInfoButton</tabstop>
  590. </tabstops>
  591. <resources/>
  592. <connections/>
  593. </ui>