Debian Codegraph @

src/Gui/PreferencePages/DlgSettingsSelection.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>Gui::Dialog::DlgSettingsSelection</class>
4 <widget class="QWidget" name="Gui::Dialog::DlgSettingsSelection">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>670</width>
10 <height>641</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Selection</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_4">
17 <item>
18 <widget class="QGroupBox" name="groupBox">
19 <property name="title">
20 <string>Viewport Selection Behavior</string>
21 </property>
22 <layout class="QGridLayout" name="gridLayout">
23 <item row="4" column="1">
24 <widget class="Gui::PrefColorButton" name="SelectionColor">
25 <property name="text">
26 <string/>
27 </property>
28 <property name="color">
29 <color>
30 <red>28</red>
31 <green>173</green>
32 <blue>28</blue>
33 </color>
34 </property>
35 <property name="prefEntry" stdset="0">
36 <cstring>SelectionColor</cstring>
37 </property>
38 <property name="prefPath" stdset="0">
39 <cstring>View</cstring>
40 </property>
41 </widget>
42 </item>
43 <item row="4" column="0">
44 <widget class="Gui::PrefCheckBox" name="checkBoxSelection">
45 <property name="toolTip">
46 <string>Enable selection, highlighted with specified color</string>
47 </property>
48 <property name="text">
49 <string>Enable selection</string>
50 </property>
51 <property name="checked">
52 <bool>true</bool>
53 </property>
54 <property name="prefEntry" stdset="0">
55 <cstring>EnableSelection</cstring>
56 </property>
57 <property name="prefPath" stdset="0">
58 <cstring>View</cstring>
59 </property>
60 </widget>
61 </item>
62 <item row="7" column="0" colspan="2">
63 <layout class="QHBoxLayout" name="horizontalLayout_1">
64 <item>
65 <widget class="QLabel" name="spinPickRadiusLabel">
66 <property name="text">
67 <string>Radius</string>
68 </property>
69 </widget>
70 </item>
71 <item>
72 <spacer name="horizSpacer_1">
73 <property name="orientation">
74 <enum>Qt::Orientation::Horizontal</enum>
75 </property>
76 <property name="sizeHint" stdset="0">
77 <size>
78 <width>250</width>
79 <height>10</height>
80 </size>
81 </property>
82 </spacer>
83 </item>
84 <item>
85 <widget class="Gui::PrefDoubleSpinBox" name="spinPickRadius">
86 <property name="minimumSize">
87 <size>
88 <width>120</width>
89 <height>0</height>
90 </size>
91 </property>
92 <property name="toolTip">
93 <string>Area for selecting elements in the 3D view.
94 A larger value makes it easier to select elements, but may prevent selection of small features.
95 </string>
96 </property>
97 <property name="inputMethodHints">
98 <set>Qt::InputMethodHint::ImhPreferNumbers</set>
99 </property>
100 <property name="suffix">
101 <string notr="true"> px</string>
102 </property>
103 <property name="decimals">
104 <number>1</number>
105 </property>
106 <property name="minimum">
107 <double>0.500000000000000</double>
108 </property>
109 <property name="maximum">
110 <double>200.000000000000000</double>
111 </property>
112 <property name="value">
113 <double>5.000000000000000</double>
114 </property>
115 <property name="prefEntry" stdset="0">
116 <cstring>PickRadius</cstring>
117 </property>
118 <property name="prefPath" stdset="0">
119 <cstring>View</cstring>
120 </property>
121 </widget>
122 </item>
123 </layout>
124 </item>
125 <item row="3" column="1">
126 <widget class="Gui::PrefColorButton" name="HighlightColor">
127 <property name="text">
128 <string/>
129 </property>
130 <property name="color">
131 <color>
132 <red>225</red>
133 <green>225</green>
134 <blue>20</blue>
135 </color>
136 </property>
137 <property name="prefEntry" stdset="0">
138 <cstring>HighlightColor</cstring>
139 </property>
140 <property name="prefPath" stdset="0">
141 <cstring>View</cstring>
142 </property>
143 </widget>
144 </item>
145 <item row="3" column="0">
146 <widget class="Gui::PrefCheckBox" name="checkBoxPreselection">
147 <property name="minimumSize">
148 <size>
149 <width>240</width>
150 <height>0</height>
151 </size>
152 </property>
153 <property name="toolTip">
154 <string>Enable preselection, highlighted with specified color</string>
155 </property>
156 <property name="text">
157 <string>Enable preselection</string>
158 </property>
159 <property name="checked">
160 <bool>true</bool>
161 </property>
162 <property name="prefEntry" stdset="0">
163 <cstring>EnablePreselection</cstring>
164 </property>
165 <property name="prefPath" stdset="0">
166 <cstring>View</cstring>
167 </property>
168 </widget>
169 </item>
170 <item row="8" column="0">
171 <widget class="Gui::PrefCheckBox" name="checkBoxPreselect">
172 <property name="text">
173 <string>Preselect the object in the 3D view when hovering the cursor over the tree item</string>
174 </property>
175 <property name="prefEntry" stdset="0">
176 <cstring>PreSelection</cstring>
177 </property>
178 <property name="prefPath" stdset="0">
179 <cstring>TreeView</cstring>
180 </property>
181 </widget>
182 </item>
183 </layout>
184 </widget>
185 </item>
186 <item>
187 <widget class="QGroupBox" name="groupBox_3">
188 <property name="title">
189 <string>Tree Selection Behavior</string>
190 </property>
191 <layout class="QVBoxLayout" name="verticalLayout_2">
192 <item>
193 <widget class="Gui::PrefCheckBox" name="checkBoxAutoSwitch">
194 <property name="text">
195 <string>Auto switch to the 3D view containing the selected item</string>
196 </property>
197 <property name="prefEntry" stdset="0">
198 <cstring>SyncView</cstring>
199 </property>
200 <property name="prefPath" stdset="0">
201 <cstring>TreeView</cstring>
202 </property>
203 </widget>
204 </item>
205 <item>
206 <widget class="Gui::PrefCheckBox" name="checkBoxAutoExpand">
207 <property name="text">
208 <string>Auto expand tree item when the corresponding object is selected in the 3D view</string>
209 </property>
210 <property name="prefEntry" stdset="0">
211 <cstring>SyncSelection</cstring>
212 </property>
213 <property name="prefPath" stdset="0">
214 <cstring>TreeView</cstring>
215 </property>
216 </widget>
217 </item>
218 <item>
219 <widget class="Gui::PrefCheckBox" name="checkBoxRecord">
220 <property name="text">
221 <string>Record selection in tree view in order to go back/forward using navigation button</string>
222 </property>
223 <property name="prefEntry" stdset="0">
224 <cstring>RecordSelection</cstring>
225 </property>
226 <property name="prefPath" stdset="0">
227 <cstring>TreeView</cstring>
228 </property>
229 </widget>
230 </item>
231 <item>
232 <widget class="Gui::PrefCheckBox" name="checkBoxSelectionCheckBoxes">
233 <property name="text">
234 <string>Add checkboxes for selection in document tree</string>
235 </property>
236 <property name="prefEntry" stdset="0">
237 <cstring>CheckBoxesSelection</cstring>
238 </property>
239 <property name="prefPath" stdset="0">
240 <cstring>TreeView</cstring>
241 </property>
242 </widget>
243 </item>
244 </layout>
245 </widget>
246 </item>
247 <item>
248 <spacer name="verticalSpacer">
249 <property name="orientation">
250 <enum>Qt::Orientation::Vertical</enum>
251 </property>
252 <property name="sizeHint" stdset="0">
253 <size>
254 <width>20</width>
255 <height>245</height>
256 </size>
257 </property>
258 </spacer>
259 </item>
260 </layout>
261 </widget>
262 <customwidgets>
263 <customwidget>
264 <class>Gui::ColorButton</class>
265 <extends>QPushButton</extends>
266 <header>Gui/Widgets.h</header>
267 </customwidget>
268 <customwidget>
269 <class>Gui::PrefColorButton</class>
270 <extends>Gui::ColorButton</extends>
271 <header>Gui/PrefWidgets.h</header>
272 </customwidget>
273 <customwidget>
274 <class>Gui::PrefCheckBox</class>
275 <extends>QCheckBox</extends>
276 <header>Gui/PrefWidgets.h</header>
277 </customwidget>
278 <customwidget>
279 <class>Gui::PrefDoubleSpinBox</class>
280 <extends>QDoubleSpinBox</extends>
281 <header>Gui/PrefWidgets.h</header>
282 </customwidget>
283 </customwidgets>
284 <resources/>
285 <connections>
286 <connection>
287 <sender>checkBoxPreselection</sender>
288 <signal>toggled(bool)</signal>
289 <receiver>HighlightColor</receiver>
290 <slot>setEnabled(bool)</slot>
291 <hints>
292 <hint type="sourcelabel">
293 <x>20</x>
294 <y>20</y>
295 </hint>
296 <hint type="destinationlabel">
297 <x>20</x>
298 <y>20</y>
299 </hint>
300 </hints>
301 </connection>
302 <connection>
303 <sender>checkBoxSelection</sender>
304 <signal>toggled(bool)</signal>
305 <receiver>SelectionColor</receiver>
306 <slot>setEnabled(bool)</slot>
307 <hints>
308 <hint type="sourcelabel">
309 <x>20</x>
310 <y>20</y>
311 </hint>
312 <hint type="destinationlabel">
313 <x>20</x>
314 <y>20</y>
315 </hint>
316 </hints>
317 </connection>
318 </connections>
319 </ui>