1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>DlgOptionsDrawing</class>
4 <widget class="QDialog" name="DlgOptionsDrawing">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>Drawing Preferences</string>
16 <property name="sizeGripEnabled">
19 <layout class="QVBoxLayout">
20 <property name="spacing">
23 <property name="margin">
27 <widget class="QTabWidget" name="tabWidget">
28 <property name="currentIndex">
31 <widget class="QWidget" name="tab">
32 <attribute name="title">
33 <string>&Paper</string>
35 <layout class="QVBoxLayout">
37 <widget class="QGroupBox" name="buttonGroup3">
38 <property name="title">
39 <string>Paper Format</string>
41 <layout class="QVBoxLayout">
43 <layout class="QHBoxLayout">
45 <widget class="QComboBox" name="cbPaperFormat"/>
48 <spacer name="spacer9">
49 <property name="orientation">
50 <enum>Qt::Horizontal</enum>
52 <property name="sizeType">
53 <enum>QSizePolicy::Expanding</enum>
55 <property name="sizeHint" stdset="0">
66 <layout class="QHBoxLayout">
68 <widget class="QRadioButton" name="rbLandscape">
69 <property name="text">
70 <string>&Landscape</string>
75 <widget class="QRadioButton" name="rbPortrait">
76 <property name="text">
77 <string>P&ortrait</string>
82 <spacer name="spacer6">
83 <property name="orientation">
84 <enum>Qt::Horizontal</enum>
86 <property name="sizeType">
87 <enum>QSizePolicy::Expanding</enum>
89 <property name="sizeHint" stdset="0">
100 <layout class="QGridLayout">
101 <item row="2" column="2">
102 <spacer name="spacer8">
103 <property name="orientation">
104 <enum>Qt::Horizontal</enum>
106 <property name="sizeType">
107 <enum>QSizePolicy::Expanding</enum>
109 <property name="sizeHint" stdset="0">
117 <item row="1" column="1" rowspan="2">
118 <widget class="QLineEdit" name="lePaperHeight"/>
120 <item row="2" column="0">
121 <widget class="QLabel" name="lPageHeight">
122 <property name="text">
123 <string>Paper &Height:</string>
125 <property name="wordWrap">
128 <property name="buddy">
129 <cstring>lePaperHeight</cstring>
133 <item row="0" column="0">
134 <widget class="QLabel" name="lPageWidth">
135 <property name="text">
136 <string>Paper &Width:</string>
138 <property name="wordWrap">
141 <property name="buddy">
142 <cstring>lePaperWidth</cstring>
146 <item row="0" column="1">
147 <widget class="QLineEdit" name="lePaperWidth"/>
149 <item row="0" column="2" rowspan="2">
150 <spacer name="spacer7">
151 <property name="orientation">
152 <enum>Qt::Horizontal</enum>
154 <property name="sizeType">
155 <enum>QSizePolicy::Expanding</enum>
157 <property name="sizeHint" stdset="0">
172 <widget class="QWidget" name="tab">
173 <attribute name="title">
174 <string>&Units</string>
176 <layout class="QVBoxLayout">
178 <widget class="QGroupBox" name="bgUnit">
179 <property name="title">
180 <string>Main Unit</string>
182 <layout class="QHBoxLayout">
184 <widget class="QLabel" name="lUnit">
185 <property name="text">
186 <string>&Main drawing unit:</string>
188 <property name="wordWrap">
191 <property name="buddy">
192 <cstring>cbUnit</cstring>
197 <widget class="QComboBox" name="cbUnit"/>
200 <spacer name="spacer19">
201 <property name="orientation">
202 <enum>Qt::Horizontal</enum>
204 <property name="sizeType">
205 <enum>QSizePolicy::Expanding</enum>
207 <property name="sizeHint" stdset="0">
219 <layout class="QHBoxLayout">
221 <layout class="QVBoxLayout">
223 <widget class="QGroupBox" name="bgLength">
224 <property name="title">
225 <string>Length</string>
227 <layout class="QGridLayout">
228 <item row="0" column="0">
229 <widget class="QLabel" name="lLengthFormat">
230 <property name="text">
231 <string>&Format:</string>
233 <property name="wordWrap">
236 <property name="buddy">
237 <cstring>cbLengthFormat</cstring>
241 <item row="0" column="1">
242 <widget class="QComboBox" name="cbLengthFormat"/>
244 <item row="1" column="1">
245 <widget class="QComboBox" name="cbLengthPrecision"/>
247 <item row="1" column="0">
248 <widget class="QLabel" name="lLengthPrecision">
249 <property name="text">
250 <string>P&recision:</string>
252 <property name="wordWrap">
255 <property name="buddy">
256 <cstring>cbLengthPrecision</cstring>
260 <item row="2" column="1">
261 <spacer name="spacer15">
262 <property name="orientation">
263 <enum>Qt::Vertical</enum>
265 <property name="sizeType">
266 <enum>QSizePolicy::Expanding</enum>
268 <property name="sizeHint" stdset="0">
276 <item row="2" column="0">
277 <spacer name="spacer15_2">
278 <property name="orientation">
279 <enum>Qt::Vertical</enum>
281 <property name="sizeType">
282 <enum>QSizePolicy::Expanding</enum>
284 <property name="sizeHint" stdset="0">
296 <widget class="QGroupBox" name="bgLengthPreview">
297 <property name="title">
298 <string>Preview</string>
300 <layout class="QHBoxLayout">
302 <widget class="QLabel" name="lLinear">
303 <property name="text">
304 <string>linear</string>
306 <property name="wordWrap">
317 <layout class="QVBoxLayout">
319 <widget class="QGroupBox" name="bgAngle">
320 <property name="title">
321 <string>Angle</string>
323 <layout class="QGridLayout">
324 <item row="0" column="0">
325 <widget class="QLabel" name="lAngleFormat">
326 <property name="text">
327 <string>F&ormat:</string>
329 <property name="wordWrap">
332 <property name="buddy">
333 <cstring>cbAngleFormat</cstring>
337 <item row="2" column="1">
338 <spacer name="spacer15_3">
339 <property name="orientation">
340 <enum>Qt::Vertical</enum>
342 <property name="sizeType">
343 <enum>QSizePolicy::Expanding</enum>
345 <property name="sizeHint" stdset="0">
353 <item row="2" column="0">
354 <spacer name="spacer15_2_2">
355 <property name="orientation">
356 <enum>Qt::Vertical</enum>
358 <property name="sizeType">
359 <enum>QSizePolicy::Expanding</enum>
361 <property name="sizeHint" stdset="0">
369 <item row="0" column="1">
370 <widget class="QComboBox" name="cbAngleFormat"/>
372 <item row="1" column="0">
373 <widget class="QLabel" name="lAnglePrecision">
374 <property name="text">
375 <string>Pre&cision:</string>
377 <property name="wordWrap">
380 <property name="buddy">
381 <cstring>cbAnglePrecision</cstring>
385 <item row="1" column="1">
386 <widget class="QComboBox" name="cbAnglePrecision"/>
392 <widget class="QGroupBox" name="bgAnglePreview">
393 <property name="title">
394 <string>Preview</string>
396 <layout class="QHBoxLayout">
398 <widget class="QLabel" name="lAngular">
399 <property name="text">
400 <string>angular</string>
402 <property name="wordWrap">
416 <widget class="QWidget" name="tab">
417 <attribute name="title">
418 <string>&Grid</string>
420 <layout class="QVBoxLayout">
422 <widget class="QGroupBox" name="bgGrid">
423 <property name="title">
424 <string>Grid Settings</string>
426 <layout class="QVBoxLayout">
428 <layout class="QHBoxLayout">
430 <widget class="QCheckBox" name="cbGridOn">
431 <property name="text">
432 <string>Show Grid</string>
437 <spacer name="spacer16">
438 <property name="orientation">
439 <enum>Qt::Horizontal</enum>
441 <property name="sizeType">
442 <enum>QSizePolicy::Expanding</enum>
444 <property name="sizeHint" stdset="0">
455 <layout class="QGridLayout">
456 <item row="1" column="2">
457 <spacer name="spacer14_2">
458 <property name="orientation">
459 <enum>Qt::Horizontal</enum>
461 <property name="sizeType">
462 <enum>QSizePolicy::Expanding</enum>
464 <property name="sizeHint" stdset="0">
472 <item row="0" column="2">
473 <spacer name="spacer14">
474 <property name="orientation">
475 <enum>Qt::Horizontal</enum>
477 <property name="sizeType">
478 <enum>QSizePolicy::Expanding</enum>
480 <property name="sizeHint" stdset="0">
488 <item row="0" column="0">
489 <widget class="QLabel" name="lXSpacing">
490 <property name="text">
491 <string>X Spacing:</string>
493 <property name="wordWrap">
498 <item row="1" column="1">
499 <widget class="QComboBox" name="cbYSpacing">
500 <property name="editable">
504 <property name="text">
505 <string>auto</string>
509 <property name="text">
510 <string>0.01</string>
514 <property name="text">
519 <property name="text">
524 <property name="text">
530 <item row="1" column="0">
531 <widget class="QLabel" name="lYSpacing">
532 <property name="text">
533 <string>Y Spacing:</string>
535 <property name="wordWrap">
540 <item row="0" column="1">
541 <widget class="QComboBox" name="cbXSpacing">
542 <property name="editable">
546 <property name="text">
547 <string>auto</string>
551 <property name="text">
552 <string>0.01</string>
556 <property name="text">
561 <property name="text">
566 <property name="text">
578 <spacer name="spacer17">
579 <property name="orientation">
580 <enum>Qt::Vertical</enum>
582 <property name="sizeType">
583 <enum>QSizePolicy::Expanding</enum>
585 <property name="sizeHint" stdset="0">
595 <widget class="QWidget" name="tab">
596 <attribute name="title">
597 <string>&Dimensions</string>
599 <layout class="QGridLayout">
600 <item row="0" column="0">
601 <widget class="QLabel" name="lDimTextHeight">
602 <property name="text">
603 <string>Text Height:</string>
605 <property name="wordWrap">
610 <item row="0" column="2">
611 <widget class="QLabel" name="lDimUnit1">
612 <property name="text">
613 <string>units</string>
615 <property name="wordWrap">
620 <item row="0" column="1">
621 <widget class="QComboBox" name="cbDimTextHeight">
622 <property name="editable">
626 <property name="text">
631 <property name="text">
636 <property name="text">
642 <item row="1" column="0">
643 <widget class="QLabel" name="lDimExe">
644 <property name="text">
645 <string>Extension line extension:</string>
647 <property name="wordWrap">
652 <item row="1" column="1">
653 <widget class="QComboBox" name="cbDimExe">
654 <property name="editable">
658 <property name="text">
663 <property name="text">
668 <property name="text">
674 <item row="1" column="2">
675 <widget class="QLabel" name="lDimUnit2">
676 <property name="text">
677 <string>units</string>
679 <property name="wordWrap">
684 <item row="2" column="2">
685 <widget class="QLabel" name="lDimUnit3">
686 <property name="text">
687 <string>units</string>
689 <property name="wordWrap">
694 <item row="5" column="0">
695 <spacer name="spacer11">
696 <property name="orientation">
697 <enum>Qt::Vertical</enum>
699 <property name="sizeType">
700 <enum>QSizePolicy::Expanding</enum>
702 <property name="sizeHint" stdset="0">
710 <item row="5" column="1">
711 <spacer name="spacer11_2">
712 <property name="orientation">
713 <enum>Qt::Vertical</enum>
715 <property name="sizeType">
716 <enum>QSizePolicy::Expanding</enum>
718 <property name="sizeHint" stdset="0">
726 <item row="5" column="2">
727 <spacer name="spacer11_2_2">
728 <property name="orientation">
729 <enum>Qt::Vertical</enum>
731 <property name="sizeType">
732 <enum>QSizePolicy::Expanding</enum>
734 <property name="sizeHint" stdset="0">
742 <item row="4" column="0">
743 <widget class="QLabel" name="lDimAsz">
744 <property name="text">
745 <string>Arrow size:</string>
747 <property name="wordWrap">
752 <item row="3" column="0">
753 <widget class="QLabel" name="lDimGap">
754 <property name="text">
755 <string>Dimension line gap:</string>
757 <property name="wordWrap">
762 <item row="2" column="0">
763 <widget class="QLabel" name="lDimExo">
764 <property name="text">
765 <string>Extension line offset:</string>
767 <property name="wordWrap">
772 <item row="2" column="1">
773 <widget class="QComboBox" name="cbDimExo">
774 <property name="editable">
778 <property name="text">
783 <property name="text">
788 <property name="text">
794 <item row="3" column="1">
795 <widget class="QComboBox" name="cbDimGap">
796 <property name="editable">
800 <property name="text">
805 <property name="text">
810 <property name="text">
816 <item row="4" column="1">
817 <widget class="QComboBox" name="cbDimAsz">
818 <property name="editable">
822 <property name="text">
827 <property name="text">
832 <property name="text">
838 <item row="3" column="2">
839 <widget class="QLabel" name="lDimUnit4">
840 <property name="text">
841 <string>units</string>
843 <property name="wordWrap">
848 <item row="4" column="2">
849 <widget class="QLabel" name="lDimUnit5">
850 <property name="text">
851 <string>units</string>
853 <property name="wordWrap">
860 <widget class="QWidget" name="tab">
861 <attribute name="title">
862 <string>Splines</string>
864 <layout class="QVBoxLayout">
866 <layout class="QHBoxLayout">
868 <widget class="QLabel" name="lSplineSegs">
869 <property name="text">
870 <string>Number of line segments per spline patch:</string>
872 <property name="wordWrap">
878 <widget class="QComboBox" name="cbSplineSegs">
879 <property name="editable">
883 <property name="text">
888 <property name="text">
893 <property name="text">
898 <property name="text">
903 <property name="text">
908 <property name="text">
917 <spacer name="spacer19_2">
918 <property name="orientation">
919 <enum>Qt::Vertical</enum>
921 <property name="sizeType">
922 <enum>QSizePolicy::Expanding</enum>
924 <property name="sizeHint" stdset="0">
937 <layout class="QHBoxLayout">
938 <property name="spacing">
941 <property name="margin">
945 <spacer name="Horizontal Spacing2">
946 <property name="orientation">
947 <enum>Qt::Horizontal</enum>
949 <property name="sizeType">
950 <enum>QSizePolicy::Expanding</enum>
952 <property name="sizeHint" stdset="0">
961 <widget class="QPushButton" name="buttonOk">
962 <property name="text">
963 <string>&OK</string>
965 <property name="shortcut">
966 <string>Alt+O</string>
968 <property name="autoDefault">
971 <property name="default">
977 <widget class="QPushButton" name="buttonCancel">
978 <property name="text">
979 <string>Cancel</string>
981 <property name="shortcut">
984 <property name="autoDefault">
993 <layoutdefault spacing="6" margin="11"/>
995 <tabstop>tabWidget</tabstop>
996 <tabstop>cbPaperFormat</tabstop>
997 <tabstop>rbLandscape</tabstop>
998 <tabstop>rbPortrait</tabstop>
999 <tabstop>lePaperWidth</tabstop>
1000 <tabstop>lePaperHeight</tabstop>
1001 <tabstop>buttonOk</tabstop>
1002 <tabstop>buttonCancel</tabstop>
1003 <tabstop>cbUnit</tabstop>
1004 <tabstop>cbLengthFormat</tabstop>
1005 <tabstop>cbLengthPrecision</tabstop>
1006 <tabstop>cbAngleFormat</tabstop>
1007 <tabstop>cbAnglePrecision</tabstop>
1008 <tabstop>cbGridOn</tabstop>
1009 <tabstop>cbXSpacing</tabstop>
1010 <tabstop>cbYSpacing</tabstop>
1011 <tabstop>cbDimTextHeight</tabstop>
1012 <tabstop>cbDimExe</tabstop>
1013 <tabstop>cbDimExo</tabstop>
1014 <tabstop>cbDimGap</tabstop>
1015 <tabstop>cbDimAsz</tabstop>
1020 <sender>buttonOk</sender>
1021 <signal>clicked()</signal>
1022 <receiver>DlgOptionsDrawing</receiver>
1023 <slot>validate()</slot>
1025 <hint type="sourcelabel">
1029 <hint type="destinationlabel">
1036 <sender>buttonCancel</sender>
1037 <signal>clicked()</signal>
1038 <receiver>DlgOptionsDrawing</receiver>
1039 <slot>reject()</slot>
1041 <hint type="sourcelabel">
1045 <hint type="destinationlabel">
1052 <sender>cbLengthFormat</sender>
1053 <signal>activated(int)</signal>
1054 <receiver>DlgOptionsDrawing</receiver>
1055 <slot>updateLengthPrecision()</slot>
1057 <hint type="sourcelabel">
1061 <hint type="destinationlabel">
1068 <sender>cbAngleFormat</sender>
1069 <signal>activated(int)</signal>
1070 <receiver>DlgOptionsDrawing</receiver>
1071 <slot>updateAnglePrecision()</slot>
1073 <hint type="sourcelabel">
1077 <hint type="destinationlabel">
1084 <sender>cbUnit</sender>
1085 <signal>activated(int)</signal>
1086 <receiver>DlgOptionsDrawing</receiver>
1087 <slot>updatePreview()</slot>
1089 <hint type="sourcelabel">
1093 <hint type="destinationlabel">
1100 <sender>cbAngleFormat</sender>
1101 <signal>activated(int)</signal>
1102 <receiver>DlgOptionsDrawing</receiver>
1103 <slot>updatePreview()</slot>
1105 <hint type="sourcelabel">
1109 <hint type="destinationlabel">
1116 <sender>cbLengthFormat</sender>
1117 <signal>activated(QString)</signal>
1118 <receiver>DlgOptionsDrawing</receiver>
1119 <slot>updatePreview()</slot>
1121 <hint type="sourcelabel">
1125 <hint type="destinationlabel">
1132 <sender>cbAnglePrecision</sender>
1133 <signal>activated(int)</signal>
1134 <receiver>DlgOptionsDrawing</receiver>
1135 <slot>updatePreview()</slot>
1137 <hint type="sourcelabel">
1141 <hint type="destinationlabel">
1148 <sender>cbLengthPrecision</sender>
1149 <signal>activated(int)</signal>
1150 <receiver>DlgOptionsDrawing</receiver>
1151 <slot>updatePreview()</slot>
1153 <hint type="sourcelabel">
1157 <hint type="destinationlabel">
1164 <sender>cbPaperFormat</sender>
1165 <signal>activated(int)</signal>
1166 <receiver>DlgOptionsDrawing</receiver>
1167 <slot>updatePaperSize()</slot>
1169 <hint type="sourcelabel">
1173 <hint type="destinationlabel">
1180 <sender>cbUnit</sender>
1181 <signal>activated(int)</signal>
1182 <receiver>DlgOptionsDrawing</receiver>
1183 <slot>updateUnitLabels()</slot>
1185 <hint type="sourcelabel">
1189 <hint type="destinationlabel">