globalShiftAndScaleDlg.ui 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GlobalShiftAndScaleDlg</class>
  4. <widget class="QDialog" name="GlobalShiftAndScaleDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>734</width>
  10. <height>456</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="windowTitle">
  20. <string>Global shift/scale</string>
  21. </property>
  22. <layout class="QVBoxLayout" name="verticalLayout_5">
  23. <item>
  24. <widget class="QFrame" name="titleFrame">
  25. <property name="frameShape">
  26. <enum>QFrame::StyledPanel</enum>
  27. </property>
  28. <property name="frameShadow">
  29. <enum>QFrame::Raised</enum>
  30. </property>
  31. <layout class="QVBoxLayout" name="verticalLayout">
  32. <property name="leftMargin">
  33. <number>0</number>
  34. </property>
  35. <property name="topMargin">
  36. <number>0</number>
  37. </property>
  38. <property name="rightMargin">
  39. <number>0</number>
  40. </property>
  41. <property name="bottomMargin">
  42. <number>0</number>
  43. </property>
  44. <item>
  45. <widget class="QFrame" name="frame_2">
  46. <property name="frameShape">
  47. <enum>QFrame::StyledPanel</enum>
  48. </property>
  49. <property name="frameShadow">
  50. <enum>QFrame::Raised</enum>
  51. </property>
  52. <layout class="QHBoxLayout" name="horizontalLayout_3">
  53. <item>
  54. <spacer name="horizontalSpacer_3">
  55. <property name="orientation">
  56. <enum>Qt::Horizontal</enum>
  57. </property>
  58. <property name="sizeHint" stdset="0">
  59. <size>
  60. <width>40</width>
  61. <height>20</height>
  62. </size>
  63. </property>
  64. </spacer>
  65. </item>
  66. <item>
  67. <widget class="QLabel" name="messageLabel">
  68. <property name="font">
  69. <font>
  70. <pointsize>10</pointsize>
  71. <weight>75</weight>
  72. <bold>true</bold>
  73. </font>
  74. </property>
  75. <property name="text">
  76. <string>Coordinates are too big (original precision may be lost)!</string>
  77. </property>
  78. <property name="alignment">
  79. <set>Qt::AlignCenter</set>
  80. </property>
  81. </widget>
  82. </item>
  83. <item>
  84. <widget class="QToolButton" name="moreInfoToolButton">
  85. <property name="toolTip">
  86. <string>More information about this issue</string>
  87. </property>
  88. <property name="text">
  89. <string notr="true">?</string>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <spacer name="horizontalSpacer_4">
  95. <property name="orientation">
  96. <enum>Qt::Horizontal</enum>
  97. </property>
  98. <property name="sizeHint" stdset="0">
  99. <size>
  100. <width>40</width>
  101. <height>20</height>
  102. </size>
  103. </property>
  104. </spacer>
  105. </item>
  106. </layout>
  107. </widget>
  108. </item>
  109. <item>
  110. <layout class="QHBoxLayout" name="horizontalLayout_8">
  111. <item>
  112. <spacer name="horizontalSpacer">
  113. <property name="orientation">
  114. <enum>Qt::Horizontal</enum>
  115. </property>
  116. <property name="sizeHint" stdset="0">
  117. <size>
  118. <width>40</width>
  119. <height>20</height>
  120. </size>
  121. </property>
  122. </spacer>
  123. </item>
  124. <item>
  125. <widget class="QLabel" name="label_4">
  126. <property name="font">
  127. <font>
  128. <pointsize>10</pointsize>
  129. </font>
  130. </property>
  131. <property name="text">
  132. <string>Do you wish to translate/rescale the entity?</string>
  133. </property>
  134. <property name="alignment">
  135. <set>Qt::AlignCenter</set>
  136. </property>
  137. </widget>
  138. </item>
  139. <item>
  140. <spacer name="horizontalSpacer_2">
  141. <property name="orientation">
  142. <enum>Qt::Horizontal</enum>
  143. </property>
  144. <property name="sizeHint" stdset="0">
  145. <size>
  146. <width>40</width>
  147. <height>20</height>
  148. </size>
  149. </property>
  150. </spacer>
  151. </item>
  152. </layout>
  153. </item>
  154. </layout>
  155. </widget>
  156. </item>
  157. <item>
  158. <widget class="QLabel" name="infoLabel">
  159. <property name="font">
  160. <font>
  161. <italic>true</italic>
  162. </font>
  163. </property>
  164. <property name="styleSheet">
  165. <string notr="true">color: blue;</string>
  166. </property>
  167. <property name="text">
  168. <string>shift/scale information is stored and used to restore the original coordinates at export time</string>
  169. </property>
  170. <property name="alignment">
  171. <set>Qt::AlignCenter</set>
  172. </property>
  173. </widget>
  174. </item>
  175. <item>
  176. <widget class="QFrame" name="mainFrame">
  177. <property name="sizePolicy">
  178. <sizepolicy hsizetype="Expanding" vsizetype="Maximum">
  179. <horstretch>0</horstretch>
  180. <verstretch>0</verstretch>
  181. </sizepolicy>
  182. </property>
  183. <layout class="QHBoxLayout" name="horizontalLayout_4">
  184. <property name="leftMargin">
  185. <number>0</number>
  186. </property>
  187. <property name="topMargin">
  188. <number>9</number>
  189. </property>
  190. <property name="rightMargin">
  191. <number>0</number>
  192. </property>
  193. <property name="bottomMargin">
  194. <number>9</number>
  195. </property>
  196. <item>
  197. <layout class="QVBoxLayout" name="verticalLayout_3">
  198. <item>
  199. <widget class="QFrame" name="bigCubeFrame">
  200. <property name="sizePolicy">
  201. <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
  202. <horstretch>0</horstretch>
  203. <verstretch>0</verstretch>
  204. </sizepolicy>
  205. </property>
  206. <property name="minimumSize">
  207. <size>
  208. <width>200</width>
  209. <height>200</height>
  210. </size>
  211. </property>
  212. <property name="toolTip">
  213. <string>This version corresponds to the input (or output) file</string>
  214. </property>
  215. <property name="styleSheet">
  216. <string notr="true">background-color:rgb(187,224,227);</string>
  217. </property>
  218. <property name="frameShape">
  219. <enum>QFrame::Box</enum>
  220. </property>
  221. <property name="frameShadow">
  222. <enum>QFrame::Plain</enum>
  223. </property>
  224. <property name="lineWidth">
  225. <number>1</number>
  226. </property>
  227. <layout class="QVBoxLayout" name="verticalLayout_7">
  228. <item>
  229. <widget class="QLabel" name="label">
  230. <property name="font">
  231. <font>
  232. <weight>75</weight>
  233. <bold>true</bold>
  234. </font>
  235. </property>
  236. <property name="text">
  237. <string>Point in original
  238. coordinate system (on disk)</string>
  239. </property>
  240. <property name="alignment">
  241. <set>Qt::AlignCenter</set>
  242. </property>
  243. </widget>
  244. </item>
  245. <item>
  246. <widget class="QFrame" name="originalPointFrame">
  247. <property name="frameShape">
  248. <enum>QFrame::StyledPanel</enum>
  249. </property>
  250. <property name="frameShadow">
  251. <enum>QFrame::Raised</enum>
  252. </property>
  253. <layout class="QVBoxLayout" name="verticalLayout_9">
  254. <property name="leftMargin">
  255. <number>0</number>
  256. </property>
  257. <property name="topMargin">
  258. <number>0</number>
  259. </property>
  260. <property name="rightMargin">
  261. <number>0</number>
  262. </property>
  263. <property name="bottomMargin">
  264. <number>0</number>
  265. </property>
  266. <item>
  267. <widget class="QLabel" name="xOriginLabel">
  268. <property name="text">
  269. <string notr="true">x = 3213132123.3215</string>
  270. </property>
  271. <property name="alignment">
  272. <set>Qt::AlignCenter</set>
  273. </property>
  274. </widget>
  275. </item>
  276. <item>
  277. <widget class="QLabel" name="yOriginLabel">
  278. <property name="text">
  279. <string notr="true">y = 3213213143.34</string>
  280. </property>
  281. <property name="alignment">
  282. <set>Qt::AlignCenter</set>
  283. </property>
  284. </widget>
  285. </item>
  286. <item>
  287. <widget class="QLabel" name="zOriginLabel">
  288. <property name="text">
  289. <string notr="true">z = 3.87</string>
  290. </property>
  291. <property name="alignment">
  292. <set>Qt::AlignCenter</set>
  293. </property>
  294. </widget>
  295. </item>
  296. </layout>
  297. </widget>
  298. </item>
  299. <item>
  300. <spacer name="verticalSpacer_6">
  301. <property name="orientation">
  302. <enum>Qt::Vertical</enum>
  303. </property>
  304. <property name="sizeHint" stdset="0">
  305. <size>
  306. <width>20</width>
  307. <height>92</height>
  308. </size>
  309. </property>
  310. </spacer>
  311. </item>
  312. <item>
  313. <widget class="QLabel" name="diagOriginLabel">
  314. <property name="text">
  315. <string>diagonal = 3213132123.3215</string>
  316. </property>
  317. <property name="alignment">
  318. <set>Qt::AlignCenter</set>
  319. </property>
  320. </widget>
  321. </item>
  322. </layout>
  323. </widget>
  324. </item>
  325. </layout>
  326. </item>
  327. <item>
  328. <layout class="QHBoxLayout" name="horizontalLayout">
  329. <item>
  330. <layout class="QVBoxLayout" name="verticalLayout_2">
  331. <item>
  332. <spacer name="verticalSpacer_4">
  333. <property name="orientation">
  334. <enum>Qt::Vertical</enum>
  335. </property>
  336. <property name="sizeHint" stdset="0">
  337. <size>
  338. <width>20</width>
  339. <height>20</height>
  340. </size>
  341. </property>
  342. </spacer>
  343. </item>
  344. <item>
  345. <widget class="QFrame" name="shiftFrame">
  346. <property name="sizePolicy">
  347. <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
  348. <horstretch>0</horstretch>
  349. <verstretch>0</verstretch>
  350. </sizepolicy>
  351. </property>
  352. <layout class="QGridLayout" name="gridLayout">
  353. <item row="5" column="4">
  354. <widget class="QDoubleSpinBox" name="scaleSpinBox">
  355. <property name="maximumSize">
  356. <size>
  357. <width>150</width>
  358. <height>16777215</height>
  359. </size>
  360. </property>
  361. <property name="decimals">
  362. <number>8</number>
  363. </property>
  364. <property name="minimum">
  365. <double>0.000001000000000</double>
  366. </property>
  367. <property name="maximum">
  368. <double>1000000.000000000000000</double>
  369. </property>
  370. <property name="singleStep">
  371. <double>0.100000000000000</double>
  372. </property>
  373. <property name="value">
  374. <double>1.000000000000000</double>
  375. </property>
  376. </widget>
  377. </item>
  378. <item row="5" column="2">
  379. <widget class="QLabel" name="label_3">
  380. <property name="font">
  381. <font>
  382. <pointsize>10</pointsize>
  383. <weight>75</weight>
  384. <bold>true</bold>
  385. </font>
  386. </property>
  387. <property name="text">
  388. <string notr="true">x</string>
  389. </property>
  390. </widget>
  391. </item>
  392. <item row="2" column="4">
  393. <widget class="QDoubleSpinBox" name="shiftX">
  394. <property name="sizePolicy">
  395. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  396. <horstretch>0</horstretch>
  397. <verstretch>0</verstretch>
  398. </sizepolicy>
  399. </property>
  400. <property name="maximumSize">
  401. <size>
  402. <width>150</width>
  403. <height>16777215</height>
  404. </size>
  405. </property>
  406. <property name="minimum">
  407. <double>-1000000000000.000000000000000</double>
  408. </property>
  409. <property name="maximum">
  410. <double>1000000000000.000000000000000</double>
  411. </property>
  412. </widget>
  413. </item>
  414. <item row="2" column="3">
  415. <widget class="QLabel" name="label1">
  416. <property name="sizePolicy">
  417. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  418. <horstretch>0</horstretch>
  419. <verstretch>0</verstretch>
  420. </sizepolicy>
  421. </property>
  422. <property name="text">
  423. <string>Shift</string>
  424. </property>
  425. </widget>
  426. </item>
  427. <item row="2" column="2">
  428. <widget class="QLabel" name="label_5">
  429. <property name="font">
  430. <font>
  431. <pointsize>10</pointsize>
  432. <weight>75</weight>
  433. <bold>true</bold>
  434. </font>
  435. </property>
  436. <property name="text">
  437. <string notr="true">+</string>
  438. </property>
  439. </widget>
  440. </item>
  441. <item row="5" column="3">
  442. <widget class="QLabel" name="label1_2">
  443. <property name="sizePolicy">
  444. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  445. <horstretch>0</horstretch>
  446. <verstretch>0</verstretch>
  447. </sizepolicy>
  448. </property>
  449. <property name="text">
  450. <string>Scale</string>
  451. </property>
  452. </widget>
  453. </item>
  454. <item row="3" column="4">
  455. <widget class="QDoubleSpinBox" name="shiftY">
  456. <property name="sizePolicy">
  457. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  458. <horstretch>0</horstretch>
  459. <verstretch>0</verstretch>
  460. </sizepolicy>
  461. </property>
  462. <property name="maximumSize">
  463. <size>
  464. <width>150</width>
  465. <height>16777215</height>
  466. </size>
  467. </property>
  468. <property name="minimum">
  469. <double>-1000000000000.000000000000000</double>
  470. </property>
  471. <property name="maximum">
  472. <double>1000000000000.000000000000000</double>
  473. </property>
  474. </widget>
  475. </item>
  476. <item row="4" column="4">
  477. <widget class="QDoubleSpinBox" name="shiftZ">
  478. <property name="sizePolicy">
  479. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  480. <horstretch>0</horstretch>
  481. <verstretch>0</verstretch>
  482. </sizepolicy>
  483. </property>
  484. <property name="maximumSize">
  485. <size>
  486. <width>150</width>
  487. <height>16777215</height>
  488. </size>
  489. </property>
  490. <property name="minimum">
  491. <double>-1000000000000.000000000000000</double>
  492. </property>
  493. <property name="maximum">
  494. <double>1000000000000.000000000000000</double>
  495. </property>
  496. </widget>
  497. </item>
  498. <item row="2" column="1">
  499. <widget class="QFrame" name="hLine2Frame">
  500. <property name="sizePolicy">
  501. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  502. <horstretch>0</horstretch>
  503. <verstretch>0</verstretch>
  504. </sizepolicy>
  505. </property>
  506. <property name="minimumSize">
  507. <size>
  508. <width>20</width>
  509. <height>2</height>
  510. </size>
  511. </property>
  512. <property name="maximumSize">
  513. <size>
  514. <width>16777215</width>
  515. <height>2</height>
  516. </size>
  517. </property>
  518. <property name="frameShape">
  519. <enum>QFrame::Box</enum>
  520. </property>
  521. <property name="frameShadow">
  522. <enum>QFrame::Plain</enum>
  523. </property>
  524. <property name="lineWidth">
  525. <number>2</number>
  526. </property>
  527. </widget>
  528. </item>
  529. <item row="5" column="5">
  530. <widget class="QFrame" name="hLine3Frame">
  531. <property name="sizePolicy">
  532. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  533. <horstretch>0</horstretch>
  534. <verstretch>0</verstretch>
  535. </sizepolicy>
  536. </property>
  537. <property name="minimumSize">
  538. <size>
  539. <width>20</width>
  540. <height>2</height>
  541. </size>
  542. </property>
  543. <property name="maximumSize">
  544. <size>
  545. <width>16777215</width>
  546. <height>2</height>
  547. </size>
  548. </property>
  549. <property name="frameShape">
  550. <enum>QFrame::Box</enum>
  551. </property>
  552. <property name="frameShadow">
  553. <enum>QFrame::Plain</enum>
  554. </property>
  555. <property name="lineWidth">
  556. <number>2</number>
  557. </property>
  558. </widget>
  559. </item>
  560. <item row="0" column="4">
  561. <widget class="QComboBox" name="loadComboBox">
  562. <property name="toolTip">
  563. <string>You can add default items to this list by placing a text file named &lt;span style=&quot; font-weight:600;&quot;&gt;global_shift_list.txt&lt;/span&gt; next to the application executable file. On each line you should define 5 items separated by semicolon characters: name ; ShiftX ; ShiftY ; ShiftZ ; scale</string>
  564. </property>
  565. <property name="currentIndex">
  566. <number>-1</number>
  567. </property>
  568. </widget>
  569. </item>
  570. </layout>
  571. </widget>
  572. </item>
  573. <item>
  574. <spacer name="verticalSpacer_3">
  575. <property name="orientation">
  576. <enum>Qt::Vertical</enum>
  577. </property>
  578. <property name="sizeHint" stdset="0">
  579. <size>
  580. <width>20</width>
  581. <height>20</height>
  582. </size>
  583. </property>
  584. </spacer>
  585. </item>
  586. </layout>
  587. </item>
  588. <item>
  589. <layout class="QVBoxLayout" name="verticalLayout_4">
  590. <item>
  591. <widget class="QFrame" name="smallCubeFrame">
  592. <property name="sizePolicy">
  593. <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
  594. <horstretch>0</horstretch>
  595. <verstretch>0</verstretch>
  596. </sizepolicy>
  597. </property>
  598. <property name="minimumSize">
  599. <size>
  600. <width>150</width>
  601. <height>180</height>
  602. </size>
  603. </property>
  604. <property name="toolTip">
  605. <string>This version is the one CloudCompare will work with. Mind the digits!</string>
  606. </property>
  607. <property name="styleSheet">
  608. <string notr="true">background-color:rgb(187,224,227);</string>
  609. </property>
  610. <property name="frameShape">
  611. <enum>QFrame::Box</enum>
  612. </property>
  613. <property name="frameShadow">
  614. <enum>QFrame::Plain</enum>
  615. </property>
  616. <property name="lineWidth">
  617. <number>1</number>
  618. </property>
  619. <layout class="QVBoxLayout" name="verticalLayout_8">
  620. <item>
  621. <widget class="QLabel" name="label_2">
  622. <property name="font">
  623. <font>
  624. <weight>75</weight>
  625. <bold>true</bold>
  626. </font>
  627. </property>
  628. <property name="text">
  629. <string>Point in local
  630. coordinate system</string>
  631. </property>
  632. <property name="alignment">
  633. <set>Qt::AlignCenter</set>
  634. </property>
  635. </widget>
  636. </item>
  637. <item>
  638. <widget class="QFrame" name="destPointFrame">
  639. <property name="frameShape">
  640. <enum>QFrame::StyledPanel</enum>
  641. </property>
  642. <property name="frameShadow">
  643. <enum>QFrame::Raised</enum>
  644. </property>
  645. <layout class="QVBoxLayout" name="verticalLayout_10">
  646. <property name="leftMargin">
  647. <number>0</number>
  648. </property>
  649. <property name="topMargin">
  650. <number>0</number>
  651. </property>
  652. <property name="rightMargin">
  653. <number>0</number>
  654. </property>
  655. <property name="bottomMargin">
  656. <number>0</number>
  657. </property>
  658. <item>
  659. <widget class="QLabel" name="xDestLabel">
  660. <property name="text">
  661. <string notr="true">x = 123.3215</string>
  662. </property>
  663. <property name="alignment">
  664. <set>Qt::AlignCenter</set>
  665. </property>
  666. </widget>
  667. </item>
  668. <item>
  669. <widget class="QLabel" name="yDestLabel">
  670. <property name="text">
  671. <string notr="true">y = 143.34</string>
  672. </property>
  673. <property name="alignment">
  674. <set>Qt::AlignCenter</set>
  675. </property>
  676. </widget>
  677. </item>
  678. <item>
  679. <widget class="QLabel" name="zDestLabel">
  680. <property name="text">
  681. <string notr="true">z = 3.87</string>
  682. </property>
  683. <property name="alignment">
  684. <set>Qt::AlignCenter</set>
  685. </property>
  686. </widget>
  687. </item>
  688. </layout>
  689. </widget>
  690. </item>
  691. <item>
  692. <spacer name="verticalSpacer_7">
  693. <property name="orientation">
  694. <enum>Qt::Vertical</enum>
  695. </property>
  696. <property name="sizeHint" stdset="0">
  697. <size>
  698. <width>20</width>
  699. <height>46</height>
  700. </size>
  701. </property>
  702. </spacer>
  703. </item>
  704. <item>
  705. <widget class="QLabel" name="diagDestLabel">
  706. <property name="text">
  707. <string>diagonal = 321313</string>
  708. </property>
  709. <property name="alignment">
  710. <set>Qt::AlignCenter</set>
  711. </property>
  712. </widget>
  713. </item>
  714. </layout>
  715. </widget>
  716. </item>
  717. </layout>
  718. </item>
  719. </layout>
  720. </item>
  721. </layout>
  722. </widget>
  723. </item>
  724. <item>
  725. <widget class="QLabel" name="warningLabel">
  726. <property name="styleSheet">
  727. <string notr="true">color: red;</string>
  728. </property>
  729. <property name="text">
  730. <string>Warning: previously used shift and/or scale don't seem adapted to this entity</string>
  731. </property>
  732. <property name="alignment">
  733. <set>Qt::AlignCenter</set>
  734. </property>
  735. </widget>
  736. </item>
  737. <item>
  738. <spacer name="verticalSpacer">
  739. <property name="orientation">
  740. <enum>Qt::Vertical</enum>
  741. </property>
  742. <property name="sizeHint" stdset="0">
  743. <size>
  744. <width>20</width>
  745. <height>40</height>
  746. </size>
  747. </property>
  748. </spacer>
  749. </item>
  750. <item>
  751. <widget class="QFrame" name="frame">
  752. <property name="frameShape">
  753. <enum>QFrame::StyledPanel</enum>
  754. </property>
  755. <property name="frameShadow">
  756. <enum>QFrame::Raised</enum>
  757. </property>
  758. <layout class="QHBoxLayout" name="horizontalLayout_2">
  759. <property name="leftMargin">
  760. <number>0</number>
  761. </property>
  762. <property name="topMargin">
  763. <number>0</number>
  764. </property>
  765. <property name="rightMargin">
  766. <number>0</number>
  767. </property>
  768. <property name="bottomMargin">
  769. <number>0</number>
  770. </property>
  771. <item>
  772. <widget class="QCheckBox" name="preserveShiftOnSaveCheckBox">
  773. <property name="text">
  774. <string>Preserve global shift on save</string>
  775. </property>
  776. <property name="checked">
  777. <bool>true</bool>
  778. </property>
  779. </widget>
  780. </item>
  781. <item>
  782. <widget class="QCheckBox" name="keepGlobalPosCheckBox">
  783. <property name="toolTip">
  784. <string>The local coordinates will be changed so as to keep the global coordinates the same</string>
  785. </property>
  786. <property name="text">
  787. <string>Keep original position fixed</string>
  788. </property>
  789. </widget>
  790. </item>
  791. <item>
  792. <widget class="QDialogButtonBox" name="buttonBox">
  793. <property name="orientation">
  794. <enum>Qt::Horizontal</enum>
  795. </property>
  796. <property name="standardButtons">
  797. <set>QDialogButtonBox::Cancel|QDialogButtonBox::No|QDialogButtonBox::Yes|QDialogButtonBox::YesToAll</set>
  798. </property>
  799. </widget>
  800. </item>
  801. </layout>
  802. </widget>
  803. </item>
  804. </layout>
  805. </widget>
  806. <resources/>
  807. <connections>
  808. <connection>
  809. <sender>buttonBox</sender>
  810. <signal>accepted()</signal>
  811. <receiver>GlobalShiftAndScaleDlg</receiver>
  812. <slot>accept()</slot>
  813. <hints>
  814. <hint type="sourcelabel">
  815. <x>248</x>
  816. <y>254</y>
  817. </hint>
  818. <hint type="destinationlabel">
  819. <x>157</x>
  820. <y>274</y>
  821. </hint>
  822. </hints>
  823. </connection>
  824. <connection>
  825. <sender>buttonBox</sender>
  826. <signal>rejected()</signal>
  827. <receiver>GlobalShiftAndScaleDlg</receiver>
  828. <slot>reject()</slot>
  829. <hints>
  830. <hint type="sourcelabel">
  831. <x>316</x>
  832. <y>260</y>
  833. </hint>
  834. <hint type="destinationlabel">
  835. <x>286</x>
  836. <y>274</y>
  837. </hint>
  838. </hints>
  839. </connection>
  840. <connection>
  841. <sender>preserveShiftOnSaveCheckBox</sender>
  842. <signal>toggled(bool)</signal>
  843. <receiver>infoLabel</receiver>
  844. <slot>setVisible(bool)</slot>
  845. <hints>
  846. <hint type="sourcelabel">
  847. <x>90</x>
  848. <y>367</y>
  849. </hint>
  850. <hint type="destinationlabel">
  851. <x>321</x>
  852. <y>91</y>
  853. </hint>
  854. </hints>
  855. </connection>
  856. </connections>
  857. </ui>