primitiveFactoryDlg.ui 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>PrimitiveFactoryDlg</class>
  4. <widget class="QDialog" name="PrimitiveFactoryDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>689</width>
  10. <height>353</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Primitive factory</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_6">
  17. <item>
  18. <widget class="QTabWidget" name="tabWidget">
  19. <property name="currentIndex">
  20. <number>0</number>
  21. </property>
  22. <widget class="QWidget" name="planeTab">
  23. <attribute name="icon">
  24. <iconset resource="../icons.qrc">
  25. <normaloff>:/CC/images/primPlane.gif</normaloff>:/CC/images/primPlane.gif</iconset>
  26. </attribute>
  27. <attribute name="title">
  28. <string>Plane</string>
  29. </attribute>
  30. <layout class="QGridLayout" name="gridLayout">
  31. <item row="0" column="0">
  32. <layout class="QFormLayout" name="formLayout">
  33. <item row="0" column="0">
  34. <widget class="QLabel" name="label">
  35. <property name="text">
  36. <string notr="true">dx</string>
  37. </property>
  38. </widget>
  39. </item>
  40. <item row="0" column="1">
  41. <widget class="QDoubleSpinBox" name="planeWidthDoubleSpinBox">
  42. <property name="decimals">
  43. <number>6</number>
  44. </property>
  45. <property name="minimum">
  46. <double>0.000001000000000</double>
  47. </property>
  48. <property name="maximum">
  49. <double>100000000.000000000000000</double>
  50. </property>
  51. <property name="value">
  52. <double>1.000000000000000</double>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="1" column="0">
  57. <widget class="QLabel" name="label_2">
  58. <property name="text">
  59. <string notr="true">dy</string>
  60. </property>
  61. </widget>
  62. </item>
  63. <item row="1" column="1">
  64. <widget class="QDoubleSpinBox" name="planeHeightDoubleSpinBox">
  65. <property name="decimals">
  66. <number>6</number>
  67. </property>
  68. <property name="minimum">
  69. <double>0.000001000000000</double>
  70. </property>
  71. <property name="maximum">
  72. <double>100000000.000000000000000</double>
  73. </property>
  74. <property name="value">
  75. <double>1.000000000000000</double>
  76. </property>
  77. </widget>
  78. </item>
  79. </layout>
  80. </item>
  81. <item row="0" column="1">
  82. <spacer name="horizontalSpacer">
  83. <property name="orientation">
  84. <enum>Qt::Horizontal</enum>
  85. </property>
  86. <property name="sizeHint" stdset="0">
  87. <size>
  88. <width>333</width>
  89. <height>20</height>
  90. </size>
  91. </property>
  92. </spacer>
  93. </item>
  94. <item row="1" column="0">
  95. <spacer name="verticalSpacer">
  96. <property name="orientation">
  97. <enum>Qt::Vertical</enum>
  98. </property>
  99. <property name="sizeHint" stdset="0">
  100. <size>
  101. <width>20</width>
  102. <height>111</height>
  103. </size>
  104. </property>
  105. </spacer>
  106. </item>
  107. </layout>
  108. </widget>
  109. <widget class="QWidget" name="boxTab">
  110. <attribute name="icon">
  111. <iconset resource="../icons.qrc">
  112. <normaloff>:/CC/images/primBox.gif</normaloff>:/CC/images/primBox.gif</iconset>
  113. </attribute>
  114. <attribute name="title">
  115. <string>Box</string>
  116. </attribute>
  117. <layout class="QGridLayout" name="gridLayout_2">
  118. <item row="0" column="0">
  119. <layout class="QFormLayout" name="formLayout_2">
  120. <item row="0" column="0">
  121. <widget class="QLabel" name="label_3">
  122. <property name="text">
  123. <string notr="true">dx</string>
  124. </property>
  125. </widget>
  126. </item>
  127. <item row="0" column="1">
  128. <widget class="QDoubleSpinBox" name="boxDxDoubleSpinBox">
  129. <property name="decimals">
  130. <number>6</number>
  131. </property>
  132. <property name="minimum">
  133. <double>0.000001000000000</double>
  134. </property>
  135. <property name="maximum">
  136. <double>100000000.000000000000000</double>
  137. </property>
  138. <property name="value">
  139. <double>1.000000000000000</double>
  140. </property>
  141. </widget>
  142. </item>
  143. <item row="1" column="0">
  144. <widget class="QLabel" name="label_4">
  145. <property name="text">
  146. <string notr="true">dy</string>
  147. </property>
  148. </widget>
  149. </item>
  150. <item row="1" column="1">
  151. <widget class="QDoubleSpinBox" name="boxDyDoubleSpinBox">
  152. <property name="decimals">
  153. <number>6</number>
  154. </property>
  155. <property name="minimum">
  156. <double>0.000001000000000</double>
  157. </property>
  158. <property name="maximum">
  159. <double>100000000.000000000000000</double>
  160. </property>
  161. <property name="value">
  162. <double>1.000000000000000</double>
  163. </property>
  164. </widget>
  165. </item>
  166. <item row="2" column="0">
  167. <widget class="QLabel" name="label_5">
  168. <property name="text">
  169. <string notr="true">dz</string>
  170. </property>
  171. </widget>
  172. </item>
  173. <item row="2" column="1">
  174. <widget class="QDoubleSpinBox" name="boxDzDoubleSpinBox">
  175. <property name="decimals">
  176. <number>6</number>
  177. </property>
  178. <property name="minimum">
  179. <double>0.000001000000000</double>
  180. </property>
  181. <property name="maximum">
  182. <double>100000000.000000000000000</double>
  183. </property>
  184. <property name="value">
  185. <double>1.000000000000000</double>
  186. </property>
  187. </widget>
  188. </item>
  189. </layout>
  190. </item>
  191. <item row="0" column="1">
  192. <spacer name="horizontalSpacer_2">
  193. <property name="orientation">
  194. <enum>Qt::Horizontal</enum>
  195. </property>
  196. <property name="sizeHint" stdset="0">
  197. <size>
  198. <width>334</width>
  199. <height>20</height>
  200. </size>
  201. </property>
  202. </spacer>
  203. </item>
  204. <item row="1" column="0">
  205. <spacer name="verticalSpacer_2">
  206. <property name="orientation">
  207. <enum>Qt::Vertical</enum>
  208. </property>
  209. <property name="sizeHint" stdset="0">
  210. <size>
  211. <width>20</width>
  212. <height>85</height>
  213. </size>
  214. </property>
  215. </spacer>
  216. </item>
  217. </layout>
  218. </widget>
  219. <widget class="QWidget" name="sphereTab">
  220. <attribute name="icon">
  221. <iconset resource="../icons.qrc">
  222. <normaloff>:/CC/images/primSphere.gif</normaloff>:/CC/images/primSphere.gif</iconset>
  223. </attribute>
  224. <attribute name="title">
  225. <string>Sphere</string>
  226. </attribute>
  227. <layout class="QGridLayout" name="gridLayout_3">
  228. <item row="0" column="0">
  229. <layout class="QHBoxLayout" name="horizontalLayout">
  230. <item>
  231. <widget class="QLabel" name="label_6">
  232. <property name="text">
  233. <string>radius</string>
  234. </property>
  235. </widget>
  236. </item>
  237. <item>
  238. <widget class="QDoubleSpinBox" name="sphereRadiusDoubleSpinBox">
  239. <property name="decimals">
  240. <number>6</number>
  241. </property>
  242. <property name="minimum">
  243. <double>0.000001000000000</double>
  244. </property>
  245. <property name="maximum">
  246. <double>100000000.000000000000000</double>
  247. </property>
  248. <property name="value">
  249. <double>2.000000000000000</double>
  250. </property>
  251. </widget>
  252. </item>
  253. </layout>
  254. </item>
  255. <item row="0" column="1">
  256. <spacer name="horizontalSpacer_3">
  257. <property name="orientation">
  258. <enum>Qt::Horizontal</enum>
  259. </property>
  260. <property name="sizeHint" stdset="0">
  261. <size>
  262. <width>317</width>
  263. <height>20</height>
  264. </size>
  265. </property>
  266. </spacer>
  267. </item>
  268. <item row="3" column="0">
  269. <spacer name="verticalSpacer_3">
  270. <property name="orientation">
  271. <enum>Qt::Vertical</enum>
  272. </property>
  273. <property name="sizeHint" stdset="0">
  274. <size>
  275. <width>20</width>
  276. <height>136</height>
  277. </size>
  278. </property>
  279. </spacer>
  280. </item>
  281. <item row="1" column="0">
  282. <widget class="QGroupBox" name="groupBox">
  283. <property name="title">
  284. <string>Position</string>
  285. </property>
  286. <layout class="QGridLayout" name="gridLayout_7">
  287. <item row="2" column="0">
  288. <widget class="QLabel" name="label_21">
  289. <property name="text">
  290. <string notr="true">y</string>
  291. </property>
  292. </widget>
  293. </item>
  294. <item row="1" column="1">
  295. <widget class="QDoubleSpinBox" name="spherePosXDoubleSpinBox">
  296. <property name="decimals">
  297. <number>6</number>
  298. </property>
  299. <property name="minimum">
  300. <double>-1000000000.000000000000000</double>
  301. </property>
  302. <property name="maximum">
  303. <double>1000000000.000000000000000</double>
  304. </property>
  305. </widget>
  306. </item>
  307. <item row="2" column="1">
  308. <widget class="QDoubleSpinBox" name="spherePosYDoubleSpinBox">
  309. <property name="decimals">
  310. <number>6</number>
  311. </property>
  312. <property name="minimum">
  313. <double>-1000000000.000000000000000</double>
  314. </property>
  315. <property name="maximum">
  316. <double>1000000000.000000000000000</double>
  317. </property>
  318. </widget>
  319. </item>
  320. <item row="3" column="1">
  321. <widget class="QDoubleSpinBox" name="spherePosZDoubleSpinBox">
  322. <property name="decimals">
  323. <number>6</number>
  324. </property>
  325. <property name="minimum">
  326. <double>-1000000000.000000000000000</double>
  327. </property>
  328. <property name="maximum">
  329. <double>1000000000.000000000000000</double>
  330. </property>
  331. </widget>
  332. </item>
  333. <item row="3" column="0">
  334. <widget class="QLabel" name="label_22">
  335. <property name="text">
  336. <string notr="true">z</string>
  337. </property>
  338. </widget>
  339. </item>
  340. <item row="1" column="0">
  341. <widget class="QLabel" name="label_20">
  342. <property name="text">
  343. <string notr="true">x</string>
  344. </property>
  345. </widget>
  346. </item>
  347. <item row="5" column="0" colspan="2">
  348. <layout class="QHBoxLayout" name="horizontalLayout_3">
  349. <property name="topMargin">
  350. <number>0</number>
  351. </property>
  352. <property name="rightMargin">
  353. <number>0</number>
  354. </property>
  355. <item>
  356. <widget class="QPushButton" name="spherePosToOriginButton">
  357. <property name="toolTip">
  358. <string>Set position to origin</string>
  359. </property>
  360. <property name="text">
  361. <string>clear</string>
  362. </property>
  363. </widget>
  364. </item>
  365. <item>
  366. <widget class="QPushButton" name="spherePosFromClipboardButton">
  367. <property name="toolTip">
  368. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  369. </property>
  370. <property name="text">
  371. <string>clipboard</string>
  372. </property>
  373. <property name="icon">
  374. <iconset resource="../icons.qrc">
  375. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  376. </property>
  377. </widget>
  378. </item>
  379. </layout>
  380. </item>
  381. </layout>
  382. </widget>
  383. </item>
  384. </layout>
  385. </widget>
  386. <widget class="QWidget" name="cylTab">
  387. <attribute name="icon">
  388. <iconset resource="../icons.qrc">
  389. <normaloff>:/CC/images/primCylinder.gif</normaloff>:/CC/images/primCylinder.gif</iconset>
  390. </attribute>
  391. <attribute name="title">
  392. <string>Cylinder</string>
  393. </attribute>
  394. <layout class="QGridLayout" name="gridLayout_6">
  395. <item row="0" column="0">
  396. <layout class="QFormLayout" name="formLayout_6">
  397. <item row="0" column="0">
  398. <widget class="QLabel" name="label_7">
  399. <property name="text">
  400. <string>radius</string>
  401. </property>
  402. </widget>
  403. </item>
  404. <item row="0" column="1">
  405. <widget class="QDoubleSpinBox" name="cylRadiusDoubleSpinBox">
  406. <property name="decimals">
  407. <number>6</number>
  408. </property>
  409. <property name="minimum">
  410. <double>0.000001000000000</double>
  411. </property>
  412. <property name="maximum">
  413. <double>100000000.000000000000000</double>
  414. </property>
  415. <property name="value">
  416. <double>2.000000000000000</double>
  417. </property>
  418. </widget>
  419. </item>
  420. <item row="1" column="0">
  421. <widget class="QLabel" name="label_8">
  422. <property name="text">
  423. <string>height</string>
  424. </property>
  425. </widget>
  426. </item>
  427. <item row="1" column="1">
  428. <widget class="QDoubleSpinBox" name="cylHeightDoubleSpinBox">
  429. <property name="decimals">
  430. <number>6</number>
  431. </property>
  432. <property name="minimum">
  433. <double>0.000001000000000</double>
  434. </property>
  435. <property name="maximum">
  436. <double>100000000.000000000000000</double>
  437. </property>
  438. <property name="value">
  439. <double>5.000000000000000</double>
  440. </property>
  441. </widget>
  442. </item>
  443. </layout>
  444. </item>
  445. <item row="0" column="1">
  446. <spacer name="horizontalSpacer_6">
  447. <property name="orientation">
  448. <enum>Qt::Horizontal</enum>
  449. </property>
  450. <property name="sizeHint" stdset="0">
  451. <size>
  452. <width>316</width>
  453. <height>20</height>
  454. </size>
  455. </property>
  456. </spacer>
  457. </item>
  458. <item row="1" column="0">
  459. <spacer name="verticalSpacer_6">
  460. <property name="orientation">
  461. <enum>Qt::Vertical</enum>
  462. </property>
  463. <property name="sizeHint" stdset="0">
  464. <size>
  465. <width>20</width>
  466. <height>111</height>
  467. </size>
  468. </property>
  469. </spacer>
  470. </item>
  471. </layout>
  472. </widget>
  473. <widget class="QWidget" name="coneTab">
  474. <attribute name="icon">
  475. <iconset resource="../icons.qrc">
  476. <normaloff>:/CC/images/primCone.gif</normaloff>:/CC/images/primCone.gif</iconset>
  477. </attribute>
  478. <attribute name="title">
  479. <string>Cone</string>
  480. </attribute>
  481. <layout class="QGridLayout" name="gridLayout_4">
  482. <item row="0" column="0">
  483. <layout class="QVBoxLayout" name="verticalLayout">
  484. <item>
  485. <layout class="QFormLayout" name="formLayout_4">
  486. <item row="0" column="0">
  487. <widget class="QLabel" name="label_10">
  488. <property name="text">
  489. <string>top radius</string>
  490. </property>
  491. </widget>
  492. </item>
  493. <item row="0" column="1">
  494. <widget class="QDoubleSpinBox" name="coneTopRadiusDoubleSpinBox">
  495. <property name="decimals">
  496. <number>6</number>
  497. </property>
  498. <property name="minimum">
  499. <double>0.000000000000000</double>
  500. </property>
  501. <property name="maximum">
  502. <double>100000000.000000000000000</double>
  503. </property>
  504. <property name="value">
  505. <double>0.000000000000000</double>
  506. </property>
  507. </widget>
  508. </item>
  509. <item row="1" column="0">
  510. <widget class="QLabel" name="label_9">
  511. <property name="text">
  512. <string>bottom radius</string>
  513. </property>
  514. </widget>
  515. </item>
  516. <item row="1" column="1">
  517. <widget class="QDoubleSpinBox" name="coneBottomRadiusDoubleSpinBox">
  518. <property name="decimals">
  519. <number>6</number>
  520. </property>
  521. <property name="minimum">
  522. <double>0.000000000000000</double>
  523. </property>
  524. <property name="maximum">
  525. <double>100000000.000000000000000</double>
  526. </property>
  527. <property name="value">
  528. <double>2.000000000000000</double>
  529. </property>
  530. </widget>
  531. </item>
  532. <item row="2" column="0">
  533. <widget class="QLabel" name="label_11">
  534. <property name="text">
  535. <string>height</string>
  536. </property>
  537. </widget>
  538. </item>
  539. <item row="2" column="1">
  540. <widget class="QDoubleSpinBox" name="coneHeightDoubleSpinBox">
  541. <property name="decimals">
  542. <number>6</number>
  543. </property>
  544. <property name="minimum">
  545. <double>0.000001000000000</double>
  546. </property>
  547. <property name="maximum">
  548. <double>100000000.000000000000000</double>
  549. </property>
  550. <property name="value">
  551. <double>3.000000000000000</double>
  552. </property>
  553. </widget>
  554. </item>
  555. </layout>
  556. </item>
  557. <item>
  558. <widget class="QGroupBox" name="snoutGroupBox">
  559. <property name="title">
  560. <string>Snout mode</string>
  561. </property>
  562. <property name="checkable">
  563. <bool>true</bool>
  564. </property>
  565. <property name="checked">
  566. <bool>false</bool>
  567. </property>
  568. <layout class="QFormLayout" name="formLayout_3">
  569. <item row="0" column="0">
  570. <widget class="QLabel" name="label_12">
  571. <property name="toolTip">
  572. <string>displacement of axes along X-axis</string>
  573. </property>
  574. <property name="statusTip">
  575. <string>displacement of axes along X-axis</string>
  576. </property>
  577. <property name="text">
  578. <string>x offset</string>
  579. </property>
  580. </widget>
  581. </item>
  582. <item row="0" column="1">
  583. <widget class="QDoubleSpinBox" name="coneXOffsetDoubleSpinBox">
  584. <property name="decimals">
  585. <number>6</number>
  586. </property>
  587. <property name="minimum">
  588. <double>0.000000000000000</double>
  589. </property>
  590. <property name="maximum">
  591. <double>100000000.000000000000000</double>
  592. </property>
  593. <property name="value">
  594. <double>0.000000000000000</double>
  595. </property>
  596. </widget>
  597. </item>
  598. <item row="1" column="0">
  599. <widget class="QLabel" name="label_13">
  600. <property name="toolTip">
  601. <string>displacement of axes along Y-axis</string>
  602. </property>
  603. <property name="statusTip">
  604. <string>displacement of axes along Y-axis</string>
  605. </property>
  606. <property name="text">
  607. <string>y offset</string>
  608. </property>
  609. </widget>
  610. </item>
  611. <item row="1" column="1">
  612. <widget class="QDoubleSpinBox" name="coneYOffsetDoubleSpinBox">
  613. <property name="decimals">
  614. <number>6</number>
  615. </property>
  616. <property name="minimum">
  617. <double>0.000000000000000</double>
  618. </property>
  619. <property name="maximum">
  620. <double>100000000.000000000000000</double>
  621. </property>
  622. <property name="value">
  623. <double>0.000000000000000</double>
  624. </property>
  625. </widget>
  626. </item>
  627. </layout>
  628. </widget>
  629. </item>
  630. </layout>
  631. </item>
  632. <item row="0" column="1">
  633. <spacer name="horizontalSpacer_4">
  634. <property name="orientation">
  635. <enum>Qt::Horizontal</enum>
  636. </property>
  637. <property name="sizeHint" stdset="0">
  638. <size>
  639. <width>278</width>
  640. <height>20</height>
  641. </size>
  642. </property>
  643. </spacer>
  644. </item>
  645. <item row="1" column="0">
  646. <spacer name="verticalSpacer_4">
  647. <property name="orientation">
  648. <enum>Qt::Vertical</enum>
  649. </property>
  650. <property name="sizeHint" stdset="0">
  651. <size>
  652. <width>20</width>
  653. <height>25</height>
  654. </size>
  655. </property>
  656. </spacer>
  657. </item>
  658. </layout>
  659. </widget>
  660. <widget class="QWidget" name="torusTab">
  661. <attribute name="icon">
  662. <iconset resource="../icons.qrc">
  663. <normaloff>:/CC/images/primTorus.gif</normaloff>:/CC/images/primTorus.gif</iconset>
  664. </attribute>
  665. <attribute name="title">
  666. <string>Torus</string>
  667. </attribute>
  668. <layout class="QGridLayout" name="gridLayout_5">
  669. <item row="0" column="0">
  670. <layout class="QVBoxLayout" name="verticalLayout_2">
  671. <item>
  672. <layout class="QFormLayout" name="formLayout_5">
  673. <item row="0" column="0">
  674. <widget class="QLabel" name="label_14">
  675. <property name="text">
  676. <string>inside radius</string>
  677. </property>
  678. </widget>
  679. </item>
  680. <item row="0" column="1">
  681. <widget class="QDoubleSpinBox" name="torusInsideRadiusDoubleSpinBox">
  682. <property name="decimals">
  683. <number>6</number>
  684. </property>
  685. <property name="minimum">
  686. <double>0.000001000000000</double>
  687. </property>
  688. <property name="maximum">
  689. <double>100000000.000000000000000</double>
  690. </property>
  691. <property name="value">
  692. <double>1.000000000000000</double>
  693. </property>
  694. </widget>
  695. </item>
  696. <item row="1" column="0">
  697. <widget class="QLabel" name="label_15">
  698. <property name="text">
  699. <string>outside radius</string>
  700. </property>
  701. </widget>
  702. </item>
  703. <item row="1" column="1">
  704. <widget class="QDoubleSpinBox" name="torusOutsideRadiusDoubleSpinBox">
  705. <property name="decimals">
  706. <number>6</number>
  707. </property>
  708. <property name="minimum">
  709. <double>0.000001000000000</double>
  710. </property>
  711. <property name="maximum">
  712. <double>100000000.000000000000000</double>
  713. </property>
  714. <property name="value">
  715. <double>1.500000000000000</double>
  716. </property>
  717. </widget>
  718. </item>
  719. <item row="2" column="0">
  720. <widget class="QLabel" name="label_16">
  721. <property name="text">
  722. <string>angle (degrees)</string>
  723. </property>
  724. </widget>
  725. </item>
  726. <item row="2" column="1">
  727. <widget class="QDoubleSpinBox" name="torusAngleDoubleSpinBox">
  728. <property name="decimals">
  729. <number>6</number>
  730. </property>
  731. <property name="minimum">
  732. <double>0.000001000000000</double>
  733. </property>
  734. <property name="maximum">
  735. <double>360.000000000000000</double>
  736. </property>
  737. <property name="value">
  738. <double>360.000000000000000</double>
  739. </property>
  740. </widget>
  741. </item>
  742. </layout>
  743. </item>
  744. <item>
  745. <widget class="QGroupBox" name="torusRectGroupBox">
  746. <property name="title">
  747. <string>Rectangular section</string>
  748. </property>
  749. <property name="checkable">
  750. <bool>true</bool>
  751. </property>
  752. <property name="checked">
  753. <bool>false</bool>
  754. </property>
  755. <layout class="QHBoxLayout" name="horizontalLayout_2">
  756. <item>
  757. <widget class="QLabel" name="label_17">
  758. <property name="text">
  759. <string>inside radius</string>
  760. </property>
  761. </widget>
  762. </item>
  763. <item>
  764. <widget class="QDoubleSpinBox" name="torusRectSectionHeightDoubleSpinBox">
  765. <property name="decimals">
  766. <number>6</number>
  767. </property>
  768. <property name="minimum">
  769. <double>0.000001000000000</double>
  770. </property>
  771. <property name="maximum">
  772. <double>100000000.000000000000000</double>
  773. </property>
  774. <property name="value">
  775. <double>1.000000000000000</double>
  776. </property>
  777. </widget>
  778. </item>
  779. </layout>
  780. </widget>
  781. </item>
  782. </layout>
  783. </item>
  784. <item row="0" column="1">
  785. <spacer name="horizontalSpacer_5">
  786. <property name="orientation">
  787. <enum>Qt::Horizontal</enum>
  788. </property>
  789. <property name="sizeHint" stdset="0">
  790. <size>
  791. <width>267</width>
  792. <height>20</height>
  793. </size>
  794. </property>
  795. </spacer>
  796. </item>
  797. <item row="1" column="0">
  798. <spacer name="verticalSpacer_5">
  799. <property name="orientation">
  800. <enum>Qt::Vertical</enum>
  801. </property>
  802. <property name="sizeHint" stdset="0">
  803. <size>
  804. <width>20</width>
  805. <height>24</height>
  806. </size>
  807. </property>
  808. </spacer>
  809. </item>
  810. </layout>
  811. </widget>
  812. <widget class="QWidget" name="dishTab">
  813. <attribute name="icon">
  814. <iconset resource="../icons.qrc">
  815. <normaloff>:/CC/images/primDish.gif</normaloff>:/CC/images/primDish.gif</iconset>
  816. </attribute>
  817. <attribute name="title">
  818. <string>Dish</string>
  819. </attribute>
  820. <layout class="QGridLayout" name="gridLayout_13">
  821. <item row="0" column="0">
  822. <layout class="QVBoxLayout" name="verticalLayout_5">
  823. <item>
  824. <layout class="QFormLayout" name="formLayout_13">
  825. <item row="0" column="0">
  826. <widget class="QLabel" name="label_18">
  827. <property name="text">
  828. <string>radius</string>
  829. </property>
  830. </widget>
  831. </item>
  832. <item row="0" column="1">
  833. <widget class="QDoubleSpinBox" name="dishRadiusDoubleSpinBox">
  834. <property name="decimals">
  835. <number>6</number>
  836. </property>
  837. <property name="minimum">
  838. <double>0.000001000000000</double>
  839. </property>
  840. <property name="maximum">
  841. <double>100000000.000000000000000</double>
  842. </property>
  843. <property name="value">
  844. <double>1.000000000000000</double>
  845. </property>
  846. </widget>
  847. </item>
  848. <item row="1" column="0">
  849. <widget class="QLabel" name="label_19">
  850. <property name="text">
  851. <string>height</string>
  852. </property>
  853. </widget>
  854. </item>
  855. <item row="1" column="1">
  856. <widget class="QDoubleSpinBox" name="dishHeightDoubleSpinBox">
  857. <property name="decimals">
  858. <number>6</number>
  859. </property>
  860. <property name="minimum">
  861. <double>0.000001000000000</double>
  862. </property>
  863. <property name="maximum">
  864. <double>100000000.000000000000000</double>
  865. </property>
  866. <property name="value">
  867. <double>0.500000000000000</double>
  868. </property>
  869. </widget>
  870. </item>
  871. </layout>
  872. </item>
  873. <item>
  874. <widget class="QGroupBox" name="dishEllipsoidGroupBox">
  875. <property name="title">
  876. <string>Ellipsoid mode</string>
  877. </property>
  878. <property name="checkable">
  879. <bool>true</bool>
  880. </property>
  881. <property name="checked">
  882. <bool>false</bool>
  883. </property>
  884. <layout class="QHBoxLayout" name="horizontalLayout_5">
  885. <item>
  886. <widget class="QLabel" name="label_39">
  887. <property name="text">
  888. <string>radius 2</string>
  889. </property>
  890. </widget>
  891. </item>
  892. <item>
  893. <widget class="QDoubleSpinBox" name="dishRadius2DoubleSpinBox">
  894. <property name="decimals">
  895. <number>6</number>
  896. </property>
  897. <property name="minimum">
  898. <double>0.000001000000000</double>
  899. </property>
  900. <property name="maximum">
  901. <double>100000000.000000000000000</double>
  902. </property>
  903. <property name="value">
  904. <double>1.000000000000000</double>
  905. </property>
  906. </widget>
  907. </item>
  908. </layout>
  909. </widget>
  910. </item>
  911. </layout>
  912. </item>
  913. <item row="0" column="1">
  914. <spacer name="horizontalSpacer_13">
  915. <property name="orientation">
  916. <enum>Qt::Horizontal</enum>
  917. </property>
  918. <property name="sizeHint" stdset="0">
  919. <size>
  920. <width>288</width>
  921. <height>20</height>
  922. </size>
  923. </property>
  924. </spacer>
  925. </item>
  926. <item row="1" column="0">
  927. <spacer name="verticalSpacer_13">
  928. <property name="orientation">
  929. <enum>Qt::Vertical</enum>
  930. </property>
  931. <property name="sizeHint" stdset="0">
  932. <size>
  933. <width>20</width>
  934. <height>50</height>
  935. </size>
  936. </property>
  937. </spacer>
  938. </item>
  939. </layout>
  940. </widget>
  941. <widget class="QWidget" name="coordinateSystemTab">
  942. <attribute name="title">
  943. <string>Coordinate System</string>
  944. </attribute>
  945. <layout class="QGridLayout" name="gridLayout_14">
  946. <item row="0" column="0">
  947. <layout class="QVBoxLayout" name="verticalLayout_3">
  948. <item>
  949. <widget class="QPlainTextEdit" name="csMatrixTextEdit"/>
  950. </item>
  951. </layout>
  952. </item>
  953. <item row="1" column="0">
  954. <layout class="QHBoxLayout" name="horizontalLayout_4">
  955. <item>
  956. <widget class="QPushButton" name="csClearMatrixButton">
  957. <property name="text">
  958. <string>Reset Matrix</string>
  959. </property>
  960. </widget>
  961. </item>
  962. <item>
  963. <widget class="QPushButton" name="csSetMatrixBasedOnSelectedObjectButton">
  964. <property name="toolTip">
  965. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select an item in the DB Tree&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  966. </property>
  967. <property name="text">
  968. <string>Get Selected Item Matrix</string>
  969. </property>
  970. </widget>
  971. </item>
  972. </layout>
  973. </item>
  974. </layout>
  975. </widget>
  976. </widget>
  977. </item>
  978. <item>
  979. <layout class="QHBoxLayout" name="horizontalLayout_6">
  980. <item>
  981. <widget class="QLabel" name="label_40">
  982. <property name="text">
  983. <string>Initial precision</string>
  984. </property>
  985. </widget>
  986. </item>
  987. <item>
  988. <widget class="QSpinBox" name="precisionSpinBox">
  989. <property name="minimum">
  990. <number>4</number>
  991. </property>
  992. <property name="maximum">
  993. <number>65536</number>
  994. </property>
  995. <property name="singleStep">
  996. <number>4</number>
  997. </property>
  998. <property name="value">
  999. <number>24</number>
  1000. </property>
  1001. </widget>
  1002. </item>
  1003. <item>
  1004. <spacer name="horizontalSpacer_14">
  1005. <property name="orientation">
  1006. <enum>Qt::Horizontal</enum>
  1007. </property>
  1008. <property name="sizeHint" stdset="0">
  1009. <size>
  1010. <width>40</width>
  1011. <height>20</height>
  1012. </size>
  1013. </property>
  1014. </spacer>
  1015. </item>
  1016. <item>
  1017. <widget class="QPushButton" name="createPushButton">
  1018. <property name="text">
  1019. <string>Create</string>
  1020. </property>
  1021. </widget>
  1022. </item>
  1023. <item>
  1024. <widget class="QPushButton" name="closePushButton">
  1025. <property name="text">
  1026. <string>Close</string>
  1027. </property>
  1028. </widget>
  1029. </item>
  1030. </layout>
  1031. </item>
  1032. <item>
  1033. <spacer name="verticalSpacer_14">
  1034. <property name="orientation">
  1035. <enum>Qt::Vertical</enum>
  1036. </property>
  1037. <property name="sizeHint" stdset="0">
  1038. <size>
  1039. <width>20</width>
  1040. <height>2</height>
  1041. </size>
  1042. </property>
  1043. </spacer>
  1044. </item>
  1045. </layout>
  1046. </widget>
  1047. <resources>
  1048. <include location="../icons.qrc"/>
  1049. </resources>
  1050. <connections/>
  1051. </ui>