applyTransformationDlg.ui 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ApplyTransformationDialog</class>
  4. <widget class="QDialog" name="ApplyTransformationDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>687</width>
  10. <height>415</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Apply transformation</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_4">
  17. <item>
  18. <widget class="QTabWidget" name="tabWidget">
  19. <property name="currentIndex">
  20. <number>0</number>
  21. </property>
  22. <widget class="QWidget" name="tab">
  23. <attribute name="title">
  24. <string>Matrix 4x4</string>
  25. </attribute>
  26. <layout class="QVBoxLayout" name="verticalLayout">
  27. <item>
  28. <layout class="QHBoxLayout" name="horizontalLayout">
  29. <item>
  30. <widget class="QLabel" name="label">
  31. <property name="text">
  32. <string>Enter 4x4 matrix values:</string>
  33. </property>
  34. <property name="buddy">
  35. <cstring>fromGroupBox</cstring>
  36. </property>
  37. </widget>
  38. </item>
  39. <item>
  40. <spacer name="horizontalSpacer">
  41. <property name="orientation">
  42. <enum>Qt::Horizontal</enum>
  43. </property>
  44. <property name="sizeHint" stdset="0">
  45. <size>
  46. <width>40</width>
  47. <height>20</height>
  48. </size>
  49. </property>
  50. </spacer>
  51. </item>
  52. <item>
  53. <widget class="QToolButton" name="fromFileToolButton">
  54. <property name="toolTip">
  55. <string>Load matrix from ascii file</string>
  56. </property>
  57. <property name="text">
  58. <string>ASCII file</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item>
  63. <widget class="QToolButton" name="fromClipboardToolButton">
  64. <property name="toolTip">
  65. <string>Paste clipboard contents</string>
  66. </property>
  67. <property name="text">
  68. <string>clipboard</string>
  69. </property>
  70. </widget>
  71. </item>
  72. <item>
  73. <widget class="QToolButton" name="fromDipDipDirToolButton">
  74. <property name="toolTip">
  75. <string>Inits the matrix from dip/dip direction values
  76. --&gt; assuming an initial position of (0,0)</string>
  77. </property>
  78. <property name="text">
  79. <string>dip / dip direction</string>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="QToolButton" name="helpToolButton">
  85. <property name="text">
  86. <string>help</string>
  87. </property>
  88. <property name="checkable">
  89. <bool>true</bool>
  90. </property>
  91. </widget>
  92. </item>
  93. </layout>
  94. </item>
  95. <item>
  96. <widget class="QPlainTextEdit" name="helpTextEdit">
  97. <property name="minimumSize">
  98. <size>
  99. <width>0</width>
  100. <height>150</height>
  101. </size>
  102. </property>
  103. <property name="maximumSize">
  104. <size>
  105. <width>16777215</width>
  106. <height>150</height>
  107. </size>
  108. </property>
  109. <property name="palette">
  110. <palette>
  111. <active>
  112. <colorrole role="Base">
  113. <brush brushstyle="SolidPattern">
  114. <color alpha="255">
  115. <red>202</red>
  116. <green>202</green>
  117. <blue>202</blue>
  118. </color>
  119. </brush>
  120. </colorrole>
  121. </active>
  122. <inactive>
  123. <colorrole role="Base">
  124. <brush brushstyle="SolidPattern">
  125. <color alpha="255">
  126. <red>202</red>
  127. <green>202</green>
  128. <blue>202</blue>
  129. </color>
  130. </brush>
  131. </colorrole>
  132. </inactive>
  133. <disabled>
  134. <colorrole role="Base">
  135. <brush brushstyle="SolidPattern">
  136. <color alpha="255">
  137. <red>212</red>
  138. <green>208</green>
  139. <blue>200</blue>
  140. </color>
  141. </brush>
  142. </colorrole>
  143. </disabled>
  144. </palette>
  145. </property>
  146. <property name="readOnly">
  147. <bool>true</bool>
  148. </property>
  149. <property name="plainText">
  150. <string>Matrix should be of the form:
  151. R11 R12 R13 Tx
  152. R21 R22 R23 Ty
  153. R31 R32 R33 Tz
  154. 0 0 0 1
  155. Where R is a standard 3x3 rotation matrix and T is a translation vector.
  156. Let P be a 3D point, the transformed point P' will be such that: P' = R.P + T.</string>
  157. </property>
  158. </widget>
  159. </item>
  160. <item>
  161. <widget class="QPlainTextEdit" name="matrixTextEdit">
  162. <property name="lineWrapMode">
  163. <enum>QPlainTextEdit::NoWrap</enum>
  164. </property>
  165. <property name="plainText">
  166. <string notr="true">1.000000 0.000000 0.000000 0.000000
  167. 0.000000 1.000000 0.000000 0.000000
  168. 0.000000 0.000000 1.000000 0.000000
  169. 0.000000 0.000000 0.000000 1.000000</string>
  170. </property>
  171. </widget>
  172. </item>
  173. </layout>
  174. </widget>
  175. <widget class="QWidget" name="tab_2">
  176. <attribute name="title">
  177. <string>Axis, Angle</string>
  178. </attribute>
  179. <layout class="QVBoxLayout" name="verticalLayout_2">
  180. <item>
  181. <widget class="QGroupBox" name="rotAxisGroupBox">
  182. <property name="title">
  183. <string>Rotation axis</string>
  184. </property>
  185. <property name="flat">
  186. <bool>true</bool>
  187. </property>
  188. <layout class="QHBoxLayout" name="horizontalLayout_2">
  189. <property name="leftMargin">
  190. <number>0</number>
  191. </property>
  192. <property name="rightMargin">
  193. <number>0</number>
  194. </property>
  195. <item>
  196. <widget class="QDoubleSpinBox" name="rxAxisDoubleSpinBox">
  197. <property name="prefix">
  198. <string notr="true">X: </string>
  199. </property>
  200. <property name="decimals">
  201. <number>8</number>
  202. </property>
  203. <property name="minimum">
  204. <double>-1000000000.000000000000000</double>
  205. </property>
  206. <property name="maximum">
  207. <double>1000000000.000000000000000</double>
  208. </property>
  209. </widget>
  210. </item>
  211. <item>
  212. <widget class="QDoubleSpinBox" name="ryAxisDoubleSpinBox">
  213. <property name="prefix">
  214. <string notr="true">Y: </string>
  215. </property>
  216. <property name="decimals">
  217. <number>8</number>
  218. </property>
  219. <property name="minimum">
  220. <double>-1000000000.000000000000000</double>
  221. </property>
  222. <property name="maximum">
  223. <double>1000000000.000000000000000</double>
  224. </property>
  225. </widget>
  226. </item>
  227. <item>
  228. <widget class="QDoubleSpinBox" name="rzAxisDoubleSpinBox">
  229. <property name="prefix">
  230. <string notr="true">Z: </string>
  231. </property>
  232. <property name="decimals">
  233. <number>8</number>
  234. </property>
  235. <property name="minimum">
  236. <double>-1000000000.000000000000000</double>
  237. </property>
  238. <property name="maximum">
  239. <double>1000000000.000000000000000</double>
  240. </property>
  241. </widget>
  242. </item>
  243. <item>
  244. <widget class="QToolButton" name="setIAxisToolButton">
  245. <property name="toolTip">
  246. <string>Shortcut to set the rotation axis to (1, 0, 0)</string>
  247. </property>
  248. <property name="text">
  249. <string>I</string>
  250. </property>
  251. </widget>
  252. </item>
  253. <item>
  254. <widget class="QToolButton" name="setJAxisToolButton">
  255. <property name="toolTip">
  256. <string>Shortcut to set the rotation axis to (0, 1, 0)</string>
  257. </property>
  258. <property name="text">
  259. <string>J</string>
  260. </property>
  261. </widget>
  262. </item>
  263. <item>
  264. <widget class="QToolButton" name="setKAxisToolButton">
  265. <property name="toolTip">
  266. <string>Shortcut to set the rotation axis to (0, 0, 1)</string>
  267. </property>
  268. <property name="text">
  269. <string>K</string>
  270. </property>
  271. </widget>
  272. </item>
  273. <item>
  274. <widget class="QToolButton" name="pasteAxisToolButton">
  275. <property name="toolTip">
  276. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  277. </property>
  278. <property name="icon">
  279. <iconset resource="../icons.qrc">
  280. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  281. </property>
  282. </widget>
  283. </item>
  284. </layout>
  285. </widget>
  286. </item>
  287. <item>
  288. <widget class="QGroupBox" name="rotAngleGroupBox">
  289. <property name="title">
  290. <string>Rotation angle (degrees)</string>
  291. </property>
  292. <property name="flat">
  293. <bool>true</bool>
  294. </property>
  295. <layout class="QHBoxLayout" name="horizontalLayout_3">
  296. <property name="leftMargin">
  297. <number>0</number>
  298. </property>
  299. <property name="rightMargin">
  300. <number>0</number>
  301. </property>
  302. <item>
  303. <widget class="QDoubleSpinBox" name="rAngleDoubleSpinBox">
  304. <property name="suffix">
  305. <string> deg.</string>
  306. </property>
  307. <property name="decimals">
  308. <number>4</number>
  309. </property>
  310. <property name="minimum">
  311. <double>-1000000000.000000000000000</double>
  312. </property>
  313. <property name="maximum">
  314. <double>1000000000.000000000000000</double>
  315. </property>
  316. </widget>
  317. </item>
  318. <item>
  319. <spacer name="horizontalSpacer_2">
  320. <property name="orientation">
  321. <enum>Qt::Horizontal</enum>
  322. </property>
  323. <property name="sizeHint" stdset="0">
  324. <size>
  325. <width>247</width>
  326. <height>20</height>
  327. </size>
  328. </property>
  329. </spacer>
  330. </item>
  331. </layout>
  332. </widget>
  333. </item>
  334. <item>
  335. <widget class="QGroupBox" name="transGroupBox">
  336. <property name="title">
  337. <string>Translation</string>
  338. </property>
  339. <property name="flat">
  340. <bool>true</bool>
  341. </property>
  342. <layout class="QHBoxLayout" name="horizontalLayout_4">
  343. <property name="leftMargin">
  344. <number>0</number>
  345. </property>
  346. <property name="rightMargin">
  347. <number>0</number>
  348. </property>
  349. <item>
  350. <widget class="QDoubleSpinBox" name="txAxisDoubleSpinBox">
  351. <property name="prefix">
  352. <string notr="true">X: </string>
  353. </property>
  354. <property name="decimals">
  355. <number>8</number>
  356. </property>
  357. <property name="minimum">
  358. <double>-1000000000.000000000000000</double>
  359. </property>
  360. <property name="maximum">
  361. <double>1000000000.000000000000000</double>
  362. </property>
  363. </widget>
  364. </item>
  365. <item>
  366. <widget class="QDoubleSpinBox" name="tyAxisDoubleSpinBox">
  367. <property name="prefix">
  368. <string notr="true">Y: </string>
  369. </property>
  370. <property name="decimals">
  371. <number>8</number>
  372. </property>
  373. <property name="minimum">
  374. <double>-1000000000.000000000000000</double>
  375. </property>
  376. <property name="maximum">
  377. <double>1000000000.000000000000000</double>
  378. </property>
  379. </widget>
  380. </item>
  381. <item>
  382. <widget class="QDoubleSpinBox" name="tzAxisDoubleSpinBox">
  383. <property name="prefix">
  384. <string notr="true">Z: </string>
  385. </property>
  386. <property name="decimals">
  387. <number>8</number>
  388. </property>
  389. <property name="minimum">
  390. <double>-1000000000.000000000000000</double>
  391. </property>
  392. <property name="maximum">
  393. <double>1000000000.000000000000000</double>
  394. </property>
  395. </widget>
  396. </item>
  397. <item>
  398. <widget class="QToolButton" name="pasteTransToolButton">
  399. <property name="toolTip">
  400. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  401. </property>
  402. <property name="icon">
  403. <iconset resource="../icons.qrc">
  404. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  405. </property>
  406. </widget>
  407. </item>
  408. </layout>
  409. </widget>
  410. </item>
  411. <item>
  412. <widget class="QGroupBox" name="rotAngleGroupBox_2">
  413. <property name="title">
  414. <string>Scale</string>
  415. </property>
  416. <property name="flat">
  417. <bool>true</bool>
  418. </property>
  419. <layout class="QHBoxLayout" name="horizontalLayout_11">
  420. <property name="leftMargin">
  421. <number>0</number>
  422. </property>
  423. <property name="rightMargin">
  424. <number>0</number>
  425. </property>
  426. <item>
  427. <widget class="QDoubleSpinBox" name="scaleDoubleSpinBox">
  428. <property name="decimals">
  429. <number>6</number>
  430. </property>
  431. <property name="minimum">
  432. <double>-1000000000.000000000000000</double>
  433. </property>
  434. <property name="maximum">
  435. <double>1000000000.000000000000000</double>
  436. </property>
  437. <property name="value">
  438. <double>1.000000000000000</double>
  439. </property>
  440. </widget>
  441. </item>
  442. <item>
  443. <spacer name="horizontalSpacer_3">
  444. <property name="orientation">
  445. <enum>Qt::Horizontal</enum>
  446. </property>
  447. <property name="sizeHint" stdset="0">
  448. <size>
  449. <width>247</width>
  450. <height>20</height>
  451. </size>
  452. </property>
  453. </spacer>
  454. </item>
  455. </layout>
  456. </widget>
  457. </item>
  458. <item>
  459. <spacer name="verticalSpacer">
  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>73</height>
  467. </size>
  468. </property>
  469. </spacer>
  470. </item>
  471. </layout>
  472. </widget>
  473. <widget class="QWidget" name="tab_3">
  474. <attribute name="title">
  475. <string>Euler angles</string>
  476. </attribute>
  477. <layout class="QVBoxLayout" name="verticalLayout_3">
  478. <item>
  479. <widget class="QGroupBox" name="eulerAnglesGroupBox">
  480. <property name="title">
  481. <string>Angles</string>
  482. </property>
  483. <property name="flat">
  484. <bool>true</bool>
  485. </property>
  486. <layout class="QHBoxLayout" name="horizontalLayout_6">
  487. <property name="leftMargin">
  488. <number>0</number>
  489. </property>
  490. <property name="rightMargin">
  491. <number>0</number>
  492. </property>
  493. <item>
  494. <widget class="QDoubleSpinBox" name="ePhiDoubleSpinBox">
  495. <property name="prefix">
  496. <string notr="true">Phi: </string>
  497. </property>
  498. <property name="decimals">
  499. <number>8</number>
  500. </property>
  501. <property name="minimum">
  502. <double>-1000000000.000000000000000</double>
  503. </property>
  504. <property name="maximum">
  505. <double>1000000000.000000000000000</double>
  506. </property>
  507. </widget>
  508. </item>
  509. <item>
  510. <widget class="QDoubleSpinBox" name="eThetaDoubleSpinBox">
  511. <property name="prefix">
  512. <string notr="true">Theta: </string>
  513. </property>
  514. <property name="decimals">
  515. <number>8</number>
  516. </property>
  517. <property name="minimum">
  518. <double>-1000000000.000000000000000</double>
  519. </property>
  520. <property name="maximum">
  521. <double>1000000000.000000000000000</double>
  522. </property>
  523. </widget>
  524. </item>
  525. <item>
  526. <widget class="QDoubleSpinBox" name="ePsiDoubleSpinBox">
  527. <property name="prefix">
  528. <string notr="true">Psi: </string>
  529. </property>
  530. <property name="decimals">
  531. <number>8</number>
  532. </property>
  533. <property name="minimum">
  534. <double>-1000000000.000000000000000</double>
  535. </property>
  536. <property name="maximum">
  537. <double>1000000000.000000000000000</double>
  538. </property>
  539. </widget>
  540. </item>
  541. <item>
  542. <widget class="QToolButton" name="pasteEulerAnglesToolButton">
  543. <property name="toolTip">
  544. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  545. </property>
  546. <property name="icon">
  547. <iconset resource="../icons.qrc">
  548. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  549. </property>
  550. </widget>
  551. </item>
  552. </layout>
  553. </widget>
  554. </item>
  555. <item>
  556. <widget class="QGroupBox" name="eulerTransGroupBox">
  557. <property name="title">
  558. <string>Translation</string>
  559. </property>
  560. <property name="flat">
  561. <bool>true</bool>
  562. </property>
  563. <layout class="QHBoxLayout" name="horizontalLayout_5">
  564. <property name="leftMargin">
  565. <number>0</number>
  566. </property>
  567. <property name="rightMargin">
  568. <number>0</number>
  569. </property>
  570. <item>
  571. <widget class="QDoubleSpinBox" name="etxAxisDoubleSpinBox">
  572. <property name="prefix">
  573. <string notr="true">X: </string>
  574. </property>
  575. <property name="decimals">
  576. <number>8</number>
  577. </property>
  578. <property name="minimum">
  579. <double>-1000000000.000000000000000</double>
  580. </property>
  581. <property name="maximum">
  582. <double>1000000000.000000000000000</double>
  583. </property>
  584. </widget>
  585. </item>
  586. <item>
  587. <widget class="QDoubleSpinBox" name="etyAxisDoubleSpinBox">
  588. <property name="prefix">
  589. <string notr="true">Y: </string>
  590. </property>
  591. <property name="decimals">
  592. <number>8</number>
  593. </property>
  594. <property name="minimum">
  595. <double>-1000000000.000000000000000</double>
  596. </property>
  597. <property name="maximum">
  598. <double>1000000000.000000000000000</double>
  599. </property>
  600. </widget>
  601. </item>
  602. <item>
  603. <widget class="QDoubleSpinBox" name="etzAxisDoubleSpinBox">
  604. <property name="prefix">
  605. <string notr="true">Z: </string>
  606. </property>
  607. <property name="decimals">
  608. <number>8</number>
  609. </property>
  610. <property name="minimum">
  611. <double>-1000000000.000000000000000</double>
  612. </property>
  613. <property name="maximum">
  614. <double>1000000000.000000000000000</double>
  615. </property>
  616. </widget>
  617. </item>
  618. <item>
  619. <widget class="QToolButton" name="pasteEulerTransToolButton">
  620. <property name="toolTip">
  621. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  622. </property>
  623. <property name="icon">
  624. <iconset resource="../icons.qrc">
  625. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  626. </property>
  627. </widget>
  628. </item>
  629. </layout>
  630. </widget>
  631. </item>
  632. <item>
  633. <widget class="QGroupBox" name="rotAngleGroupBox_3">
  634. <property name="title">
  635. <string>Scale</string>
  636. </property>
  637. <property name="flat">
  638. <bool>true</bool>
  639. </property>
  640. <layout class="QHBoxLayout" name="horizontalLayout_12">
  641. <property name="leftMargin">
  642. <number>0</number>
  643. </property>
  644. <property name="rightMargin">
  645. <number>0</number>
  646. </property>
  647. <item>
  648. <widget class="QDoubleSpinBox" name="eScaleDoubleSpinBox">
  649. <property name="decimals">
  650. <number>6</number>
  651. </property>
  652. <property name="minimum">
  653. <double>-1000000000.000000000000000</double>
  654. </property>
  655. <property name="maximum">
  656. <double>1000000000.000000000000000</double>
  657. </property>
  658. <property name="value">
  659. <double>1.000000000000000</double>
  660. </property>
  661. </widget>
  662. </item>
  663. <item>
  664. <spacer name="horizontalSpacer_4">
  665. <property name="orientation">
  666. <enum>Qt::Horizontal</enum>
  667. </property>
  668. <property name="sizeHint" stdset="0">
  669. <size>
  670. <width>247</width>
  671. <height>20</height>
  672. </size>
  673. </property>
  674. </spacer>
  675. </item>
  676. </layout>
  677. </widget>
  678. </item>
  679. <item>
  680. <spacer name="verticalSpacer_2">
  681. <property name="orientation">
  682. <enum>Qt::Vertical</enum>
  683. </property>
  684. <property name="sizeHint" stdset="0">
  685. <size>
  686. <width>20</width>
  687. <height>139</height>
  688. </size>
  689. </property>
  690. </spacer>
  691. </item>
  692. </layout>
  693. </widget>
  694. <widget class="QWidget" name="tab_4">
  695. <attribute name="title">
  696. <string>From &gt; To axes</string>
  697. </attribute>
  698. <layout class="QVBoxLayout" name="verticalLayout_5">
  699. <item>
  700. <widget class="QGroupBox" name="fromGroupBox">
  701. <property name="title">
  702. <string>From axis</string>
  703. </property>
  704. <property name="flat">
  705. <bool>true</bool>
  706. </property>
  707. <layout class="QHBoxLayout" name="horizontalLayout_7">
  708. <property name="leftMargin">
  709. <number>0</number>
  710. </property>
  711. <property name="rightMargin">
  712. <number>0</number>
  713. </property>
  714. <item>
  715. <widget class="QDoubleSpinBox" name="fromXAxisDoubleSpinBox">
  716. <property name="prefix">
  717. <string notr="true">X: </string>
  718. </property>
  719. <property name="decimals">
  720. <number>8</number>
  721. </property>
  722. <property name="minimum">
  723. <double>-1000000000.000000000000000</double>
  724. </property>
  725. <property name="maximum">
  726. <double>1000000000.000000000000000</double>
  727. </property>
  728. </widget>
  729. </item>
  730. <item>
  731. <widget class="QDoubleSpinBox" name="fromYAxisDoubleSpinBox">
  732. <property name="prefix">
  733. <string notr="true">Y: </string>
  734. </property>
  735. <property name="decimals">
  736. <number>8</number>
  737. </property>
  738. <property name="minimum">
  739. <double>-1000000000.000000000000000</double>
  740. </property>
  741. <property name="maximum">
  742. <double>1000000000.000000000000000</double>
  743. </property>
  744. </widget>
  745. </item>
  746. <item>
  747. <widget class="QDoubleSpinBox" name="fromZAxisDoubleSpinBox">
  748. <property name="prefix">
  749. <string notr="true">Z: </string>
  750. </property>
  751. <property name="decimals">
  752. <number>8</number>
  753. </property>
  754. <property name="minimum">
  755. <double>-1000000000.000000000000000</double>
  756. </property>
  757. <property name="maximum">
  758. <double>1000000000.000000000000000</double>
  759. </property>
  760. </widget>
  761. </item>
  762. <item>
  763. <widget class="QToolButton" name="setFromAxisIToolButton">
  764. <property name="toolTip">
  765. <string>Shortcut to set the rotation axis to (1, 0, 0)</string>
  766. </property>
  767. <property name="text">
  768. <string>I</string>
  769. </property>
  770. </widget>
  771. </item>
  772. <item>
  773. <widget class="QToolButton" name="setFromAxisJToolButton">
  774. <property name="toolTip">
  775. <string>Shortcut to set the rotation axis to (0, 1, 0)</string>
  776. </property>
  777. <property name="text">
  778. <string>J</string>
  779. </property>
  780. </widget>
  781. </item>
  782. <item>
  783. <widget class="QToolButton" name="setFromAxisKToolButton">
  784. <property name="toolTip">
  785. <string>Shortcut to set the rotation axis to (0, 0, 1)</string>
  786. </property>
  787. <property name="text">
  788. <string>K</string>
  789. </property>
  790. </widget>
  791. </item>
  792. <item>
  793. <widget class="QToolButton" name="pasteFromAxisToolButton">
  794. <property name="toolTip">
  795. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  796. </property>
  797. <property name="icon">
  798. <iconset resource="../icons.qrc">
  799. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  800. </property>
  801. </widget>
  802. </item>
  803. </layout>
  804. </widget>
  805. </item>
  806. <item>
  807. <widget class="QGroupBox" name="toGroupBox">
  808. <property name="title">
  809. <string>To axis</string>
  810. </property>
  811. <property name="flat">
  812. <bool>true</bool>
  813. </property>
  814. <layout class="QHBoxLayout" name="horizontalLayout_9">
  815. <property name="leftMargin">
  816. <number>0</number>
  817. </property>
  818. <property name="rightMargin">
  819. <number>0</number>
  820. </property>
  821. <item>
  822. <widget class="QDoubleSpinBox" name="toXAxisDoubleSpinBox">
  823. <property name="prefix">
  824. <string notr="true">X: </string>
  825. </property>
  826. <property name="decimals">
  827. <number>8</number>
  828. </property>
  829. <property name="minimum">
  830. <double>-1000000000.000000000000000</double>
  831. </property>
  832. <property name="maximum">
  833. <double>1000000000.000000000000000</double>
  834. </property>
  835. </widget>
  836. </item>
  837. <item>
  838. <widget class="QDoubleSpinBox" name="toYAxisDoubleSpinBox">
  839. <property name="prefix">
  840. <string notr="true">Y: </string>
  841. </property>
  842. <property name="decimals">
  843. <number>8</number>
  844. </property>
  845. <property name="minimum">
  846. <double>-1000000000.000000000000000</double>
  847. </property>
  848. <property name="maximum">
  849. <double>1000000000.000000000000000</double>
  850. </property>
  851. </widget>
  852. </item>
  853. <item>
  854. <widget class="QDoubleSpinBox" name="toZAxisDoubleSpinBox">
  855. <property name="prefix">
  856. <string notr="true">Z: </string>
  857. </property>
  858. <property name="decimals">
  859. <number>8</number>
  860. </property>
  861. <property name="minimum">
  862. <double>-1000000000.000000000000000</double>
  863. </property>
  864. <property name="maximum">
  865. <double>1000000000.000000000000000</double>
  866. </property>
  867. </widget>
  868. </item>
  869. <item>
  870. <widget class="QToolButton" name="setToAxisIToolButton">
  871. <property name="toolTip">
  872. <string>Shortcut to set the rotation axis to (1, 0, 0)</string>
  873. </property>
  874. <property name="text">
  875. <string>I</string>
  876. </property>
  877. </widget>
  878. </item>
  879. <item>
  880. <widget class="QToolButton" name="setToAxisJToolButton">
  881. <property name="toolTip">
  882. <string>Shortcut to set the rotation axis to (0, 1, 0)</string>
  883. </property>
  884. <property name="text">
  885. <string>J</string>
  886. </property>
  887. </widget>
  888. </item>
  889. <item>
  890. <widget class="QToolButton" name="setToAxisKToolButton">
  891. <property name="toolTip">
  892. <string>Shortcut to set the rotation axis to (0, 0, 1)</string>
  893. </property>
  894. <property name="text">
  895. <string>K</string>
  896. </property>
  897. </widget>
  898. </item>
  899. <item>
  900. <widget class="QToolButton" name="pasteToAxisToolButton">
  901. <property name="toolTip">
  902. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  903. </property>
  904. <property name="icon">
  905. <iconset resource="../icons.qrc">
  906. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  907. </property>
  908. </widget>
  909. </item>
  910. </layout>
  911. </widget>
  912. </item>
  913. <item>
  914. <widget class="QGroupBox" name="fromToTransGroupBox">
  915. <property name="title">
  916. <string>Translation</string>
  917. </property>
  918. <property name="flat">
  919. <bool>true</bool>
  920. </property>
  921. <layout class="QHBoxLayout" name="horizontalLayout_10">
  922. <property name="leftMargin">
  923. <number>0</number>
  924. </property>
  925. <property name="rightMargin">
  926. <number>0</number>
  927. </property>
  928. <item>
  929. <widget class="QDoubleSpinBox" name="fromToTxAxisDoubleSpinBox">
  930. <property name="prefix">
  931. <string notr="true">X: </string>
  932. </property>
  933. <property name="decimals">
  934. <number>8</number>
  935. </property>
  936. <property name="minimum">
  937. <double>-1000000000.000000000000000</double>
  938. </property>
  939. <property name="maximum">
  940. <double>1000000000.000000000000000</double>
  941. </property>
  942. </widget>
  943. </item>
  944. <item>
  945. <widget class="QDoubleSpinBox" name="fromToTyAxisDoubleSpinBox">
  946. <property name="prefix">
  947. <string notr="true">Y: </string>
  948. </property>
  949. <property name="decimals">
  950. <number>8</number>
  951. </property>
  952. <property name="minimum">
  953. <double>-1000000000.000000000000000</double>
  954. </property>
  955. <property name="maximum">
  956. <double>1000000000.000000000000000</double>
  957. </property>
  958. </widget>
  959. </item>
  960. <item>
  961. <widget class="QDoubleSpinBox" name="fromToTzAxisDoubleSpinBox">
  962. <property name="prefix">
  963. <string notr="true">Z: </string>
  964. </property>
  965. <property name="decimals">
  966. <number>8</number>
  967. </property>
  968. <property name="minimum">
  969. <double>-1000000000.000000000000000</double>
  970. </property>
  971. <property name="maximum">
  972. <double>1000000000.000000000000000</double>
  973. </property>
  974. </widget>
  975. </item>
  976. <item>
  977. <widget class="QToolButton" name="pasteFromToTransToolButton">
  978. <property name="toolTip">
  979. <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
  980. </property>
  981. <property name="icon">
  982. <iconset resource="../icons.qrc">
  983. <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
  984. </property>
  985. </widget>
  986. </item>
  987. </layout>
  988. </widget>
  989. </item>
  990. <item>
  991. <widget class="QGroupBox" name="rotAngleGroupBox_4">
  992. <property name="title">
  993. <string>Scale</string>
  994. </property>
  995. <property name="flat">
  996. <bool>true</bool>
  997. </property>
  998. <layout class="QHBoxLayout" name="horizontalLayout_13">
  999. <property name="leftMargin">
  1000. <number>0</number>
  1001. </property>
  1002. <property name="rightMargin">
  1003. <number>0</number>
  1004. </property>
  1005. <item>
  1006. <widget class="QDoubleSpinBox" name="fromToScaleDoubleSpinBox">
  1007. <property name="decimals">
  1008. <number>6</number>
  1009. </property>
  1010. <property name="minimum">
  1011. <double>-1000000000.000000000000000</double>
  1012. </property>
  1013. <property name="maximum">
  1014. <double>1000000000.000000000000000</double>
  1015. </property>
  1016. <property name="value">
  1017. <double>1.000000000000000</double>
  1018. </property>
  1019. </widget>
  1020. </item>
  1021. <item>
  1022. <spacer name="horizontalSpacer_5">
  1023. <property name="orientation">
  1024. <enum>Qt::Horizontal</enum>
  1025. </property>
  1026. <property name="sizeHint" stdset="0">
  1027. <size>
  1028. <width>247</width>
  1029. <height>20</height>
  1030. </size>
  1031. </property>
  1032. </spacer>
  1033. </item>
  1034. </layout>
  1035. </widget>
  1036. </item>
  1037. <item>
  1038. <spacer name="verticalSpacer_3">
  1039. <property name="orientation">
  1040. <enum>Qt::Vertical</enum>
  1041. </property>
  1042. <property name="sizeHint" stdset="0">
  1043. <size>
  1044. <width>20</width>
  1045. <height>119</height>
  1046. </size>
  1047. </property>
  1048. </spacer>
  1049. </item>
  1050. </layout>
  1051. </widget>
  1052. </widget>
  1053. </item>
  1054. <item>
  1055. <widget class="QFrame" name="frame">
  1056. <property name="frameShape">
  1057. <enum>QFrame::StyledPanel</enum>
  1058. </property>
  1059. <property name="frameShadow">
  1060. <enum>QFrame::Raised</enum>
  1061. </property>
  1062. <layout class="QHBoxLayout" name="horizontalLayout_8">
  1063. <property name="leftMargin">
  1064. <number>0</number>
  1065. </property>
  1066. <property name="topMargin">
  1067. <number>0</number>
  1068. </property>
  1069. <property name="rightMargin">
  1070. <number>0</number>
  1071. </property>
  1072. <property name="bottomMargin">
  1073. <number>0</number>
  1074. </property>
  1075. <item>
  1076. <widget class="QCheckBox" name="inverseCheckBox">
  1077. <property name="text">
  1078. <string>Apply inverse transformation</string>
  1079. </property>
  1080. </widget>
  1081. </item>
  1082. <item>
  1083. <widget class="QCheckBox" name="applyToGlobalCheckBox">
  1084. <property name="toolTip">
  1085. <string>Applies the transformation to global coordinates
  1086. (may trigger an update of the Global Shift)</string>
  1087. </property>
  1088. <property name="text">
  1089. <string>Apply to global coordinates</string>
  1090. </property>
  1091. </widget>
  1092. </item>
  1093. </layout>
  1094. </widget>
  1095. </item>
  1096. <item>
  1097. <widget class="QDialogButtonBox" name="buttonBox">
  1098. <property name="standardButtons">
  1099. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
  1100. </property>
  1101. </widget>
  1102. </item>
  1103. </layout>
  1104. </widget>
  1105. <resources>
  1106. <include location="../icons.qrc"/>
  1107. </resources>
  1108. <connections>
  1109. <connection>
  1110. <sender>buttonBox</sender>
  1111. <signal>rejected()</signal>
  1112. <receiver>ApplyTransformationDialog</receiver>
  1113. <slot>reject()</slot>
  1114. <hints>
  1115. <hint type="sourcelabel">
  1116. <x>316</x>
  1117. <y>260</y>
  1118. </hint>
  1119. <hint type="destinationlabel">
  1120. <x>286</x>
  1121. <y>274</y>
  1122. </hint>
  1123. </hints>
  1124. </connection>
  1125. <connection>
  1126. <sender>helpToolButton</sender>
  1127. <signal>toggled(bool)</signal>
  1128. <receiver>helpTextEdit</receiver>
  1129. <slot>setVisible(bool)</slot>
  1130. <hints>
  1131. <hint type="sourcelabel">
  1132. <x>372</x>
  1133. <y>19</y>
  1134. </hint>
  1135. <hint type="destinationlabel">
  1136. <x>200</x>
  1137. <y>105</y>
  1138. </hint>
  1139. </hints>
  1140. </connection>
  1141. </connections>
  1142. </ui>