]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgoptionsgeneral.ui
Fixed problem with MDI activation.
[architektonas] / src / forms / dlgoptionsgeneral.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgOptionsGeneral</class>
4  <widget class="QDialog" name="DlgOptionsGeneral">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>554</width>
10     <height>397</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Application Preferences</string>
15   </property>
16   <property name="sizeGripEnabled">
17    <bool>true</bool>
18   </property>
19   <layout class="QVBoxLayout">
20    <property name="spacing">
21     <number>6</number>
22    </property>
23    <property name="margin">
24     <number>11</number>
25    </property>
26    <item>
27     <widget class="QTabWidget" name="tabWidget">
28      <property name="currentIndex">
29       <number>2</number>
30      </property>
31      <widget class="QWidget" name="Widget9">
32       <attribute name="title">
33        <string>&amp;Appearance</string>
34       </attribute>
35       <layout class="QGridLayout">
36        <item row="0" column="0">
37         <widget class="QGroupBox" name="bgLanguage">
38          <property name="title">
39           <string>Language</string>
40          </property>
41          <layout class="QGridLayout">
42           <item row="0" column="0">
43            <widget class="QLabel" name="lLanguage">
44             <property name="text">
45              <string>&amp;GUI Language:</string>
46             </property>
47             <property name="wordWrap">
48              <bool>false</bool>
49             </property>
50             <property name="buddy">
51              <cstring>cbLanguage</cstring>
52             </property>
53            </widget>
54           </item>
55           <item row="1" column="0">
56            <widget class="QLabel" name="lLanguageCmd">
57             <property name="text">
58              <string>&amp;Command Language:</string>
59             </property>
60             <property name="wordWrap">
61              <bool>false</bool>
62             </property>
63             <property name="buddy">
64              <cstring>cbLanguageCmd</cstring>
65             </property>
66            </widget>
67           </item>
68           <item row="1" column="1">
69            <widget class="QComboBox" name="cbLanguageCmd"/>
70           </item>
71           <item row="0" column="1">
72            <widget class="QComboBox" name="cbLanguage"/>
73           </item>
74          </layout>
75         </widget>
76        </item>
77        <item row="0" column="1" rowspan="2">
78         <widget class="QGroupBox" name="bgColors">
79          <property name="title">
80           <string>Colors</string>
81          </property>
82          <layout class="QGridLayout">
83           <item row="0" column="0">
84            <widget class="QLabel" name="lBackground">
85             <property name="text">
86              <string>Backgr&amp;ound:</string>
87             </property>
88             <property name="wordWrap">
89              <bool>false</bool>
90             </property>
91             <property name="buddy">
92              <cstring>cbBackgroundColor</cstring>
93             </property>
94            </widget>
95           </item>
96           <item row="1" column="0">
97            <widget class="QLabel" name="lGridColor">
98             <property name="text">
99              <string>G&amp;rid Color:</string>
100             </property>
101             <property name="wordWrap">
102              <bool>false</bool>
103             </property>
104             <property name="buddy">
105              <cstring>cbGridColor</cstring>
106             </property>
107            </widget>
108           </item>
109           <item row="0" column="1">
110            <widget class="QComboBox" name="cbBackgroundColor">
111             <property name="editable">
112              <bool>true</bool>
113             </property>
114             <item>
115              <property name="text">
116               <string>#000000</string>
117              </property>
118             </item>
119             <item>
120              <property name="text">
121               <string>#ffffff</string>
122              </property>
123             </item>
124             <item>
125              <property name="text">
126               <string>#c0c0c0</string>
127              </property>
128             </item>
129             <item>
130              <property name="text">
131               <string>#808080</string>
132              </property>
133             </item>
134            </widget>
135           </item>
136           <item row="1" column="1">
137            <widget class="QComboBox" name="cbGridColor">
138             <property name="editable">
139              <bool>true</bool>
140             </property>
141             <item>
142              <property name="text">
143               <string>#c0c0c0</string>
144              </property>
145             </item>
146             <item>
147              <property name="text">
148               <string>#ffffff</string>
149              </property>
150             </item>
151             <item>
152              <property name="text">
153               <string>#000000</string>
154              </property>
155             </item>
156             <item>
157              <property name="text">
158               <string>#808080</string>
159              </property>
160             </item>
161            </widget>
162           </item>
163           <item row="2" column="0">
164            <widget class="QLabel" name="lMetaGridColor">
165             <property name="text">
166              <string>&amp;Meta Grid Color:</string>
167             </property>
168             <property name="wordWrap">
169              <bool>false</bool>
170             </property>
171             <property name="buddy">
172              <cstring>cbMetaGridColor</cstring>
173             </property>
174            </widget>
175           </item>
176           <item row="2" column="1">
177            <widget class="QComboBox" name="cbMetaGridColor">
178             <property name="editable">
179              <bool>true</bool>
180             </property>
181             <item>
182              <property name="text">
183               <string>#404040</string>
184              </property>
185             </item>
186             <item>
187              <property name="text">
188               <string>#000000</string>
189              </property>
190             </item>
191             <item>
192              <property name="text">
193               <string>#ffffff</string>
194              </property>
195             </item>
196             <item>
197              <property name="text">
198               <string>#c0c0c0</string>
199              </property>
200             </item>
201             <item>
202              <property name="text">
203               <string>#808080</string>
204              </property>
205             </item>
206            </widget>
207           </item>
208           <item row="3" column="0">
209            <widget class="QLabel" name="lSelectedColor">
210             <property name="text">
211              <string>S&amp;elected Color:</string>
212             </property>
213             <property name="wordWrap">
214              <bool>false</bool>
215             </property>
216             <property name="buddy">
217              <cstring>cbMetaGridColor</cstring>
218             </property>
219            </widget>
220           </item>
221           <item row="3" column="1">
222            <widget class="QComboBox" name="cbSelectedColor">
223             <property name="editable">
224              <bool>true</bool>
225             </property>
226             <item>
227              <property name="text">
228               <string>#a54747</string>
229              </property>
230             </item>
231            </widget>
232           </item>
233           <item row="4" column="1">
234            <widget class="QComboBox" name="cbHighlightedColor">
235             <property name="editable">
236              <bool>true</bool>
237             </property>
238             <item>
239              <property name="text">
240               <string>#739373</string>
241              </property>
242             </item>
243            </widget>
244           </item>
245           <item row="4" column="0">
246            <widget class="QLabel" name="lHighlightedColor">
247             <property name="text">
248              <string>&amp;Highlighted Color:</string>
249             </property>
250             <property name="wordWrap">
251              <bool>false</bool>
252             </property>
253             <property name="buddy">
254              <cstring>cbMetaGridColor</cstring>
255             </property>
256            </widget>
257           </item>
258           <item row="5" column="0">
259            <spacer name="spacer7">
260             <property name="orientation">
261              <enum>Qt::Vertical</enum>
262             </property>
263             <property name="sizeType">
264              <enum>QSizePolicy::Expanding</enum>
265             </property>
266             <property name="sizeHint" stdset="0">
267              <size>
268               <width>21</width>
269               <height>20</height>
270              </size>
271             </property>
272            </spacer>
273           </item>
274           <item row="5" column="1">
275            <spacer name="spacer8">
276             <property name="orientation">
277              <enum>Qt::Vertical</enum>
278             </property>
279             <property name="sizeType">
280              <enum>QSizePolicy::Expanding</enum>
281             </property>
282             <property name="sizeHint" stdset="0">
283              <size>
284               <width>21</width>
285               <height>20</height>
286              </size>
287             </property>
288            </spacer>
289           </item>
290          </layout>
291         </widget>
292        </item>
293        <item row="2" column="1">
294         <widget class="QGroupBox" name="buttonGroup5_2">
295          <property name="title">
296           <string>Fontsize</string>
297          </property>
298          <layout class="QGridLayout">
299           <item row="0" column="0">
300            <widget class="QLabel" name="lSizeStatus">
301             <property name="text">
302              <string>Statusbar:</string>
303             </property>
304             <property name="wordWrap">
305              <bool>false</bool>
306             </property>
307            </widget>
308           </item>
309           <item row="0" column="1">
310            <widget class="QComboBox" name="cbSizeStatus">
311             <property name="editable">
312              <bool>true</bool>
313             </property>
314             <item>
315              <property name="text">
316               <string>5</string>
317              </property>
318             </item>
319             <item>
320              <property name="text">
321               <string>6</string>
322              </property>
323             </item>
324             <item>
325              <property name="text">
326               <string>7</string>
327              </property>
328             </item>
329             <item>
330              <property name="text">
331               <string>8</string>
332              </property>
333             </item>
334             <item>
335              <property name="text">
336               <string>9</string>
337              </property>
338             </item>
339             <item>
340              <property name="text">
341               <string>10</string>
342              </property>
343             </item>
344             <item>
345              <property name="text">
346               <string>11</string>
347              </property>
348             </item>
349             <item>
350              <property name="text">
351               <string>12</string>
352              </property>
353             </item>
354             <item>
355              <property name="text">
356               <string>14</string>
357              </property>
358             </item>
359            </widget>
360           </item>
361           <item row="1" column="0">
362            <spacer name="spacer11_3">
363             <property name="orientation">
364              <enum>Qt::Vertical</enum>
365             </property>
366             <property name="sizeType">
367              <enum>QSizePolicy::Expanding</enum>
368             </property>
369             <property name="sizeHint" stdset="0">
370              <size>
371               <width>20</width>
372               <height>20</height>
373              </size>
374             </property>
375            </spacer>
376           </item>
377           <item row="1" column="1">
378            <spacer name="spacer12">
379             <property name="orientation">
380              <enum>Qt::Vertical</enum>
381             </property>
382             <property name="sizeType">
383              <enum>QSizePolicy::Expanding</enum>
384             </property>
385             <property name="sizeHint" stdset="0">
386              <size>
387               <width>20</width>
388               <height>20</height>
389              </size>
390             </property>
391            </spacer>
392           </item>
393          </layout>
394         </widget>
395        </item>
396        <item row="1" column="0" rowspan="2">
397         <widget class="QGroupBox" name="bgGraphicView">
398          <property name="title">
399           <string>Graphic View</string>
400          </property>
401          <layout class="QGridLayout">
402           <item row="0" column="0" colspan="2">
403            <widget class="QCheckBox" name="cbShowCrosshairs">
404             <property name="text">
405              <string>&amp;Show large crosshairs</string>
406             </property>
407             <property name="shortcut">
408              <string>Alt+S</string>
409             </property>
410            </widget>
411           </item>
412           <item row="1" column="0" colspan="2">
413            <widget class="QCheckBox" name="cbScaleGrid">
414             <property name="text">
415              <string>A&amp;utomatically scale grid</string>
416             </property>
417             <property name="shortcut">
418              <string>Alt+U</string>
419             </property>
420            </widget>
421           </item>
422           <item row="4" column="0">
423            <spacer name="spacer29">
424             <property name="orientation">
425              <enum>Qt::Vertical</enum>
426             </property>
427             <property name="sizeType">
428              <enum>QSizePolicy::Expanding</enum>
429             </property>
430             <property name="sizeHint" stdset="0">
431              <size>
432               <width>21</width>
433               <height>20</height>
434              </size>
435             </property>
436            </spacer>
437           </item>
438           <item row="4" column="1">
439            <spacer name="spacer29_2">
440             <property name="orientation">
441              <enum>Qt::Vertical</enum>
442             </property>
443             <property name="sizeType">
444              <enum>QSizePolicy::Expanding</enum>
445             </property>
446             <property name="sizeHint" stdset="0">
447              <size>
448               <width>21</width>
449               <height>20</height>
450              </size>
451             </property>
452            </spacer>
453           </item>
454           <item row="3" column="0">
455            <widget class="QLabel" name="lMaxPreview">
456             <property name="text">
457              <string>Number of p&amp;review entities:</string>
458             </property>
459             <property name="wordWrap">
460              <bool>false</bool>
461             </property>
462             <property name="buddy">
463              <cstring>cbMaxPreview</cstring>
464             </property>
465            </widget>
466           </item>
467           <item row="3" column="1">
468            <widget class="QComboBox" name="cbMaxPreview">
469             <property name="editable">
470              <bool>true</bool>
471             </property>
472             <item>
473              <property name="text">
474               <string>0</string>
475              </property>
476             </item>
477             <item>
478              <property name="text">
479               <string>50</string>
480              </property>
481             </item>
482             <item>
483              <property name="text">
484               <string>100</string>
485              </property>
486             </item>
487             <item>
488              <property name="text">
489               <string>200</string>
490              </property>
491             </item>
492            </widget>
493           </item>
494           <item row="2" column="0">
495            <widget class="QLabel" name="lMinGridSpacing">
496             <property name="text">
497              <string>Minimal Grid Spacing (px):</string>
498             </property>
499             <property name="wordWrap">
500              <bool>false</bool>
501             </property>
502             <property name="buddy">
503              <cstring>cbMaxPreview</cstring>
504             </property>
505            </widget>
506           </item>
507           <item row="2" column="1">
508            <widget class="QComboBox" name="cbMinGridSpacing">
509             <property name="editable">
510              <bool>true</bool>
511             </property>
512             <item>
513              <property name="text">
514               <string>0</string>
515              </property>
516             </item>
517             <item>
518              <property name="text">
519               <string>4</string>
520              </property>
521             </item>
522             <item>
523              <property name="text">
524               <string>5</string>
525              </property>
526             </item>
527             <item>
528              <property name="text">
529               <string>6</string>
530              </property>
531             </item>
532             <item>
533              <property name="text">
534               <string>8</string>
535              </property>
536             </item>
537             <item>
538              <property name="text">
539               <string>10</string>
540              </property>
541             </item>
542             <item>
543              <property name="text">
544               <string>15</string>
545              </property>
546             </item>
547             <item>
548              <property name="text">
549               <string>20</string>
550              </property>
551             </item>
552            </widget>
553           </item>
554          </layout>
555         </widget>
556        </item>
557        <item row="3" column="1">
558         <spacer name="spacer9">
559          <property name="orientation">
560           <enum>Qt::Vertical</enum>
561          </property>
562          <property name="sizeType">
563           <enum>QSizePolicy::Expanding</enum>
564          </property>
565          <property name="sizeHint" stdset="0">
566           <size>
567            <width>31</width>
568            <height>16</height>
569           </size>
570          </property>
571         </spacer>
572        </item>
573        <item row="3" column="0">
574         <spacer name="spacer4">
575          <property name="orientation">
576           <enum>Qt::Vertical</enum>
577          </property>
578          <property name="sizeType">
579           <enum>QSizePolicy::Expanding</enum>
580          </property>
581          <property name="sizeHint" stdset="0">
582           <size>
583            <width>31</width>
584            <height>16</height>
585           </size>
586          </property>
587         </spacer>
588        </item>
589       </layout>
590      </widget>
591      <widget class="QWidget" name="tab">
592       <attribute name="title">
593        <string>&amp;Paths</string>
594       </attribute>
595       <layout class="QGridLayout">
596        <item row="0" column="0">
597         <widget class="QLabel" name="textLabel2">
598          <property name="text">
599           <string>Translations:</string>
600          </property>
601          <property name="wordWrap">
602           <bool>false</bool>
603          </property>
604         </widget>
605        </item>
606        <item row="1" column="0">
607         <widget class="QLabel" name="textLabel3">
608          <property name="text">
609           <string>Hatch Patterns:</string>
610          </property>
611          <property name="wordWrap">
612           <bool>false</bool>
613          </property>
614         </widget>
615        </item>
616        <item row="2" column="0">
617         <widget class="QLabel" name="textLabel4">
618          <property name="text">
619           <string>Fonts:</string>
620          </property>
621          <property name="wordWrap">
622           <bool>false</bool>
623          </property>
624         </widget>
625        </item>
626        <item row="3" column="0">
627         <widget class="QLabel" name="textLabel5">
628          <property name="text">
629           <string>Scripts:</string>
630          </property>
631          <property name="wordWrap">
632           <bool>false</bool>
633          </property>
634         </widget>
635        </item>
636        <item row="4" column="0">
637         <widget class="QLabel" name="textLabel6">
638          <property name="text">
639           <string>Part Libraries:</string>
640          </property>
641          <property name="wordWrap">
642           <bool>false</bool>
643          </property>
644         </widget>
645        </item>
646        <item row="0" column="1">
647         <widget class="QLineEdit" name="lePathTranslations"/>
648        </item>
649        <item row="1" column="1">
650         <widget class="QLineEdit" name="lePathHatch"/>
651        </item>
652        <item row="2" column="1">
653         <widget class="QLineEdit" name="lePathFonts"/>
654        </item>
655        <item row="3" column="1">
656         <widget class="QLineEdit" name="lePathScripts"/>
657        </item>
658        <item row="4" column="1">
659         <widget class="QLineEdit" name="lePathLibrary"/>
660        </item>
661        <item row="5" column="0">
662         <spacer name="spacer5">
663          <property name="orientation">
664           <enum>Qt::Vertical</enum>
665          </property>
666          <property name="sizeType">
667           <enum>QSizePolicy::Expanding</enum>
668          </property>
669          <property name="sizeHint" stdset="0">
670           <size>
671            <width>31</width>
672            <height>71</height>
673           </size>
674          </property>
675         </spacer>
676        </item>
677        <item row="5" column="1">
678         <spacer name="spacer5_2">
679          <property name="orientation">
680           <enum>Qt::Vertical</enum>
681          </property>
682          <property name="sizeType">
683           <enum>QSizePolicy::Expanding</enum>
684          </property>
685          <property name="sizeHint" stdset="0">
686           <size>
687            <width>31</width>
688            <height>71</height>
689           </size>
690          </property>
691         </spacer>
692        </item>
693       </layout>
694      </widget>
695      <widget class="QWidget" name="tab">
696       <attribute name="title">
697        <string>&amp;Defaults</string>
698       </attribute>
699       <layout class="QGridLayout">
700        <item row="0" column="0">
701         <widget class="QGroupBox" name="buttonGroup5">
702          <property name="title">
703           <string>Defaults for new drawings</string>
704          </property>
705          <layout class="QHBoxLayout">
706           <item>
707            <widget class="QLabel" name="lUnit">
708             <property name="text">
709              <string>&amp;Unit:</string>
710             </property>
711             <property name="wordWrap">
712              <bool>false</bool>
713             </property>
714             <property name="buddy">
715              <cstring>cbUnit</cstring>
716             </property>
717            </widget>
718           </item>
719           <item>
720            <widget class="QComboBox" name="cbUnit">
721             <property name="insertPolicy">
722              <enum>QComboBox::InsertAlphabetically</enum>
723             </property>
724            </widget>
725           </item>
726          </layout>
727         </widget>
728        </item>
729        <item row="1" column="0">
730         <spacer name="spacer11">
731          <property name="orientation">
732           <enum>Qt::Vertical</enum>
733          </property>
734          <property name="sizeType">
735           <enum>QSizePolicy::Expanding</enum>
736          </property>
737          <property name="sizeHint" stdset="0">
738           <size>
739            <width>21</width>
740            <height>61</height>
741           </size>
742          </property>
743         </spacer>
744        </item>
745        <item row="0" column="1">
746         <spacer name="spacer11_2">
747          <property name="orientation">
748           <enum>Qt::Horizontal</enum>
749          </property>
750          <property name="sizeType">
751           <enum>QSizePolicy::Expanding</enum>
752          </property>
753          <property name="sizeHint" stdset="0">
754           <size>
755            <width>211</width>
756            <height>21</height>
757           </size>
758          </property>
759         </spacer>
760        </item>
761       </layout>
762      </widget>
763     </widget>
764    </item>
765    <item>
766     <layout class="QHBoxLayout">
767      <property name="spacing">
768       <number>6</number>
769      </property>
770      <property name="margin">
771       <number>0</number>
772      </property>
773      <item>
774       <spacer name="Horizontal Spacing2">
775        <property name="orientation">
776         <enum>Qt::Horizontal</enum>
777        </property>
778        <property name="sizeType">
779         <enum>QSizePolicy::Expanding</enum>
780        </property>
781        <property name="sizeHint" stdset="0">
782         <size>
783          <width>20</width>
784          <height>20</height>
785         </size>
786        </property>
787       </spacer>
788      </item>
789      <item>
790       <widget class="QPushButton" name="buttonOk">
791        <property name="text">
792         <string>&amp;OK</string>
793        </property>
794        <property name="shortcut">
795         <string>Alt+O</string>
796        </property>
797        <property name="autoDefault">
798         <bool>true</bool>
799        </property>
800        <property name="default">
801         <bool>true</bool>
802        </property>
803       </widget>
804      </item>
805      <item>
806       <widget class="QPushButton" name="buttonCancel">
807        <property name="text">
808         <string>Cancel</string>
809        </property>
810        <property name="shortcut">
811         <string>Esc</string>
812        </property>
813        <property name="autoDefault">
814         <bool>true</bool>
815        </property>
816       </widget>
817      </item>
818     </layout>
819    </item>
820   </layout>
821  </widget>
822  <layoutdefault spacing="6" margin="11"/>
823  <tabstops>
824   <tabstop>tabWidget</tabstop>
825   <tabstop>cbLanguage</tabstop>
826   <tabstop>cbLanguageCmd</tabstop>
827   <tabstop>cbShowCrosshairs</tabstop>
828   <tabstop>cbScaleGrid</tabstop>
829   <tabstop>cbMinGridSpacing</tabstop>
830   <tabstop>cbMaxPreview</tabstop>
831   <tabstop>cbBackgroundColor</tabstop>
832   <tabstop>cbGridColor</tabstop>
833   <tabstop>cbMetaGridColor</tabstop>
834   <tabstop>cbSelectedColor</tabstop>
835   <tabstop>cbHighlightedColor</tabstop>
836   <tabstop>cbSizeStatus</tabstop>
837   <tabstop>buttonOk</tabstop>
838   <tabstop>buttonCancel</tabstop>
839   <tabstop>lePathTranslations</tabstop>
840   <tabstop>lePathHatch</tabstop>
841   <tabstop>lePathFonts</tabstop>
842   <tabstop>lePathScripts</tabstop>
843   <tabstop>lePathLibrary</tabstop>
844   <tabstop>cbUnit</tabstop>
845  </tabstops>
846  <resources/>
847  <connections>
848   <connection>
849    <sender>buttonOk</sender>
850    <signal>clicked()</signal>
851    <receiver>DlgOptionsGeneral</receiver>
852    <slot>ok()</slot>
853    <hints>
854     <hint type="sourcelabel">
855      <x>20</x>
856      <y>20</y>
857     </hint>
858     <hint type="destinationlabel">
859      <x>20</x>
860      <y>20</y>
861     </hint>
862    </hints>
863   </connection>
864   <connection>
865    <sender>buttonCancel</sender>
866    <signal>clicked()</signal>
867    <receiver>DlgOptionsGeneral</receiver>
868    <slot>reject()</slot>
869    <hints>
870     <hint type="sourcelabel">
871      <x>20</x>
872      <y>20</y>
873     </hint>
874     <hint type="destinationlabel">
875      <x>20</x>
876      <y>20</y>
877     </hint>
878    </hints>
879   </connection>
880   <connection>
881    <sender>cbSizeStatus</sender>
882    <signal>activated(int)</signal>
883    <receiver>DlgOptionsGeneral</receiver>
884    <slot>setRestartNeeded()</slot>
885    <hints>
886     <hint type="sourcelabel">
887      <x>20</x>
888      <y>20</y>
889     </hint>
890     <hint type="destinationlabel">
891      <x>20</x>
892      <y>20</y>
893     </hint>
894    </hints>
895   </connection>
896   <connection>
897    <sender>cbLanguageCmd</sender>
898    <signal>activated(int)</signal>
899    <receiver>DlgOptionsGeneral</receiver>
900    <slot>setRestartNeeded()</slot>
901    <hints>
902     <hint type="sourcelabel">
903      <x>20</x>
904      <y>20</y>
905     </hint>
906     <hint type="destinationlabel">
907      <x>20</x>
908      <y>20</y>
909     </hint>
910    </hints>
911   </connection>
912   <connection>
913    <sender>cbLanguage</sender>
914    <signal>activated(int)</signal>
915    <receiver>DlgOptionsGeneral</receiver>
916    <slot>setRestartNeeded()</slot>
917    <hints>
918     <hint type="sourcelabel">
919      <x>20</x>
920      <y>20</y>
921     </hint>
922     <hint type="destinationlabel">
923      <x>20</x>
924      <y>20</y>
925     </hint>
926    </hints>
927   </connection>
928  </connections>
929 </ui>