paletteeditor.ui 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802
  1. <ui version="4.0" >
  2. <class>paletteEditor</class>
  3. <widget class="QWidget" name="paletteEditor" >
  4. <property name="geometry" >
  5. <rect>
  6. <x>0</x>
  7. <y>0</y>
  8. <width>320</width>
  9. <height>246</height>
  10. </rect>
  11. </property>
  12. <property name="windowTitle" >
  13. <string>Color Editor</string>
  14. </property>
  15. <property name="windowIcon" >
  16. <iconset>coloricon.png</iconset>
  17. </property>
  18. <layout class="QGridLayout" >
  19. <item row="0" column="0" >
  20. <layout class="QHBoxLayout" >
  21. <item>
  22. <layout class="QVBoxLayout" >
  23. <item>
  24. <layout class="QHBoxLayout" >
  25. <item>
  26. <widget class="QLabel" name="label" >
  27. <property name="text" >
  28. <string>R</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item>
  33. <widget class="QSlider" name="RVal" >
  34. <property name="enabled" >
  35. <bool>false</bool>
  36. </property>
  37. <property name="maximum" >
  38. <number>7</number>
  39. </property>
  40. <property name="orientation" >
  41. <enum>Qt::Horizontal</enum>
  42. </property>
  43. <property name="tickPosition" >
  44. <enum>QSlider::TicksBelow</enum>
  45. </property>
  46. <property name="tickInterval" >
  47. <number>1</number>
  48. </property>
  49. </widget>
  50. </item>
  51. <item>
  52. <widget class="QLineEdit" name="lineEditRed" >
  53. <property name="enabled" >
  54. <bool>true</bool>
  55. </property>
  56. <property name="sizePolicy" >
  57. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  58. <horstretch>0</horstretch>
  59. <verstretch>0</verstretch>
  60. </sizepolicy>
  61. </property>
  62. <property name="maximumSize" >
  63. <size>
  64. <width>24</width>
  65. <height>16777215</height>
  66. </size>
  67. </property>
  68. <property name="text" >
  69. <string>0</string>
  70. </property>
  71. <property name="readOnly" >
  72. <bool>true</bool>
  73. </property>
  74. </widget>
  75. </item>
  76. </layout>
  77. </item>
  78. <item>
  79. <layout class="QHBoxLayout" >
  80. <item>
  81. <widget class="QLabel" name="label_2" >
  82. <property name="text" >
  83. <string>G</string>
  84. </property>
  85. </widget>
  86. </item>
  87. <item>
  88. <widget class="QSlider" name="GVal" >
  89. <property name="enabled" >
  90. <bool>false</bool>
  91. </property>
  92. <property name="maximum" >
  93. <number>7</number>
  94. </property>
  95. <property name="orientation" >
  96. <enum>Qt::Horizontal</enum>
  97. </property>
  98. <property name="tickPosition" >
  99. <enum>QSlider::TicksBelow</enum>
  100. </property>
  101. <property name="tickInterval" >
  102. <number>1</number>
  103. </property>
  104. </widget>
  105. </item>
  106. <item>
  107. <widget class="QLineEdit" name="lineEditGreen" >
  108. <property name="enabled" >
  109. <bool>true</bool>
  110. </property>
  111. <property name="sizePolicy" >
  112. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  113. <horstretch>0</horstretch>
  114. <verstretch>0</verstretch>
  115. </sizepolicy>
  116. </property>
  117. <property name="maximumSize" >
  118. <size>
  119. <width>24</width>
  120. <height>16777215</height>
  121. </size>
  122. </property>
  123. <property name="text" >
  124. <string>0</string>
  125. </property>
  126. <property name="readOnly" >
  127. <bool>true</bool>
  128. </property>
  129. </widget>
  130. </item>
  131. </layout>
  132. </item>
  133. <item>
  134. <layout class="QHBoxLayout" >
  135. <item>
  136. <widget class="QLabel" name="label_3" >
  137. <property name="text" >
  138. <string>B</string>
  139. </property>
  140. </widget>
  141. </item>
  142. <item>
  143. <widget class="QSlider" name="BVal" >
  144. <property name="enabled" >
  145. <bool>false</bool>
  146. </property>
  147. <property name="maximum" >
  148. <number>7</number>
  149. </property>
  150. <property name="orientation" >
  151. <enum>Qt::Horizontal</enum>
  152. </property>
  153. <property name="tickPosition" >
  154. <enum>QSlider::TicksBelow</enum>
  155. </property>
  156. <property name="tickInterval" >
  157. <number>1</number>
  158. </property>
  159. </widget>
  160. </item>
  161. <item>
  162. <widget class="QLineEdit" name="lineEditBlue" >
  163. <property name="enabled" >
  164. <bool>true</bool>
  165. </property>
  166. <property name="sizePolicy" >
  167. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  168. <horstretch>0</horstretch>
  169. <verstretch>0</verstretch>
  170. </sizepolicy>
  171. </property>
  172. <property name="maximumSize" >
  173. <size>
  174. <width>24</width>
  175. <height>16777215</height>
  176. </size>
  177. </property>
  178. <property name="text" >
  179. <string>0</string>
  180. </property>
  181. <property name="readOnly" >
  182. <bool>true</bool>
  183. </property>
  184. </widget>
  185. </item>
  186. </layout>
  187. </item>
  188. </layout>
  189. </item>
  190. <item>
  191. <widget class="QLabel" name="ColorPickerLabel" >
  192. <property name="windowModality" >
  193. <enum>Qt::NonModal</enum>
  194. </property>
  195. <property name="minimumSize" >
  196. <size>
  197. <width>100</width>
  198. <height>100</height>
  199. </size>
  200. </property>
  201. <property name="maximumSize" >
  202. <size>
  203. <width>100</width>
  204. <height>100</height>
  205. </size>
  206. </property>
  207. <property name="font" >
  208. <font>
  209. <pointsize>21</pointsize>
  210. </font>
  211. </property>
  212. <property name="autoFillBackground" >
  213. <bool>true</bool>
  214. </property>
  215. <property name="frameShape" >
  216. <enum>QFrame::Box</enum>
  217. </property>
  218. <property name="frameShadow" >
  219. <enum>QFrame::Plain</enum>
  220. </property>
  221. <property name="text" >
  222. <string>Color</string>
  223. </property>
  224. <property name="alignment" >
  225. <set>Qt::AlignCenter</set>
  226. </property>
  227. </widget>
  228. </item>
  229. </layout>
  230. </item>
  231. <item row="1" column="0" >
  232. <layout class="QVBoxLayout" >
  233. <item>
  234. <layout class="QHBoxLayout" >
  235. <item>
  236. <widget class="QPushButton" name="Col0" >
  237. <property name="sizePolicy" >
  238. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  239. <horstretch>0</horstretch>
  240. <verstretch>0</verstretch>
  241. </sizepolicy>
  242. </property>
  243. <property name="minimumSize" >
  244. <size>
  245. <width>32</width>
  246. <height>32</height>
  247. </size>
  248. </property>
  249. <property name="maximumSize" >
  250. <size>
  251. <width>32</width>
  252. <height>32</height>
  253. </size>
  254. </property>
  255. <property name="autoFillBackground" >
  256. <bool>true</bool>
  257. </property>
  258. <property name="text" >
  259. <string>0</string>
  260. </property>
  261. <property name="flat" >
  262. <bool>true</bool>
  263. </property>
  264. </widget>
  265. </item>
  266. <item>
  267. <widget class="QPushButton" name="Col1" >
  268. <property name="sizePolicy" >
  269. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  270. <horstretch>0</horstretch>
  271. <verstretch>0</verstretch>
  272. </sizepolicy>
  273. </property>
  274. <property name="minimumSize" >
  275. <size>
  276. <width>32</width>
  277. <height>32</height>
  278. </size>
  279. </property>
  280. <property name="maximumSize" >
  281. <size>
  282. <width>32</width>
  283. <height>32</height>
  284. </size>
  285. </property>
  286. <property name="autoFillBackground" >
  287. <bool>true</bool>
  288. </property>
  289. <property name="text" >
  290. <string>1</string>
  291. </property>
  292. <property name="flat" >
  293. <bool>true</bool>
  294. </property>
  295. </widget>
  296. </item>
  297. <item>
  298. <widget class="QPushButton" name="Col2" >
  299. <property name="sizePolicy" >
  300. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  301. <horstretch>0</horstretch>
  302. <verstretch>0</verstretch>
  303. </sizepolicy>
  304. </property>
  305. <property name="minimumSize" >
  306. <size>
  307. <width>32</width>
  308. <height>32</height>
  309. </size>
  310. </property>
  311. <property name="maximumSize" >
  312. <size>
  313. <width>32</width>
  314. <height>32</height>
  315. </size>
  316. </property>
  317. <property name="autoFillBackground" >
  318. <bool>true</bool>
  319. </property>
  320. <property name="text" >
  321. <string>2</string>
  322. </property>
  323. <property name="flat" >
  324. <bool>true</bool>
  325. </property>
  326. </widget>
  327. </item>
  328. <item>
  329. <widget class="QPushButton" name="Col3" >
  330. <property name="sizePolicy" >
  331. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  332. <horstretch>0</horstretch>
  333. <verstretch>0</verstretch>
  334. </sizepolicy>
  335. </property>
  336. <property name="minimumSize" >
  337. <size>
  338. <width>32</width>
  339. <height>32</height>
  340. </size>
  341. </property>
  342. <property name="maximumSize" >
  343. <size>
  344. <width>32</width>
  345. <height>32</height>
  346. </size>
  347. </property>
  348. <property name="autoFillBackground" >
  349. <bool>true</bool>
  350. </property>
  351. <property name="text" >
  352. <string>3</string>
  353. </property>
  354. <property name="flat" >
  355. <bool>true</bool>
  356. </property>
  357. </widget>
  358. </item>
  359. <item>
  360. <widget class="QPushButton" name="Col4" >
  361. <property name="sizePolicy" >
  362. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  363. <horstretch>0</horstretch>
  364. <verstretch>0</verstretch>
  365. </sizepolicy>
  366. </property>
  367. <property name="minimumSize" >
  368. <size>
  369. <width>32</width>
  370. <height>32</height>
  371. </size>
  372. </property>
  373. <property name="maximumSize" >
  374. <size>
  375. <width>32</width>
  376. <height>32</height>
  377. </size>
  378. </property>
  379. <property name="autoFillBackground" >
  380. <bool>true</bool>
  381. </property>
  382. <property name="text" >
  383. <string>4</string>
  384. </property>
  385. <property name="flat" >
  386. <bool>true</bool>
  387. </property>
  388. </widget>
  389. </item>
  390. <item>
  391. <widget class="QPushButton" name="Col5" >
  392. <property name="sizePolicy" >
  393. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  394. <horstretch>0</horstretch>
  395. <verstretch>0</verstretch>
  396. </sizepolicy>
  397. </property>
  398. <property name="minimumSize" >
  399. <size>
  400. <width>32</width>
  401. <height>32</height>
  402. </size>
  403. </property>
  404. <property name="maximumSize" >
  405. <size>
  406. <width>32</width>
  407. <height>32</height>
  408. </size>
  409. </property>
  410. <property name="autoFillBackground" >
  411. <bool>true</bool>
  412. </property>
  413. <property name="text" >
  414. <string>5</string>
  415. </property>
  416. <property name="flat" >
  417. <bool>true</bool>
  418. </property>
  419. </widget>
  420. </item>
  421. <item>
  422. <widget class="QPushButton" name="Col6" >
  423. <property name="sizePolicy" >
  424. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  425. <horstretch>0</horstretch>
  426. <verstretch>0</verstretch>
  427. </sizepolicy>
  428. </property>
  429. <property name="minimumSize" >
  430. <size>
  431. <width>32</width>
  432. <height>32</height>
  433. </size>
  434. </property>
  435. <property name="maximumSize" >
  436. <size>
  437. <width>32</width>
  438. <height>32</height>
  439. </size>
  440. </property>
  441. <property name="autoFillBackground" >
  442. <bool>true</bool>
  443. </property>
  444. <property name="text" >
  445. <string>6</string>
  446. </property>
  447. <property name="flat" >
  448. <bool>true</bool>
  449. </property>
  450. </widget>
  451. </item>
  452. <item>
  453. <widget class="QPushButton" name="Col7" >
  454. <property name="sizePolicy" >
  455. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  456. <horstretch>0</horstretch>
  457. <verstretch>0</verstretch>
  458. </sizepolicy>
  459. </property>
  460. <property name="minimumSize" >
  461. <size>
  462. <width>32</width>
  463. <height>32</height>
  464. </size>
  465. </property>
  466. <property name="maximumSize" >
  467. <size>
  468. <width>32</width>
  469. <height>32</height>
  470. </size>
  471. </property>
  472. <property name="autoFillBackground" >
  473. <bool>true</bool>
  474. </property>
  475. <property name="text" >
  476. <string>7</string>
  477. </property>
  478. <property name="flat" >
  479. <bool>true</bool>
  480. </property>
  481. </widget>
  482. </item>
  483. </layout>
  484. </item>
  485. <item>
  486. <layout class="QHBoxLayout" >
  487. <item>
  488. <widget class="QPushButton" name="Col8" >
  489. <property name="sizePolicy" >
  490. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  491. <horstretch>0</horstretch>
  492. <verstretch>0</verstretch>
  493. </sizepolicy>
  494. </property>
  495. <property name="minimumSize" >
  496. <size>
  497. <width>32</width>
  498. <height>32</height>
  499. </size>
  500. </property>
  501. <property name="maximumSize" >
  502. <size>
  503. <width>32</width>
  504. <height>32</height>
  505. </size>
  506. </property>
  507. <property name="autoFillBackground" >
  508. <bool>true</bool>
  509. </property>
  510. <property name="text" >
  511. <string>8</string>
  512. </property>
  513. <property name="flat" >
  514. <bool>true</bool>
  515. </property>
  516. </widget>
  517. </item>
  518. <item>
  519. <widget class="QPushButton" name="Col9" >
  520. <property name="sizePolicy" >
  521. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  522. <horstretch>0</horstretch>
  523. <verstretch>0</verstretch>
  524. </sizepolicy>
  525. </property>
  526. <property name="minimumSize" >
  527. <size>
  528. <width>32</width>
  529. <height>32</height>
  530. </size>
  531. </property>
  532. <property name="maximumSize" >
  533. <size>
  534. <width>32</width>
  535. <height>32</height>
  536. </size>
  537. </property>
  538. <property name="autoFillBackground" >
  539. <bool>true</bool>
  540. </property>
  541. <property name="text" >
  542. <string>9</string>
  543. </property>
  544. <property name="flat" >
  545. <bool>true</bool>
  546. </property>
  547. </widget>
  548. </item>
  549. <item>
  550. <widget class="QPushButton" name="Col10" >
  551. <property name="sizePolicy" >
  552. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  553. <horstretch>0</horstretch>
  554. <verstretch>0</verstretch>
  555. </sizepolicy>
  556. </property>
  557. <property name="minimumSize" >
  558. <size>
  559. <width>32</width>
  560. <height>32</height>
  561. </size>
  562. </property>
  563. <property name="maximumSize" >
  564. <size>
  565. <width>32</width>
  566. <height>32</height>
  567. </size>
  568. </property>
  569. <property name="autoFillBackground" >
  570. <bool>true</bool>
  571. </property>
  572. <property name="text" >
  573. <string>10</string>
  574. </property>
  575. <property name="flat" >
  576. <bool>true</bool>
  577. </property>
  578. </widget>
  579. </item>
  580. <item>
  581. <widget class="QPushButton" name="Col11" >
  582. <property name="sizePolicy" >
  583. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  584. <horstretch>0</horstretch>
  585. <verstretch>0</verstretch>
  586. </sizepolicy>
  587. </property>
  588. <property name="minimumSize" >
  589. <size>
  590. <width>32</width>
  591. <height>32</height>
  592. </size>
  593. </property>
  594. <property name="maximumSize" >
  595. <size>
  596. <width>32</width>
  597. <height>32</height>
  598. </size>
  599. </property>
  600. <property name="autoFillBackground" >
  601. <bool>true</bool>
  602. </property>
  603. <property name="text" >
  604. <string>11</string>
  605. </property>
  606. <property name="flat" >
  607. <bool>true</bool>
  608. </property>
  609. </widget>
  610. </item>
  611. <item>
  612. <widget class="QPushButton" name="Col12" >
  613. <property name="sizePolicy" >
  614. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  615. <horstretch>0</horstretch>
  616. <verstretch>0</verstretch>
  617. </sizepolicy>
  618. </property>
  619. <property name="minimumSize" >
  620. <size>
  621. <width>32</width>
  622. <height>32</height>
  623. </size>
  624. </property>
  625. <property name="maximumSize" >
  626. <size>
  627. <width>32</width>
  628. <height>32</height>
  629. </size>
  630. </property>
  631. <property name="autoFillBackground" >
  632. <bool>true</bool>
  633. </property>
  634. <property name="text" >
  635. <string>12</string>
  636. </property>
  637. <property name="flat" >
  638. <bool>true</bool>
  639. </property>
  640. </widget>
  641. </item>
  642. <item>
  643. <widget class="QPushButton" name="Col13" >
  644. <property name="sizePolicy" >
  645. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  646. <horstretch>0</horstretch>
  647. <verstretch>0</verstretch>
  648. </sizepolicy>
  649. </property>
  650. <property name="minimumSize" >
  651. <size>
  652. <width>32</width>
  653. <height>32</height>
  654. </size>
  655. </property>
  656. <property name="maximumSize" >
  657. <size>
  658. <width>32</width>
  659. <height>32</height>
  660. </size>
  661. </property>
  662. <property name="autoFillBackground" >
  663. <bool>true</bool>
  664. </property>
  665. <property name="text" >
  666. <string>13</string>
  667. </property>
  668. <property name="flat" >
  669. <bool>true</bool>
  670. </property>
  671. </widget>
  672. </item>
  673. <item>
  674. <widget class="QPushButton" name="Col14" >
  675. <property name="sizePolicy" >
  676. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  677. <horstretch>0</horstretch>
  678. <verstretch>0</verstretch>
  679. </sizepolicy>
  680. </property>
  681. <property name="minimumSize" >
  682. <size>
  683. <width>32</width>
  684. <height>32</height>
  685. </size>
  686. </property>
  687. <property name="maximumSize" >
  688. <size>
  689. <width>32</width>
  690. <height>32</height>
  691. </size>
  692. </property>
  693. <property name="autoFillBackground" >
  694. <bool>true</bool>
  695. </property>
  696. <property name="text" >
  697. <string>14</string>
  698. </property>
  699. <property name="flat" >
  700. <bool>true</bool>
  701. </property>
  702. </widget>
  703. </item>
  704. <item>
  705. <widget class="QPushButton" name="Col15" >
  706. <property name="sizePolicy" >
  707. <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
  708. <horstretch>0</horstretch>
  709. <verstretch>0</verstretch>
  710. </sizepolicy>
  711. </property>
  712. <property name="minimumSize" >
  713. <size>
  714. <width>32</width>
  715. <height>32</height>
  716. </size>
  717. </property>
  718. <property name="maximumSize" >
  719. <size>
  720. <width>32</width>
  721. <height>32</height>
  722. </size>
  723. </property>
  724. <property name="autoFillBackground" >
  725. <bool>true</bool>
  726. </property>
  727. <property name="text" >
  728. <string>15</string>
  729. </property>
  730. <property name="flat" >
  731. <bool>true</bool>
  732. </property>
  733. </widget>
  734. </item>
  735. </layout>
  736. </item>
  737. </layout>
  738. </item>
  739. <item row="3" column="0" >
  740. <layout class="QHBoxLayout" >
  741. <item>
  742. <layout class="QHBoxLayout" >
  743. <item>
  744. <widget class="QPushButton" name="GetMSXColors" >
  745. <property name="text" >
  746. <string>Get MSX Colors</string>
  747. </property>
  748. </widget>
  749. </item>
  750. <item>
  751. <widget class="QPushButton" name="SavePalette" >
  752. <property name="enabled" >
  753. <bool>false</bool>
  754. </property>
  755. <property name="text" >
  756. <string>Save...</string>
  757. </property>
  758. </widget>
  759. </item>
  760. <item>
  761. <widget class="QPushButton" name="LoadPalette" >
  762. <property name="text" >
  763. <string>Load...</string>
  764. </property>
  765. </widget>
  766. </item>
  767. </layout>
  768. </item>
  769. <item>
  770. <spacer>
  771. <property name="orientation" >
  772. <enum>Qt::Horizontal</enum>
  773. </property>
  774. <property name="sizeHint" >
  775. <size>
  776. <width>40</width>
  777. <height>20</height>
  778. </size>
  779. </property>
  780. </spacer>
  781. </item>
  782. </layout>
  783. </item>
  784. <item row="2" column="0" >
  785. <spacer>
  786. <property name="orientation" >
  787. <enum>Qt::Vertical</enum>
  788. </property>
  789. <property name="sizeHint" >
  790. <size>
  791. <width>20</width>
  792. <height>40</height>
  793. </size>
  794. </property>
  795. </spacer>
  796. </item>
  797. </layout>
  798. </widget>
  799. <resources/>
  800. <connections/>
  801. </ui>