extScale.ui 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ScaleDialog</class>
  4. <widget class="QDialog" name="ScaleDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>250</width>
  10. <height>200</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Set Printing Scale</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="resources.qrc">
  18. <normaloff>:res/zint-qt.ico</normaloff>:res/zint-qt.ico</iconset>
  19. </property>
  20. <layout class="QVBoxLayout" name="verticalLayoutScale">
  21. <item>
  22. <layout class="QGridLayout" name="gridLayoutScale">
  23. <item row="0" column="0">
  24. <widget class="QLabel" name="lblXdim">
  25. <property name="maximumSize">
  26. <size>
  27. <width>120</width>
  28. <height>16777215</height>
  29. </size>
  30. </property>
  31. <property name="toolTip">
  32. <string>X-dimension in selected units</string>
  33. </property>
  34. <property name="text">
  35. <string>&amp;X-dimension:</string>
  36. </property>
  37. <property name="buddy">
  38. <cstring>spnXdim</cstring>
  39. </property>
  40. </widget>
  41. </item>
  42. <item row="0" column="1">
  43. <widget class="QDoubleSpinBox" name="spnXdim">
  44. <property name="toolTip">
  45. <string>X-dimension in selected units</string>
  46. </property>
  47. <property name="suffix">
  48. <string/>
  49. </property>
  50. <property name="decimals">
  51. <number>5</number>
  52. </property>
  53. <property name="minimum">
  54. <double>0.001000000000000</double>
  55. </property>
  56. <property name="maximum">
  57. <double>10.000000000000000</double>
  58. </property>
  59. <property name="singleStep">
  60. <double>0.010000000000000</double>
  61. </property>
  62. <property name="value">
  63. <double>1.000000000000000</double>
  64. </property>
  65. </widget>
  66. </item>
  67. <item row="0" column="2">
  68. <widget class="QComboBox" name="cmbXdimUnits">
  69. <property name="toolTip">
  70. <string>X-dimension units (millimetres or inches)</string>
  71. </property>
  72. <property name="maximumSize">
  73. <size>
  74. <width>80</width>
  75. <height>16777215</height>
  76. </size>
  77. </property>
  78. <item>
  79. <property name="text">
  80. <string>mm</string>
  81. </property>
  82. </item>
  83. <item>
  84. <property name="text">
  85. <string>in</string>
  86. </property>
  87. </item>
  88. </widget>
  89. </item>
  90. <item row="0" column="3">
  91. <widget class="QPushButton" name="btnXdimDefault">
  92. <property name="autoDefault">
  93. <bool>false</bool>
  94. </property>
  95. <property name="maximumSize">
  96. <size>
  97. <width>80</width>
  98. <height>16777215</height>
  99. </size>
  100. </property>
  101. <property name="toolTip">
  102. <string>Reset X-dimension to default (symbology specific)</string>
  103. </property>
  104. <property name="text">
  105. <string>De&amp;fault</string>
  106. </property>
  107. <property name="sizeHint" stdset="0">
  108. <size>
  109. <width>40</width>
  110. <height>20</height>
  111. </size>
  112. </property>
  113. </widget>
  114. </item>
  115. <item row="1" column="0">
  116. <widget class="QLabel" name="lblResolution">
  117. <property name="maximumSize">
  118. <size>
  119. <width>120</width>
  120. <height>16777215</height>
  121. </size>
  122. </property>
  123. <property name="toolTip">
  124. <string>Resolution (dot density) in selected units</string>
  125. </property>
  126. <property name="text">
  127. <string>&amp;Resolution:</string>
  128. </property>
  129. <property name="buddy">
  130. <cstring>spnResolution</cstring>
  131. </property>
  132. </widget>
  133. </item>
  134. <item row="1" column="1">
  135. <widget class="QSpinBox" name="spnResolution">
  136. <property name="toolTip">
  137. <string>Resolution (dot density) in selected units</string>
  138. </property>
  139. <property name="suffix">
  140. <string/>
  141. </property>
  142. <property name="maximum">
  143. <number>25400</number>
  144. </property>
  145. <property name="minimum">
  146. <number>1</number>
  147. </property>
  148. <property name="value">
  149. <number>12</number>
  150. </property>
  151. </widget>
  152. </item>
  153. <item row="1" column="2">
  154. <widget class="QComboBox" name="cmbResolutionUnits">
  155. <property name="toolTip">
  156. <string>Resolution units (dots per mm or dots per inch)</string>
  157. </property>
  158. <property name="maximumSize">
  159. <size>
  160. <width>80</width>
  161. <height>16777215</height>
  162. </size>
  163. </property>
  164. <item>
  165. <property name="text">
  166. <string>dpmm</string>
  167. </property>
  168. </item>
  169. <item>
  170. <property name="text">
  171. <string>dpi</string>
  172. </property>
  173. </item>
  174. </widget>
  175. </item>
  176. <item row="1" column="3">
  177. <widget class="QPushButton" name="btnResolutionDefault">
  178. <property name="autoDefault">
  179. <bool>false</bool>
  180. </property>
  181. <property name="maximumSize">
  182. <size>
  183. <width>80</width>
  184. <height>16777215</height>
  185. </size>
  186. </property>
  187. <property name="toolTip">
  188. <string>Reset resolution to default (12 dpmm or 300 dpi)</string>
  189. </property>
  190. <property name="text">
  191. <string>Defau&amp;lt</string>
  192. </property>
  193. </widget>
  194. </item>
  195. <item row="2" column="0">
  196. <widget class="QLabel" name="lblFileType">
  197. <property name="maximumSize">
  198. <size>
  199. <width>120</width>
  200. <height>16777215</height>
  201. </size>
  202. </property>
  203. <property name="toolTip">
  204. <string>The type of file which will be outputted to</string>
  205. </property>
  206. <property name="text">
  207. <string>File &amp;Type:</string>
  208. </property>
  209. <property name="buddy">
  210. <cstring>cmbFileType</cstring>
  211. </property>
  212. </widget>
  213. </item>
  214. <item row="2" column="1" colspan="3">
  215. <widget class="QComboBox" name="cmbFileType">
  216. <property name="toolTip">
  217. <string>The type of file which will be outputted to</string>
  218. </property>
  219. <item>
  220. <property name="text">
  221. <string>Raster (BMP/GIF/PCX/PNG/TIF)</string>
  222. </property>
  223. </item>
  224. <item>
  225. <property name="text">
  226. <string>Vector (excluding EMF)</string>
  227. </property>
  228. </item>
  229. <item>
  230. <property name="text">
  231. <string>Extended Metafile (EMF)</string>
  232. </property>
  233. </item>
  234. </widget>
  235. </item>
  236. <item row="3" column="0">
  237. <widget class="QLabel" name="lblPrintingScale">
  238. <property name="maximumSize">
  239. <size>
  240. <width>120</width>
  241. <height>16777215</height>
  242. </size>
  243. </property>
  244. <property name="toolTip">
  245. <string>Calculated scale</string>
  246. </property>
  247. <property name="text">
  248. <string>Printing Scale:</string>
  249. </property>
  250. </widget>
  251. </item>
  252. <item row="3" column="1" colspan="3">
  253. <widget class="QLabel" name="msgPrintingScale">
  254. <property name="toolTip">
  255. <string>Calculated scale</string>
  256. </property>
  257. <property name="text">
  258. <string/>
  259. </property>
  260. </widget>
  261. </item>
  262. <item row="4" column="0">
  263. <widget class="QLabel" name="lblWidthHeight">
  264. <property name="maximumSize">
  265. <size>
  266. <width>120</width>
  267. <height>16777215</height>
  268. </size>
  269. </property>
  270. <property name="toolTip">
  271. <string>Image size (width x height) of barcode</string>
  272. </property>
  273. <property name="text">
  274. <string>Print Size:</string>
  275. </property>
  276. </widget>
  277. </item>
  278. <item row="4" column="1" colspan="3">
  279. <widget class="QLabel" name="msgWidthHeight">
  280. <property name="toolTip">
  281. <string>Image size (width x height) of barcode</string>
  282. </property>
  283. <property name="text">
  284. <string/>
  285. </property>
  286. </widget>
  287. </item>
  288. </layout>
  289. </item>
  290. <item>
  291. <spacer name="verticalSpacerScale">
  292. <property name="orientation">
  293. <enum>Qt::Vertical</enum>
  294. </property>
  295. <property name="sizeHint" stdset="0">
  296. <size>
  297. <width>40</width>
  298. <height>10</height>
  299. </size>
  300. </property>
  301. </spacer>
  302. </item>
  303. <item>
  304. <layout class="QHBoxLayout" name="horzLayoutScaleBtns">
  305. <item>
  306. <widget class="QPushButton" name="btnScaleUnset">
  307. <property name="autoDefault">
  308. <bool>false</bool>
  309. </property>
  310. <property name="text">
  311. <string> &amp;Unset</string>
  312. </property>
  313. <property name="toolTip">
  314. <string>Reset the scale to the original value and
  315. mark the settings as unset</string>
  316. </property>
  317. </widget>
  318. </item>
  319. <item>
  320. <spacer name="horzSpacerScaleBtns">
  321. <property name="orientation">
  322. <enum>Qt::Horizontal</enum>
  323. </property>
  324. <property name="sizeHint" stdset="0">
  325. <size>
  326. <width>40</width>
  327. <height>20</height>
  328. </size>
  329. </property>
  330. </spacer>
  331. </item>
  332. <item>
  333. <widget class="QPushButton" name="btnOK">
  334. <property name="autoDefault">
  335. <bool>true</bool>
  336. </property>
  337. <property name="toolTip">
  338. <string>Close the window and update the Printing Scale</string>
  339. </property>
  340. <property name="text">
  341. <string>&amp;Ok</string>
  342. </property>
  343. </widget>
  344. </item>
  345. <item>
  346. <widget class="QPushButton" name="btnCancel">
  347. <property name="autoDefault">
  348. <bool>false</bool>
  349. </property>
  350. <property name="toolTip">
  351. <string>Close window without updating the Printing Scale</string>
  352. </property>
  353. <property name="text">
  354. <string>&amp;Cancel</string>
  355. </property>
  356. </widget>
  357. </item>
  358. </layout>
  359. </item>
  360. </layout>
  361. </widget>
  362. <resources/>
  363. <connections/>
  364. </ui>