sfArithmeticsDlg.ui 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>SFArithmeticsDlg</class>
  4. <widget class="QDialog" name="SFArithmeticsDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>300</width>
  10. <height>218</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Scalar fields arithmetics</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QFormLayout" name="formLayout">
  19. <item row="0" column="0">
  20. <widget class="QLabel" name="comboLabel">
  21. <property name="maximumSize">
  22. <size>
  23. <width>80</width>
  24. <height>16777215</height>
  25. </size>
  26. </property>
  27. <property name="text">
  28. <string>SF 1</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item row="0" column="1">
  33. <widget class="QComboBox" name="sf1ComboBox">
  34. <property name="sizePolicy">
  35. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  36. <horstretch>0</horstretch>
  37. <verstretch>0</verstretch>
  38. </sizepolicy>
  39. </property>
  40. </widget>
  41. </item>
  42. <item row="1" column="0">
  43. <widget class="QLabel" name="comboLabel_3">
  44. <property name="maximumSize">
  45. <size>
  46. <width>80</width>
  47. <height>16777215</height>
  48. </size>
  49. </property>
  50. <property name="text">
  51. <string>operation</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="1" column="1">
  56. <widget class="QComboBox" name="operationComboBox">
  57. <property name="currentIndex">
  58. <number>0</number>
  59. </property>
  60. <property name="maxVisibleItems">
  61. <number>20</number>
  62. </property>
  63. <item>
  64. <property name="text">
  65. <string>plus</string>
  66. </property>
  67. </item>
  68. <item>
  69. <property name="text">
  70. <string>minus</string>
  71. </property>
  72. </item>
  73. <item>
  74. <property name="text">
  75. <string>multiply</string>
  76. </property>
  77. </item>
  78. <item>
  79. <property name="text">
  80. <string>divided by</string>
  81. </property>
  82. </item>
  83. <item>
  84. <property name="text">
  85. <string>min</string>
  86. </property>
  87. </item>
  88. <item>
  89. <property name="text">
  90. <string>max</string>
  91. </property>
  92. </item>
  93. <item>
  94. <property name="text">
  95. <string>square root</string>
  96. </property>
  97. </item>
  98. <item>
  99. <property name="text">
  100. <string>power of 2</string>
  101. </property>
  102. </item>
  103. <item>
  104. <property name="text">
  105. <string>power of 3</string>
  106. </property>
  107. </item>
  108. <item>
  109. <property name="text">
  110. <string notr="true">exp</string>
  111. </property>
  112. </item>
  113. <item>
  114. <property name="text">
  115. <string notr="true">log</string>
  116. </property>
  117. </item>
  118. <item>
  119. <property name="text">
  120. <string notr="true">log10</string>
  121. </property>
  122. </item>
  123. <item>
  124. <property name="text">
  125. <string notr="true">cos</string>
  126. </property>
  127. </item>
  128. <item>
  129. <property name="text">
  130. <string notr="true">sin</string>
  131. </property>
  132. </item>
  133. <item>
  134. <property name="text">
  135. <string notr="true">tan</string>
  136. </property>
  137. </item>
  138. <item>
  139. <property name="text">
  140. <string notr="true">acos</string>
  141. </property>
  142. </item>
  143. <item>
  144. <property name="text">
  145. <string notr="true">asin</string>
  146. </property>
  147. </item>
  148. <item>
  149. <property name="text">
  150. <string notr="true">atan</string>
  151. </property>
  152. </item>
  153. <item>
  154. <property name="text">
  155. <string>integer part</string>
  156. </property>
  157. </item>
  158. <item>
  159. <property name="text">
  160. <string>inverse (1/x)</string>
  161. </property>
  162. </item>
  163. <item>
  164. <property name="text">
  165. <string>set</string>
  166. </property>
  167. </item>
  168. <item>
  169. <property name="text">
  170. <string>abs</string>
  171. </property>
  172. </item>
  173. </widget>
  174. </item>
  175. <item row="2" column="0">
  176. <widget class="QLabel" name="comboLabel_2">
  177. <property name="maximumSize">
  178. <size>
  179. <width>80</width>
  180. <height>16777215</height>
  181. </size>
  182. </property>
  183. <property name="text">
  184. <string>SF 2</string>
  185. </property>
  186. </widget>
  187. </item>
  188. <item row="2" column="1">
  189. <widget class="QComboBox" name="sf2ComboBox">
  190. <property name="sizePolicy">
  191. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  192. <horstretch>0</horstretch>
  193. <verstretch>0</verstretch>
  194. </sizepolicy>
  195. </property>
  196. </widget>
  197. </item>
  198. <item row="3" column="1">
  199. <widget class="QDoubleSpinBox" name="constantDoubleSpinBox">
  200. <property name="enabled">
  201. <bool>false</bool>
  202. </property>
  203. <property name="decimals">
  204. <number>6</number>
  205. </property>
  206. <property name="minimum">
  207. <double>-100000000.000000000000000</double>
  208. </property>
  209. <property name="maximum">
  210. <double>100000000.000000000000000</double>
  211. </property>
  212. <property name="value">
  213. <double>1.000000000000000</double>
  214. </property>
  215. </widget>
  216. </item>
  217. </layout>
  218. </item>
  219. <item>
  220. <widget class="QCheckBox" name="updateSF1CheckBox">
  221. <property name="toolTip">
  222. <string>Update the first scalar field directly (instead of creating a new SF)</string>
  223. </property>
  224. <property name="text">
  225. <string>Update SF1 directly</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item>
  230. <widget class="QDialogButtonBox" name="buttonBox">
  231. <property name="orientation">
  232. <enum>Qt::Horizontal</enum>
  233. </property>
  234. <property name="standardButtons">
  235. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  236. </property>
  237. </widget>
  238. </item>
  239. </layout>
  240. </widget>
  241. <resources/>
  242. <connections>
  243. <connection>
  244. <sender>buttonBox</sender>
  245. <signal>accepted()</signal>
  246. <receiver>SFArithmeticsDlg</receiver>
  247. <slot>accept()</slot>
  248. <hints>
  249. <hint type="sourcelabel">
  250. <x>280</x>
  251. <y>262</y>
  252. </hint>
  253. <hint type="destinationlabel">
  254. <x>199</x>
  255. <y>151</y>
  256. </hint>
  257. </hints>
  258. </connection>
  259. <connection>
  260. <sender>buttonBox</sender>
  261. <signal>rejected()</signal>
  262. <receiver>SFArithmeticsDlg</receiver>
  263. <slot>reject()</slot>
  264. <hints>
  265. <hint type="sourcelabel">
  266. <x>99</x>
  267. <y>105</y>
  268. </hint>
  269. <hint type="destinationlabel">
  270. <x>99</x>
  271. <y>63</y>
  272. </hint>
  273. </hints>
  274. </connection>
  275. </connections>
  276. </ui>