~ubuntu-branches/debian/sid/cloudcompare/sid

« back to all changes in this revision

Viewing changes to qCC/ui_templates/globalShiftSettingsDlg.ui

  • Committer: Package Import Robot
  • Author(s): Gürkan Myczko
  • Date: 2018-02-23 08:38:00 UTC
  • Revision ID: package-import@ubuntu.com-20180223083800-m96gby901656yjd1
Tags: upstream-2.9.1+git20180223
Import upstream version 2.9.1+git20180223

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>GlobalShiftSettingsDialog</class>
 
4
 <widget class="QDialog" name="GlobalShiftSettingsDialog">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>370</width>
 
10
    <height>280</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="windowTitle">
 
14
   <string>Global Shift settings</string>
 
15
  </property>
 
16
  <layout class="QVBoxLayout" name="verticalLayout">
 
17
   <item>
 
18
    <widget class="QPlainTextEdit" name="plainTextEdit">
 
19
     <property name="styleSheet">
 
20
      <string notr="true">color: grey; font-style: italic;</string>
 
21
     </property>
 
22
     <property name="readOnly">
 
23
      <bool>true</bool>
 
24
     </property>
 
25
     <property name="plainText">
 
26
      <string>The Global Shift &amp; Scale mechanism aims at reducing the loss of precision when working with big coordinates.
 
27
 
 
28
As CloudCompare and most graphic cards work with 32 bits floating point values, their resolution and the computation precision is limited. The bigger the numbers the less resolute they are.
 
29
 
 
30
Here below you can set the limits above which the 'Global Shift &amp; Scale' mechanism will be triggered.
 
31
 
 
32
Note: the diagonal is not tested at loading time.</string>
 
33
     </property>
 
34
     <property name="textInteractionFlags">
 
35
      <set>Qt::NoTextInteraction</set>
 
36
     </property>
 
37
    </widget>
 
38
   </item>
 
39
   <item>
 
40
    <widget class="QLabel" name="label_3">
 
41
     <property name="text">
 
42
      <string>Global Shift &amp; Scale triggering limits:</string>
 
43
     </property>
 
44
    </widget>
 
45
   </item>
 
46
   <item>
 
47
    <layout class="QFormLayout" name="formLayout">
 
48
     <item row="0" column="0">
 
49
      <widget class="QLabel" name="label">
 
50
       <property name="text">
 
51
        <string>Max absolute coordinate</string>
 
52
       </property>
 
53
      </widget>
 
54
     </item>
 
55
     <item row="0" column="1">
 
56
      <widget class="QSpinBox" name="maxAbsCoordSpinBox">
 
57
       <property name="toolTip">
 
58
        <string>CloudCompare will suggest to apply a Global Shift to the loaded entities if their coordinates are above this limit</string>
 
59
       </property>
 
60
       <property name="suffix">
 
61
        <string/>
 
62
       </property>
 
63
       <property name="prefix">
 
64
        <string>10^</string>
 
65
       </property>
 
66
       <property name="minimum">
 
67
        <number>2</number>
 
68
       </property>
 
69
       <property name="maximum">
 
70
        <number>12</number>
 
71
       </property>
 
72
       <property name="value">
 
73
        <number>4</number>
 
74
       </property>
 
75
      </widget>
 
76
     </item>
 
77
     <item row="1" column="0">
 
78
      <widget class="QLabel" name="label_2">
 
79
       <property name="text">
 
80
        <string>Max entity diagonal</string>
 
81
       </property>
 
82
      </widget>
 
83
     </item>
 
84
     <item row="1" column="1">
 
85
      <widget class="QSpinBox" name="maxAbsDiagSpinBox">
 
86
       <property name="toolTip">
 
87
        <string>CloudCompare will suggest to apply a Global Scale to the loaded entities if their bounding-box diagonal is above this limit</string>
 
88
       </property>
 
89
       <property name="suffix">
 
90
        <string/>
 
91
       </property>
 
92
       <property name="prefix">
 
93
        <string>10^</string>
 
94
       </property>
 
95
       <property name="minimum">
 
96
        <number>2</number>
 
97
       </property>
 
98
       <property name="maximum">
 
99
        <number>12</number>
 
100
       </property>
 
101
       <property name="value">
 
102
        <number>6</number>
 
103
       </property>
 
104
      </widget>
 
105
     </item>
 
106
    </layout>
 
107
   </item>
 
108
   <item>
 
109
    <widget class="QDialogButtonBox" name="buttonBox">
 
110
     <property name="orientation">
 
111
      <enum>Qt::Horizontal</enum>
 
112
     </property>
 
113
     <property name="standardButtons">
 
114
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
 
115
     </property>
 
116
    </widget>
 
117
   </item>
 
118
  </layout>
 
119
 </widget>
 
120
 <resources/>
 
121
 <connections>
 
122
  <connection>
 
123
   <sender>buttonBox</sender>
 
124
   <signal>accepted()</signal>
 
125
   <receiver>GlobalShiftSettingsDialog</receiver>
 
126
   <slot>accept()</slot>
 
127
   <hints>
 
128
    <hint type="sourcelabel">
 
129
     <x>248</x>
 
130
     <y>254</y>
 
131
    </hint>
 
132
    <hint type="destinationlabel">
 
133
     <x>157</x>
 
134
     <y>274</y>
 
135
    </hint>
 
136
   </hints>
 
137
  </connection>
 
138
  <connection>
 
139
   <sender>buttonBox</sender>
 
140
   <signal>rejected()</signal>
 
141
   <receiver>GlobalShiftSettingsDialog</receiver>
 
142
   <slot>reject()</slot>
 
143
   <hints>
 
144
    <hint type="sourcelabel">
 
145
     <x>316</x>
 
146
     <y>260</y>
 
147
    </hint>
 
148
    <hint type="destinationlabel">
 
149
     <x>286</x>
 
150
     <y>274</y>
 
151
    </hint>
 
152
   </hints>
 
153
  </connection>
 
154
 </connections>
 
155
</ui>