| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>ApplyTransformationDialog</class>
- <widget class="QDialog" name="ApplyTransformationDialog">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>687</width>
- <height>415</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>Apply transformation</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QTabWidget" name="tabWidget">
- <property name="currentIndex">
- <number>0</number>
- </property>
- <widget class="QWidget" name="tab">
- <attribute name="title">
- <string>Matrix 4x4</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Enter 4x4 matrix values:</string>
- </property>
- <property name="buddy">
- <cstring>fromGroupBox</cstring>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QToolButton" name="fromFileToolButton">
- <property name="toolTip">
- <string>Load matrix from ascii file</string>
- </property>
- <property name="text">
- <string>ASCII file</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="fromClipboardToolButton">
- <property name="toolTip">
- <string>Paste clipboard contents</string>
- </property>
- <property name="text">
- <string>clipboard</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="fromDipDipDirToolButton">
- <property name="toolTip">
- <string>Inits the matrix from dip/dip direction values
- --> assuming an initial position of (0,0)</string>
- </property>
- <property name="text">
- <string>dip / dip direction</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="helpToolButton">
- <property name="text">
- <string>help</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QPlainTextEdit" name="helpTextEdit">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>150</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>150</height>
- </size>
- </property>
- <property name="palette">
- <palette>
- <active>
- <colorrole role="Base">
- <brush brushstyle="SolidPattern">
- <color alpha="255">
- <red>202</red>
- <green>202</green>
- <blue>202</blue>
- </color>
- </brush>
- </colorrole>
- </active>
- <inactive>
- <colorrole role="Base">
- <brush brushstyle="SolidPattern">
- <color alpha="255">
- <red>202</red>
- <green>202</green>
- <blue>202</blue>
- </color>
- </brush>
- </colorrole>
- </inactive>
- <disabled>
- <colorrole role="Base">
- <brush brushstyle="SolidPattern">
- <color alpha="255">
- <red>212</red>
- <green>208</green>
- <blue>200</blue>
- </color>
- </brush>
- </colorrole>
- </disabled>
- </palette>
- </property>
- <property name="readOnly">
- <bool>true</bool>
- </property>
- <property name="plainText">
- <string>Matrix should be of the form:
- R11 R12 R13 Tx
- R21 R22 R23 Ty
- R31 R32 R33 Tz
- 0 0 0 1
- Where R is a standard 3x3 rotation matrix and T is a translation vector.
- Let P be a 3D point, the transformed point P' will be such that: P' = R.P + T.</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPlainTextEdit" name="matrixTextEdit">
- <property name="lineWrapMode">
- <enum>QPlainTextEdit::NoWrap</enum>
- </property>
- <property name="plainText">
- <string notr="true">1.000000 0.000000 0.000000 0.000000
- 0.000000 1.000000 0.000000 0.000000
- 0.000000 0.000000 1.000000 0.000000
- 0.000000 0.000000 0.000000 1.000000</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_2">
- <attribute name="title">
- <string>Axis, Angle</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QGroupBox" name="rotAxisGroupBox">
- <property name="title">
- <string>Rotation axis</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="rxAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">X: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="ryAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Y: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="rzAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Z: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setIAxisToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (1, 0, 0)</string>
- </property>
- <property name="text">
- <string>I</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setJAxisToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (0, 1, 0)</string>
- </property>
- <property name="text">
- <string>J</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setKAxisToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (0, 0, 1)</string>
- </property>
- <property name="text">
- <string>K</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pasteAxisToolButton">
- <property name="toolTip">
- <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
- </property>
- <property name="icon">
- <iconset resource="../icons.qrc">
- <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="rotAngleGroupBox">
- <property name="title">
- <string>Rotation angle (degrees)</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="rAngleDoubleSpinBox">
- <property name="suffix">
- <string> deg.</string>
- </property>
- <property name="decimals">
- <number>4</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>247</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="transGroupBox">
- <property name="title">
- <string>Translation</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="txAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">X: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="tyAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Y: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="tzAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Z: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pasteTransToolButton">
- <property name="toolTip">
- <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
- </property>
- <property name="icon">
- <iconset resource="../icons.qrc">
- <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="rotAngleGroupBox_2">
- <property name="title">
- <string>Scale</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_11">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="scaleDoubleSpinBox">
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- <property name="value">
- <double>1.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>247</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>73</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_3">
- <attribute name="title">
- <string>Euler angles</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QGroupBox" name="eulerAnglesGroupBox">
- <property name="title">
- <string>Angles</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_6">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="ePhiDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Phi: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="eThetaDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Theta: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="ePsiDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Psi: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pasteEulerAnglesToolButton">
- <property name="toolTip">
- <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
- </property>
- <property name="icon">
- <iconset resource="../icons.qrc">
- <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="eulerTransGroupBox">
- <property name="title">
- <string>Translation</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="etxAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">X: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="etyAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Y: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="etzAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Z: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pasteEulerTransToolButton">
- <property name="toolTip">
- <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
- </property>
- <property name="icon">
- <iconset resource="../icons.qrc">
- <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="rotAngleGroupBox_3">
- <property name="title">
- <string>Scale</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_12">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="eScaleDoubleSpinBox">
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- <property name="value">
- <double>1.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_4">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>247</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>139</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="tab_4">
- <attribute name="title">
- <string>From > To axes</string>
- </attribute>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QGroupBox" name="fromGroupBox">
- <property name="title">
- <string>From axis</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_7">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="fromXAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">X: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="fromYAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Y: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="fromZAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Z: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setFromAxisIToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (1, 0, 0)</string>
- </property>
- <property name="text">
- <string>I</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setFromAxisJToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (0, 1, 0)</string>
- </property>
- <property name="text">
- <string>J</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setFromAxisKToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (0, 0, 1)</string>
- </property>
- <property name="text">
- <string>K</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pasteFromAxisToolButton">
- <property name="toolTip">
- <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
- </property>
- <property name="icon">
- <iconset resource="../icons.qrc">
- <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="toGroupBox">
- <property name="title">
- <string>To axis</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_9">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="toXAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">X: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="toYAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Y: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="toZAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Z: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setToAxisIToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (1, 0, 0)</string>
- </property>
- <property name="text">
- <string>I</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setToAxisJToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (0, 1, 0)</string>
- </property>
- <property name="text">
- <string>J</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="setToAxisKToolButton">
- <property name="toolTip">
- <string>Shortcut to set the rotation axis to (0, 0, 1)</string>
- </property>
- <property name="text">
- <string>K</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pasteToAxisToolButton">
- <property name="toolTip">
- <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
- </property>
- <property name="icon">
- <iconset resource="../icons.qrc">
- <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="fromToTransGroupBox">
- <property name="title">
- <string>Translation</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_10">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="fromToTxAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">X: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="fromToTyAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Y: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="fromToTzAxisDoubleSpinBox">
- <property name="prefix">
- <string notr="true">Z: </string>
- </property>
- <property name="decimals">
- <number>8</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="pasteFromToTransToolButton">
- <property name="toolTip">
- <string>Paste from clipboard (3 values expected, separated by a comma, a semicolon or whitespaces)</string>
- </property>
- <property name="icon">
- <iconset resource="../icons.qrc">
- <normaloff>:/CC/images/clipboard.png</normaloff>:/CC/images/clipboard.png</iconset>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="rotAngleGroupBox_4">
- <property name="title">
- <string>Scale</string>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_13">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QDoubleSpinBox" name="fromToScaleDoubleSpinBox">
- <property name="decimals">
- <number>6</number>
- </property>
- <property name="minimum">
- <double>-1000000000.000000000000000</double>
- </property>
- <property name="maximum">
- <double>1000000000.000000000000000</double>
- </property>
- <property name="value">
- <double>1.000000000000000</double>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_5">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>247</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer_3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>119</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QFrame" name="frame">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_8">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QCheckBox" name="inverseCheckBox">
- <property name="text">
- <string>Apply inverse transformation</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="applyToGlobalCheckBox">
- <property name="toolTip">
- <string>Applies the transformation to global coordinates
- (may trigger an update of the Global Shift)</string>
- </property>
- <property name="text">
- <string>Apply to global coordinates</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <resources>
- <include location="../icons.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>ApplyTransformationDialog</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>316</x>
- <y>260</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>helpToolButton</sender>
- <signal>toggled(bool)</signal>
- <receiver>helpTextEdit</receiver>
- <slot>setVisible(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>372</x>
- <y>19</y>
- </hint>
- <hint type="destinationlabel">
- <x>200</x>
- <y>105</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|