saveAsciiFileDlg.ui 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>AsciiSaveDialog</class>
  4. <widget class="QDialog" name="AsciiSaveDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>454</width>
  10. <height>450</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Save ASCII file</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_2">
  17. <item>
  18. <layout class="QFormLayout" name="formLayout">
  19. <item row="0" column="0">
  20. <widget class="QLabel" name="label">
  21. <property name="text">
  22. <string>coordinates precision</string>
  23. </property>
  24. </widget>
  25. </item>
  26. <item row="0" column="1">
  27. <widget class="QSpinBox" name="coordsPrecisionSpinBox">
  28. <property name="maximum">
  29. <number>16</number>
  30. </property>
  31. <property name="value">
  32. <number>8</number>
  33. </property>
  34. </widget>
  35. </item>
  36. <item row="1" column="0">
  37. <widget class="QLabel" name="label_2">
  38. <property name="text">
  39. <string>scalar precision</string>
  40. </property>
  41. </widget>
  42. </item>
  43. <item row="1" column="1">
  44. <widget class="QSpinBox" name="sfPrecisionSpinBox">
  45. <property name="maximum">
  46. <number>12</number>
  47. </property>
  48. <property name="value">
  49. <number>6</number>
  50. </property>
  51. </widget>
  52. </item>
  53. <item row="2" column="0">
  54. <widget class="QLabel" name="label_3">
  55. <property name="text">
  56. <string>separator</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="2" column="1">
  61. <widget class="QComboBox" name="separatorComboBox">
  62. <item>
  63. <property name="text">
  64. <string>space</string>
  65. </property>
  66. </item>
  67. <item>
  68. <property name="text">
  69. <string>semicolon</string>
  70. </property>
  71. </item>
  72. <item>
  73. <property name="text">
  74. <string>comma</string>
  75. </property>
  76. </item>
  77. <item>
  78. <property name="text">
  79. <string>tab</string>
  80. </property>
  81. </item>
  82. </widget>
  83. </item>
  84. <item row="3" column="0">
  85. <widget class="QLabel" name="label_4">
  86. <property name="text">
  87. <string>order</string>
  88. </property>
  89. </widget>
  90. </item>
  91. <item row="3" column="1">
  92. <widget class="QComboBox" name="orderComboBox">
  93. <item>
  94. <property name="text">
  95. <string>[ASC] point, color, SF(s), normal</string>
  96. </property>
  97. </item>
  98. <item>
  99. <property name="text">
  100. <string>[PTS] point, SF(s), color, normal</string>
  101. </property>
  102. </item>
  103. </widget>
  104. </item>
  105. </layout>
  106. </item>
  107. <item>
  108. <widget class="QGroupBox" name="groupBox">
  109. <property name="title">
  110. <string>Header</string>
  111. </property>
  112. <layout class="QVBoxLayout" name="verticalLayout">
  113. <item>
  114. <widget class="QCheckBox" name="columnsHeaderCheckBox">
  115. <property name="text">
  116. <string>columns title</string>
  117. </property>
  118. </widget>
  119. </item>
  120. <item>
  121. <widget class="QCheckBox" name="pointCountHeaderCheckBox">
  122. <property name="text">
  123. <string>number of points (separate line)</string>
  124. </property>
  125. </widget>
  126. </item>
  127. </layout>
  128. </widget>
  129. </item>
  130. <item>
  131. <widget class="QGroupBox" name="colorOptionsGroupBox">
  132. <property name="title">
  133. <string>Colors</string>
  134. </property>
  135. <layout class="QVBoxLayout" name="verticalLayout_3">
  136. <item>
  137. <widget class="QCheckBox" name="saveFloatColorsCheckBox">
  138. <property name="toolTip">
  139. <string>Save RGB color components as floats values between 0 and 1</string>
  140. </property>
  141. <property name="text">
  142. <string>Save colors as float values (0-1)</string>
  143. </property>
  144. </widget>
  145. </item>
  146. <item>
  147. <widget class="QCheckBox" name="saveAlphaChannelCheckBox">
  148. <property name="toolTip">
  149. <string>Save RGB color components as floats values between 0 and 1</string>
  150. </property>
  151. <property name="text">
  152. <string>Save alpha channel</string>
  153. </property>
  154. </widget>
  155. </item>
  156. </layout>
  157. </widget>
  158. </item>
  159. <item>
  160. <spacer name="verticalSpacer">
  161. <property name="orientation">
  162. <enum>Qt::Vertical</enum>
  163. </property>
  164. <property name="sizeHint" stdset="0">
  165. <size>
  166. <width>20</width>
  167. <height>40</height>
  168. </size>
  169. </property>
  170. </spacer>
  171. </item>
  172. <item>
  173. <widget class="QDialogButtonBox" name="buttonBox">
  174. <property name="orientation">
  175. <enum>Qt::Horizontal</enum>
  176. </property>
  177. <property name="standardButtons">
  178. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  179. </property>
  180. </widget>
  181. </item>
  182. </layout>
  183. </widget>
  184. <resources/>
  185. <connections>
  186. <connection>
  187. <sender>buttonBox</sender>
  188. <signal>accepted()</signal>
  189. <receiver>AsciiSaveDialog</receiver>
  190. <slot>accept()</slot>
  191. <hints>
  192. <hint type="sourcelabel">
  193. <x>248</x>
  194. <y>254</y>
  195. </hint>
  196. <hint type="destinationlabel">
  197. <x>157</x>
  198. <y>274</y>
  199. </hint>
  200. </hints>
  201. </connection>
  202. <connection>
  203. <sender>buttonBox</sender>
  204. <signal>rejected()</signal>
  205. <receiver>AsciiSaveDialog</receiver>
  206. <slot>reject()</slot>
  207. <hints>
  208. <hint type="sourcelabel">
  209. <x>316</x>
  210. <y>260</y>
  211. </hint>
  212. <hint type="destinationlabel">
  213. <x>286</x>
  214. <y>274</y>
  215. </hint>
  216. </hints>
  217. </connection>
  218. </connections>
  219. </ui>