No Description

dialog.ui 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Dialog</class>
  4. <widget class="QDialog" name="Dialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>452</width>
  10. <height>535</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">background-color:#fff</string>
  18. </property>
  19. <widget class="QPushButton" name="rowmajorfillButton">
  20. <property name="geometry">
  21. <rect>
  22. <x>100</x>
  23. <y>330</y>
  24. <width>31</width>
  25. <height>31</height>
  26. </rect>
  27. </property>
  28. <property name="styleSheet">
  29. <string notr="true">
  30. background-image: url(://row);
  31. background-repeat: no-repeat;
  32. margin:1px;
  33. </string>
  34. </property>
  35. <property name="text">
  36. <string/>
  37. </property>
  38. <property name="autoDefault">
  39. <bool>false</bool>
  40. </property>
  41. </widget>
  42. <widget class="QPushButton" name="drawtriangleButton">
  43. <property name="geometry">
  44. <rect>
  45. <x>20</x>
  46. <y>330</y>
  47. <width>31</width>
  48. <height>31</height>
  49. </rect>
  50. </property>
  51. <property name="styleSheet">
  52. <string notr="true">
  53. background-image: url(://triangle);
  54. background-repeat: no-repeat;
  55. margin:1px;
  56. </string>
  57. </property>
  58. <property name="text">
  59. <string/>
  60. </property>
  61. <property name="autoDefault">
  62. <bool>false</bool>
  63. </property>
  64. </widget>
  65. <widget class="QPushButton" name="diagonalleftButton">
  66. <property name="geometry">
  67. <rect>
  68. <x>60</x>
  69. <y>370</y>
  70. <width>31</width>
  71. <height>31</height>
  72. </rect>
  73. </property>
  74. <property name="styleSheet">
  75. <string notr="true">
  76. background-image: url(://lDiag);
  77. background-repeat: no-repeat;
  78. margin:1px;
  79. </string>
  80. </property>
  81. <property name="text">
  82. <string/>
  83. </property>
  84. <property name="autoDefault">
  85. <bool>false</bool>
  86. </property>
  87. </widget>
  88. <widget class="QPushButton" name="drawsquareButton">
  89. <property name="geometry">
  90. <rect>
  91. <x>20</x>
  92. <y>410</y>
  93. <width>31</width>
  94. <height>31</height>
  95. </rect>
  96. </property>
  97. <property name="styleSheet">
  98. <string notr="true">
  99. background-image: url(://rect);
  100. background-repeat: no-repeat;
  101. margin:1px;
  102. </string>
  103. </property>
  104. <property name="text">
  105. <string/>
  106. </property>
  107. <property name="autoDefault">
  108. <bool>false</bool>
  109. </property>
  110. </widget>
  111. <widget class="GridWidget" name="mainGrid" native="true">
  112. <property name="geometry">
  113. <rect>
  114. <x>170</x>
  115. <y>70</y>
  116. <width>271</width>
  117. <height>371</height>
  118. </rect>
  119. </property>
  120. <property name="styleSheet">
  121. <string notr="true">
  122. border-style: outset;
  123. border-width: 1px; border-color:ligth gray;
  124. </string>
  125. </property>
  126. </widget>
  127. <widget class="QPushButton" name="colmajorfillButton">
  128. <property name="geometry">
  129. <rect>
  130. <x>60</x>
  131. <y>330</y>
  132. <width>31</width>
  133. <height>31</height>
  134. </rect>
  135. </property>
  136. <property name="styleSheet">
  137. <string notr="true">
  138. background-image: url(://column);
  139. background-repeat: no-repeat;
  140. margin:1px;
  141. </string>
  142. </property>
  143. <property name="text">
  144. <string/>
  145. </property>
  146. <property name="autoDefault">
  147. <bool>false</bool>
  148. </property>
  149. </widget>
  150. <widget class="QPushButton" name="cleargridButton">
  151. <property name="geometry">
  152. <rect>
  153. <x>20</x>
  154. <y>250</y>
  155. <width>111</width>
  156. <height>31</height>
  157. </rect>
  158. </property>
  159. <property name="styleSheet">
  160. <string notr="true"/>
  161. </property>
  162. <property name="text">
  163. <string>Clear Grid</string>
  164. </property>
  165. <property name="autoDefault">
  166. <bool>false</bool>
  167. </property>
  168. </widget>
  169. <widget class="QPushButton" name="diagonalrightButton">
  170. <property name="geometry">
  171. <rect>
  172. <x>100</x>
  173. <y>370</y>
  174. <width>31</width>
  175. <height>31</height>
  176. </rect>
  177. </property>
  178. <property name="styleSheet">
  179. <string notr="true">
  180. background-image: url(://rDiag);
  181. background-repeat: no-repeat;
  182. margin:1px;
  183. </string>
  184. </property>
  185. <property name="text">
  186. <string/>
  187. </property>
  188. <property name="autoDefault">
  189. <bool>false</bool>
  190. </property>
  191. </widget>
  192. <widget class="QPushButton" name="drawcircleButton">
  193. <property name="geometry">
  194. <rect>
  195. <x>20</x>
  196. <y>370</y>
  197. <width>31</width>
  198. <height>31</height>
  199. </rect>
  200. </property>
  201. <property name="styleSheet">
  202. <string notr="true">
  203. background-image: url(://circle);
  204. background-repeat: no-repeat;
  205. margin:1px;
  206. </string>
  207. </property>
  208. <property name="text">
  209. <string/>
  210. </property>
  211. <property name="autoDefault">
  212. <bool>false</bool>
  213. </property>
  214. </widget>
  215. <widget class="QPushButton" name="lapizButton">
  216. <property name="geometry">
  217. <rect>
  218. <x>20</x>
  219. <y>210</y>
  220. <width>111</width>
  221. <height>31</height>
  222. </rect>
  223. </property>
  224. <property name="styleSheet">
  225. <string notr="true"/>
  226. </property>
  227. <property name="text">
  228. <string>Pencil</string>
  229. </property>
  230. <property name="autoDefault">
  231. <bool>false</bool>
  232. </property>
  233. </widget>
  234. <widget class="QPushButton" name="undoButton">
  235. <property name="enabled">
  236. <bool>true</bool>
  237. </property>
  238. <property name="geometry">
  239. <rect>
  240. <x>80</x>
  241. <y>290</y>
  242. <width>51</width>
  243. <height>31</height>
  244. </rect>
  245. </property>
  246. <property name="styleSheet">
  247. <string notr="true"/>
  248. </property>
  249. <property name="text">
  250. <string>Undo</string>
  251. </property>
  252. <property name="autoDefault">
  253. <bool>false</bool>
  254. </property>
  255. </widget>
  256. <widget class="QPushButton" name="redoButton">
  257. <property name="geometry">
  258. <rect>
  259. <x>20</x>
  260. <y>290</y>
  261. <width>51</width>
  262. <height>31</height>
  263. </rect>
  264. </property>
  265. <property name="styleSheet">
  266. <string notr="true"/>
  267. </property>
  268. <property name="text">
  269. <string>Redo</string>
  270. </property>
  271. <property name="autoDefault">
  272. <bool>false</bool>
  273. </property>
  274. </widget>
  275. <widget class="QFrame" name="frame">
  276. <property name="geometry">
  277. <rect>
  278. <x>-10</x>
  279. <y>-10</y>
  280. <width>591</width>
  281. <height>71</height>
  282. </rect>
  283. </property>
  284. <property name="styleSheet">
  285. <string notr="true">background-color:#c2050b
  286. ;
  287. border-color:#525662;</string>
  288. </property>
  289. <property name="frameShape">
  290. <enum>QFrame::StyledPanel</enum>
  291. </property>
  292. <property name="frameShadow">
  293. <enum>QFrame::Raised</enum>
  294. </property>
  295. <widget class="QLabel" name="backgroundcolorLabel_2">
  296. <property name="geometry">
  297. <rect>
  298. <x>160</x>
  299. <y>20</y>
  300. <width>181</width>
  301. <height>41</height>
  302. </rect>
  303. </property>
  304. <property name="font">
  305. <font>
  306. <pointsize>23</pointsize>
  307. </font>
  308. </property>
  309. <property name="styleSheet">
  310. <string notr="true">color: #fff;</string>
  311. </property>
  312. <property name="text">
  313. <string>Grid Plotter</string>
  314. </property>
  315. </widget>
  316. </widget>
  317. <widget class="QFrame" name="LogoFrame">
  318. <property name="geometry">
  319. <rect>
  320. <x>240</x>
  321. <y>450</y>
  322. <width>201</width>
  323. <height>61</height>
  324. </rect>
  325. </property>
  326. <property name="styleSheet">
  327. <string notr="true"/>
  328. </property>
  329. <property name="frameShape">
  330. <enum>QFrame::StyledPanel</enum>
  331. </property>
  332. <property name="frameShadow">
  333. <enum>QFrame::Raised</enum>
  334. </property>
  335. </widget>
  336. <widget class="QWidget" name="layoutWidget">
  337. <property name="geometry">
  338. <rect>
  339. <x>20</x>
  340. <y>450</y>
  341. <width>166</width>
  342. <height>71</height>
  343. </rect>
  344. </property>
  345. <layout class="QVBoxLayout" name="verticalLayout">
  346. <item>
  347. <widget class="QGroupBox" name="adjustspeedGroupBox">
  348. <property name="enabled">
  349. <bool>true</bool>
  350. </property>
  351. <property name="title">
  352. <string>Adjust Size</string>
  353. </property>
  354. </widget>
  355. </item>
  356. <item>
  357. <layout class="QHBoxLayout" name="horizontalLayout">
  358. <item>
  359. <widget class="QLabel" name="slowLabel">
  360. <property name="text">
  361. <string>Small</string>
  362. </property>
  363. </widget>
  364. </item>
  365. <item>
  366. <widget class="QSlider" name="speedHorizontalSlider">
  367. <property name="acceptDrops">
  368. <bool>false</bool>
  369. </property>
  370. <property name="minimum">
  371. <number>1</number>
  372. </property>
  373. <property name="maximum">
  374. <number>25</number>
  375. </property>
  376. <property name="pageStep">
  377. <number>1</number>
  378. </property>
  379. <property name="value">
  380. <number>1</number>
  381. </property>
  382. <property name="orientation">
  383. <enum>Qt::Horizontal</enum>
  384. </property>
  385. </widget>
  386. </item>
  387. <item>
  388. <widget class="QLabel" name="fastLabel">
  389. <property name="text">
  390. <string>Big</string>
  391. </property>
  392. </widget>
  393. </item>
  394. </layout>
  395. </item>
  396. </layout>
  397. </widget>
  398. <widget class="QWidget" name="layoutWidget1">
  399. <property name="geometry">
  400. <rect>
  401. <x>20</x>
  402. <y>80</y>
  403. <width>127</width>
  404. <height>108</height>
  405. </rect>
  406. </property>
  407. <layout class="QVBoxLayout" name="verticalLayout_2">
  408. <item>
  409. <widget class="QLabel" name="fillcolorLabel">
  410. <property name="text">
  411. <string>Fill Color:</string>
  412. </property>
  413. </widget>
  414. </item>
  415. <item>
  416. <widget class="QComboBox" name="frontcolorComboBox">
  417. <property name="styleSheet">
  418. <string notr="true"/>
  419. </property>
  420. <item>
  421. <property name="text">
  422. <string>black</string>
  423. </property>
  424. </item>
  425. <item>
  426. <property name="text">
  427. <string>white</string>
  428. </property>
  429. </item>
  430. <item>
  431. <property name="text">
  432. <string>yellow</string>
  433. </property>
  434. </item>
  435. <item>
  436. <property name="text">
  437. <string>green</string>
  438. </property>
  439. </item>
  440. <item>
  441. <property name="text">
  442. <string>red</string>
  443. </property>
  444. </item>
  445. <item>
  446. <property name="text">
  447. <string>blue</string>
  448. </property>
  449. </item>
  450. <item>
  451. <property name="text">
  452. <string>gray</string>
  453. </property>
  454. </item>
  455. </widget>
  456. </item>
  457. <item>
  458. <widget class="QLabel" name="backgroundcolorLabel">
  459. <property name="text">
  460. <string>Background Color:</string>
  461. </property>
  462. </widget>
  463. </item>
  464. <item>
  465. <widget class="QComboBox" name="backgroundComboBox">
  466. <property name="styleSheet">
  467. <string notr="true"/>
  468. </property>
  469. <item>
  470. <property name="text">
  471. <string>white</string>
  472. </property>
  473. </item>
  474. <item>
  475. <property name="text">
  476. <string>black</string>
  477. </property>
  478. </item>
  479. <item>
  480. <property name="text">
  481. <string>yellow</string>
  482. </property>
  483. </item>
  484. <item>
  485. <property name="text">
  486. <string>green</string>
  487. </property>
  488. </item>
  489. <item>
  490. <property name="text">
  491. <string>red</string>
  492. </property>
  493. </item>
  494. <item>
  495. <property name="text">
  496. <string>blue</string>
  497. </property>
  498. </item>
  499. <item>
  500. <property name="text">
  501. <string>gray</string>
  502. </property>
  503. </item>
  504. </widget>
  505. </item>
  506. </layout>
  507. </widget>
  508. <widget class="QLabel" name="lblSize">
  509. <property name="geometry">
  510. <rect>
  511. <x>200</x>
  512. <y>500</y>
  513. <width>31</width>
  514. <height>16</height>
  515. </rect>
  516. </property>
  517. <property name="text">
  518. <string>1</string>
  519. </property>
  520. </widget>
  521. <widget class="QPushButton" name="floodButton">
  522. <property name="geometry">
  523. <rect>
  524. <x>60</x>
  525. <y>410</y>
  526. <width>31</width>
  527. <height>31</height>
  528. </rect>
  529. </property>
  530. <property name="styleSheet">
  531. <string notr="true">
  532. background-color: black;
  533. background-repeat: no-repeat;
  534. margin:1px;
  535. </string>
  536. </property>
  537. <property name="text">
  538. <string/>
  539. </property>
  540. <property name="autoDefault">
  541. <bool>false</bool>
  542. </property>
  543. </widget>
  544. </widget>
  545. <layoutdefault spacing="6" margin="11"/>
  546. <customwidgets>
  547. <customwidget>
  548. <class>GridWidget</class>
  549. <extends>QWidget</extends>
  550. <header location="global">grid.h</header>
  551. <container>1</container>
  552. </customwidget>
  553. </customwidgets>
  554. <resources/>
  555. <connections/>
  556. </ui>