BitmapExportDialog.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>BitmapExport</class>
  4. <widget class="QDialog" name="BitmapExport">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>356</width>
  10. <height>587</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Bitmap Export</string>
  15. </property>
  16. <property name="modal">
  17. <bool>true</bool>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout_3">
  20. <item>
  21. <widget class="QGroupBox" name="Size">
  22. <property name="title">
  23. <string>Size</string>
  24. </property>
  25. <layout class="QFormLayout" name="formLayout">
  26. <item row="0" column="0">
  27. <widget class="QLabel" name="label">
  28. <property name="text">
  29. <string>Width:</string>
  30. </property>
  31. <property name="buddy">
  32. <cstring>Width</cstring>
  33. </property>
  34. </widget>
  35. </item>
  36. <item row="0" column="1">
  37. <widget class="RMathLineEdit" name="Width">
  38. <property name="text">
  39. <string notr="true">640</string>
  40. </property>
  41. <property name="angle" stdset="0">
  42. <bool>false</bool>
  43. </property>
  44. <property name="defaultUnit" stdset="0">
  45. <number>0</number>
  46. </property>
  47. </widget>
  48. </item>
  49. <item row="1" column="0">
  50. <widget class="QLabel" name="label_2">
  51. <property name="text">
  52. <string>Height:</string>
  53. </property>
  54. <property name="buddy">
  55. <cstring>Height</cstring>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="1" column="1">
  60. <widget class="RMathLineEdit" name="Height">
  61. <property name="text">
  62. <string notr="true">480</string>
  63. </property>
  64. <property name="angle" stdset="0">
  65. <bool>false</bool>
  66. </property>
  67. <property name="defaultUnit" stdset="0">
  68. <number>0</number>
  69. </property>
  70. </widget>
  71. </item>
  72. <item row="2" column="0">
  73. <widget class="QLabel" name="label_3">
  74. <property name="text">
  75. <string>Pixels per drawing unit:</string>
  76. </property>
  77. <property name="buddy">
  78. <cstring>Resolution</cstring>
  79. </property>
  80. </widget>
  81. </item>
  82. <item row="2" column="1">
  83. <widget class="QComboBox" name="Resolution">
  84. <property name="editable">
  85. <bool>true</bool>
  86. </property>
  87. <item>
  88. <property name="text">
  89. <string notr="true">auto</string>
  90. </property>
  91. </item>
  92. <item>
  93. <property name="text">
  94. <string notr="true">1</string>
  95. </property>
  96. </item>
  97. <item>
  98. <property name="text">
  99. <string notr="true">2</string>
  100. </property>
  101. </item>
  102. <item>
  103. <property name="text">
  104. <string notr="true">3</string>
  105. </property>
  106. </item>
  107. <item>
  108. <property name="text">
  109. <string notr="true">4</string>
  110. </property>
  111. </item>
  112. <item>
  113. <property name="text">
  114. <string notr="true">5</string>
  115. </property>
  116. </item>
  117. <item>
  118. <property name="text">
  119. <string notr="true">10</string>
  120. </property>
  121. </item>
  122. <item>
  123. <property name="text">
  124. <string notr="true">20</string>
  125. </property>
  126. </item>
  127. <item>
  128. <property name="text">
  129. <string notr="true">25</string>
  130. </property>
  131. </item>
  132. <item>
  133. <property name="text">
  134. <string notr="true">50</string>
  135. </property>
  136. </item>
  137. <item>
  138. <property name="text">
  139. <string notr="true">100</string>
  140. </property>
  141. </item>
  142. </widget>
  143. </item>
  144. <item row="3" column="0" colspan="2">
  145. <widget class="QCheckBox" name="Selection">
  146. <property name="text">
  147. <string>Export bounding box of selection</string>
  148. </property>
  149. </widget>
  150. </item>
  151. </layout>
  152. </widget>
  153. </item>
  154. <item>
  155. <widget class="QGroupBox" name="Background">
  156. <property name="title">
  157. <string>Background</string>
  158. </property>
  159. <layout class="QVBoxLayout" name="verticalLayout">
  160. <item>
  161. <widget class="QRadioButton" name="WhiteBackground">
  162. <property name="text">
  163. <string>White</string>
  164. </property>
  165. <property name="checked">
  166. <bool>false</bool>
  167. </property>
  168. </widget>
  169. </item>
  170. <item>
  171. <widget class="QRadioButton" name="BlackBackground">
  172. <property name="text">
  173. <string>Black</string>
  174. </property>
  175. <property name="checked">
  176. <bool>true</bool>
  177. </property>
  178. </widget>
  179. </item>
  180. <item>
  181. <widget class="QRadioButton" name="TransparentBackground">
  182. <property name="text">
  183. <string>Transparent</string>
  184. </property>
  185. </widget>
  186. </item>
  187. </layout>
  188. </widget>
  189. </item>
  190. <item>
  191. <widget class="QGroupBox" name="Color">
  192. <property name="title">
  193. <string>Color</string>
  194. </property>
  195. <layout class="QVBoxLayout" name="verticalLayout">
  196. <item>
  197. <widget class="QRadioButton" name="ColorMonochrome">
  198. <property name="text">
  199. <string>Monochrome</string>
  200. </property>
  201. <property name="checked">
  202. <bool>false</bool>
  203. </property>
  204. </widget>
  205. </item>
  206. <item>
  207. <widget class="QRadioButton" name="ColorGrayscale">
  208. <property name="text">
  209. <string>Grayscale</string>
  210. </property>
  211. </widget>
  212. </item>
  213. <item>
  214. <widget class="QRadioButton" name="ColorFull">
  215. <property name="text">
  216. <string>Color</string>
  217. </property>
  218. <property name="checked">
  219. <bool>true</bool>
  220. </property>
  221. </widget>
  222. </item>
  223. </layout>
  224. </widget>
  225. </item>
  226. <item>
  227. <widget class="QGroupBox" name="AntiAliasingGroup">
  228. <property name="title">
  229. <string>Anti-aliasing</string>
  230. </property>
  231. <layout class="QVBoxLayout" name="verticalLayout">
  232. <item>
  233. <widget class="QCheckBox" name="AntiAliasing">
  234. <property name="text">
  235. <string>Use anti-aliasing</string>
  236. </property>
  237. <property name="checked">
  238. <bool>true</bool>
  239. </property>
  240. </widget>
  241. </item>
  242. </layout>
  243. </widget>
  244. </item>
  245. <item>
  246. <widget class="QGroupBox" name="MarginGroup">
  247. <property name="title">
  248. <string>Margin</string>
  249. </property>
  250. <layout class="QVBoxLayout" name="verticalLayout_2">
  251. <item>
  252. <layout class="QHBoxLayout" name="horizontalLayout">
  253. <item>
  254. <widget class="QLabel" name="label_4">
  255. <property name="text">
  256. <string>Margin:</string>
  257. </property>
  258. </widget>
  259. </item>
  260. <item>
  261. <widget class="QComboBox" name="Margin">
  262. <property name="editable">
  263. <bool>true</bool>
  264. </property>
  265. <property name="currentIndex">
  266. <number>6</number>
  267. </property>
  268. <item>
  269. <property name="text">
  270. <string notr="true">0</string>
  271. </property>
  272. </item>
  273. <item>
  274. <property name="text">
  275. <string notr="true">1</string>
  276. </property>
  277. </item>
  278. <item>
  279. <property name="text">
  280. <string notr="true">2</string>
  281. </property>
  282. </item>
  283. <item>
  284. <property name="text">
  285. <string notr="true">3</string>
  286. </property>
  287. </item>
  288. <item>
  289. <property name="text">
  290. <string notr="true">4</string>
  291. </property>
  292. </item>
  293. <item>
  294. <property name="text">
  295. <string notr="true">5</string>
  296. </property>
  297. </item>
  298. <item>
  299. <property name="text">
  300. <string notr="true">10</string>
  301. </property>
  302. </item>
  303. <item>
  304. <property name="text">
  305. <string notr="true">15</string>
  306. </property>
  307. </item>
  308. <item>
  309. <property name="text">
  310. <string notr="true">20</string>
  311. </property>
  312. </item>
  313. </widget>
  314. </item>
  315. <item>
  316. <widget class="QLabel" name="label_5">
  317. <property name="text">
  318. <string>px</string>
  319. </property>
  320. </widget>
  321. </item>
  322. </layout>
  323. </item>
  324. <item>
  325. <widget class="QCheckBox" name="WeightMargin">
  326. <property name="text">
  327. <string>Add extra margin to compensate for line weight</string>
  328. </property>
  329. <property name="checked">
  330. <bool>true</bool>
  331. </property>
  332. </widget>
  333. </item>
  334. </layout>
  335. </widget>
  336. </item>
  337. <item>
  338. <spacer name="verticalSpacer">
  339. <property name="orientation">
  340. <enum>Qt::Vertical</enum>
  341. </property>
  342. <property name="sizeHint" stdset="0">
  343. <size>
  344. <width>20</width>
  345. <height>40</height>
  346. </size>
  347. </property>
  348. </spacer>
  349. </item>
  350. <item>
  351. <widget class="QDialogButtonBox" name="buttonBox">
  352. <property name="standardButtons">
  353. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  354. </property>
  355. </widget>
  356. </item>
  357. </layout>
  358. </widget>
  359. <customwidgets>
  360. <customwidget>
  361. <class>RMathLineEdit</class>
  362. <extends>QLineEdit</extends>
  363. <header>RMathLineEdit.h</header>
  364. </customwidget>
  365. </customwidgets>
  366. <tabstops>
  367. <tabstop>Width</tabstop>
  368. <tabstop>Height</tabstop>
  369. <tabstop>Resolution</tabstop>
  370. <tabstop>WhiteBackground</tabstop>
  371. <tabstop>BlackBackground</tabstop>
  372. <tabstop>buttonBox</tabstop>
  373. </tabstops>
  374. <resources/>
  375. <connections>
  376. <connection>
  377. <sender>buttonBox</sender>
  378. <signal>accepted()</signal>
  379. <receiver>BitmapExport</receiver>
  380. <slot>accept()</slot>
  381. <hints>
  382. <hint type="sourcelabel">
  383. <x>268</x>
  384. <y>263</y>
  385. </hint>
  386. <hint type="destinationlabel">
  387. <x>286</x>
  388. <y>227</y>
  389. </hint>
  390. </hints>
  391. </connection>
  392. <connection>
  393. <sender>buttonBox</sender>
  394. <signal>rejected()</signal>
  395. <receiver>BitmapExport</receiver>
  396. <slot>reject()</slot>
  397. <hints>
  398. <hint type="sourcelabel">
  399. <x>224</x>
  400. <y>260</y>
  401. </hint>
  402. <hint type="destinationlabel">
  403. <x>236</x>
  404. <y>209</y>
  405. </hint>
  406. </hints>
  407. </connection>
  408. </connections>
  409. </ui>