~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Part/Gui/DlgSettings3DViewPart.ui

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-07-16 18:37:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090716183741-oww9kcxqrk991i1n
Tags: upstream-0.8.2237
ImportĀ upstreamĀ versionĀ 0.8.2237

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ui version="4.0" >
 
2
 <author></author>
 
3
 <comment></comment>
 
4
 <exportmacro></exportmacro>
 
5
 <class>PartGui::DlgSettings3DViewPart</class>
 
6
 <widget class="QWidget" name="PartGui::DlgSettings3DViewPart" >
 
7
  <property name="geometry" >
 
8
   <rect>
 
9
    <x>0</x>
 
10
    <y>0</y>
 
11
    <width>550</width>
 
12
    <height>339</height>
 
13
   </rect>
 
14
  </property>
 
15
  <property name="windowTitle" >
 
16
   <string>Shape view</string>
 
17
  </property>
 
18
  <layout class="QGridLayout" >
 
19
   <property name="margin" >
 
20
    <number>9</number>
 
21
   </property>
 
22
   <property name="spacing" >
 
23
    <number>6</number>
 
24
   </property>
 
25
   <item row="1" column="0" >
 
26
    <spacer>
 
27
     <property name="orientation" >
 
28
      <enum>Qt::Vertical</enum>
 
29
     </property>
 
30
     <property name="sizeHint" >
 
31
      <size>
 
32
       <width>20</width>
 
33
       <height>61</height>
 
34
      </size>
 
35
     </property>
 
36
    </spacer>
 
37
   </item>
 
38
   <item row="0" column="0" >
 
39
    <widget class="QGroupBox" name="GroupBox12" >
 
40
     <property name="title" >
 
41
      <string>Tessellation</string>
 
42
     </property>
 
43
     <layout class="QGridLayout" >
 
44
      <property name="margin" >
 
45
       <number>9</number>
 
46
      </property>
 
47
      <property name="spacing" >
 
48
       <number>6</number>
 
49
      </property>
 
50
      <item row="0" column="0" >
 
51
       <layout class="QGridLayout" >
 
52
        <property name="margin" >
 
53
         <number>0</number>
 
54
        </property>
 
55
        <property name="spacing" >
 
56
         <number>6</number>
 
57
        </property>
 
58
        <item row="4" column="0" colspan="3" >
 
59
         <widget class="Gui::PrefCheckBox" name="prefCheckBox8" >
 
60
          <property name="toolTip" >
 
61
           <string>Defines the appearance of surfaces</string>
 
62
          </property>
 
63
          <property name="whatsThis" >
 
64
           <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Flat shading/Phong shading&lt;/span>&lt;/p>&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">With flat shading the surface normals are not defined per vertex that leads to a unreal appearance for curved surfaces while using Phong shading leads to a smoother appearance. &lt;/p>&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">If this option is unset Phong shading is used, if it is set flat shading is used.&lt;/p>&lt;/body>&lt;/html></string>
 
65
          </property>
 
66
          <property name="text" >
 
67
           <string>Do not define normal per vertex</string>
 
68
          </property>
 
69
          <property name="prefEntry" stdset="0" >
 
70
           <cstring>NoPerVertexNormals</cstring>
 
71
          </property>
 
72
          <property name="prefPath" stdset="0" >
 
73
           <cstring>Mod/Part</cstring>
 
74
          </property>
 
75
         </widget>
 
76
        </item>
 
77
        <item rowspan="2" row="1" column="0" colspan="2" >
 
78
         <widget class="QLabel" name="textLabel1" >
 
79
          <property name="toolTip" >
 
80
           <string>Defines the deviation of tessellation to the actual surface</string>
 
81
          </property>
 
82
          <property name="whatsThis" >
 
83
           <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Tessellation&lt;/span>&lt;/p>&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;">&lt;/p>&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;">&lt;span style=" font-weight:400;">Defines the maximum deviation of the tessellated mesh to the surface. The smaller the value is the slower the render speed and the nicer the appearance are.&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
 
84
          </property>
 
85
          <property name="text" >
 
86
           <string>Maximum deviation of tessellated shapes</string>
 
87
          </property>
 
88
         </widget>
 
89
        </item>
 
90
        <item row="6" column="0" colspan="4" >
 
91
         <widget class="QLabel" name="label" >
 
92
          <property name="text" >
 
93
           <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">&lt;span style=" font-weight:600;">Hint&lt;/span>&lt;/p>&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">Defining the normals per vertex is also called &lt;span style=" font-style:italic;">Phong shading&lt;/span>&lt;/p>&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; font-style:italic;">&lt;span style=" font-style:normal;">while defining the normals per face is called &lt;/span>Flat shading&lt;span style=" font-style:normal;">.&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
 
94
          </property>
 
95
         </widget>
 
96
        </item>
 
97
        <item row="3" column="0" >
 
98
         <widget class="QLabel" name="textLabel1_3_3_2" >
 
99
          <property name="text" >
 
100
           <string>View smooting</string>
 
101
          </property>
 
102
         </widget>
 
103
        </item>
 
104
        <item row="2" column="3" >
 
105
         <widget class="Gui::PrefDoubleSpinBox" name="prefFloatSpinBox1" >
 
106
          <property name="maximum" >
 
107
           <double>100</double>
 
108
          </property>
 
109
          <property name="minimum" >
 
110
           <double>0.01</double>
 
111
          </property>
 
112
          <property name="singleStep" >
 
113
           <double>0.01</double>
 
114
          </property>
 
115
          <property name="value" >
 
116
           <double>0.5</double>
 
117
          </property>
 
118
          <property name="prefEntry" stdset="0" >
 
119
           <cstring>MeshDeviation</cstring>
 
120
          </property>
 
121
          <property name="prefPath" stdset="0" >
 
122
           <cstring>Mod/Part</cstring>
 
123
          </property>
 
124
         </widget>
 
125
        </item>
 
126
        <item row="5" column="0" colspan="3" >
 
127
         <widget class="Gui::PrefCheckBox" name="prefCheckBox3" >
 
128
          <property name="toolTip" >
 
129
           <string>This will slow down render speed but will lead to nicer results</string>
 
130
          </property>
 
131
          <property name="whatsThis" >
 
132
           <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">High-quality normals&lt;/span>&lt;/p>&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This will slow down render speed but will lead to nicer results.&lt;/p>&lt;/body>&lt;/html></string>
 
133
          </property>
 
134
          <property name="text" >
 
135
           <string>Using high-quality normals</string>
 
136
          </property>
 
137
          <property name="prefEntry" stdset="0" >
 
138
           <cstring>QualityNormals</cstring>
 
139
          </property>
 
140
          <property name="prefPath" stdset="0" >
 
141
           <cstring>Mod/Part</cstring>
 
142
          </property>
 
143
         </widget>
 
144
        </item>
 
145
        <item rowspan="2" row="0" column="2" colspan="2" >
 
146
         <widget class="Line" name="line2" >
 
147
          <property name="sizePolicy" >
 
148
           <sizepolicy>
 
149
            <hsizetype>3</hsizetype>
 
150
            <vsizetype>0</vsizetype>
 
151
            <horstretch>0</horstretch>
 
152
            <verstretch>0</verstretch>
 
153
           </sizepolicy>
 
154
          </property>
 
155
          <property name="frameShape" >
 
156
           <enum>QFrame::HLine</enum>
 
157
          </property>
 
158
          <property name="frameShadow" >
 
159
           <enum>QFrame::Sunken</enum>
 
160
          </property>
 
161
          <property name="orientation" >
 
162
           <enum>Qt::Horizontal</enum>
 
163
          </property>
 
164
         </widget>
 
165
        </item>
 
166
        <item row="0" column="0" colspan="2" >
 
167
         <widget class="QLabel" name="textLabel1_3" >
 
168
          <property name="text" >
 
169
           <string>View accuracy / Performance</string>
 
170
          </property>
 
171
         </widget>
 
172
        </item>
 
173
        <item row="3" column="1" colspan="3" >
 
174
         <widget class="Line" name="line2_2_2" >
 
175
          <property name="sizePolicy" >
 
176
           <sizepolicy>
 
177
            <hsizetype>3</hsizetype>
 
178
            <vsizetype>0</vsizetype>
 
179
            <horstretch>0</horstretch>
 
180
            <verstretch>0</verstretch>
 
181
           </sizepolicy>
 
182
          </property>
 
183
          <property name="frameShape" >
 
184
           <enum>QFrame::HLine</enum>
 
185
          </property>
 
186
          <property name="frameShadow" >
 
187
           <enum>QFrame::Sunken</enum>
 
188
          </property>
 
189
          <property name="orientation" >
 
190
           <enum>Qt::Horizontal</enum>
 
191
          </property>
 
192
         </widget>
 
193
        </item>
 
194
       </layout>
 
195
      </item>
 
196
     </layout>
 
197
    </widget>
 
198
   </item>
 
199
  </layout>
 
200
 </widget>
 
201
 <layoutdefault spacing="6" margin="11" />
 
202
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
 
203
 <customwidgets>
 
204
  <customwidget>
 
205
   <class>Gui::PrefDoubleSpinBox</class>
 
206
   <extends>QDoubleSpinBox</extends>
 
207
   <header>Gui/PrefWidgets.h</header>
 
208
   <container>0</container>
 
209
   <pixmap></pixmap>
 
210
  </customwidget>
 
211
  <customwidget>
 
212
   <class>Gui::PrefCheckBox</class>
 
213
   <extends>QCheckBox</extends>
 
214
   <header>Gui/PrefWidgets.h</header>
 
215
   <container>0</container>
 
216
   <pixmap></pixmap>
 
217
  </customwidget>
 
218
 </customwidgets>
 
219
 <resources/>
 
220
 <connections/>
 
221
</ui>