Sat, 05 Oct 2019 23:47:03 +0300
added the settings editor
7 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <ui version="4.0"> | |
3 | <class>SettingsEditor</class> | |
4 | <widget class="QDialog" name="SettingsEditor"> | |
5 | <property name="geometry"> | |
6 | <rect> | |
7 | <x>0</x> | |
8 | <y>0</y> | |
9 | <width>574</width> | |
10 | <height>416</height> | |
11 | </rect> | |
12 | </property> | |
13 | <property name="windowTitle"> | |
14 | <string>Dialog</string> | |
15 | </property> | |
16 | <layout class="QVBoxLayout" name="verticalLayout"> | |
17 | <item> | |
18 | <widget class="QTabWidget" name="tabWidget"> | |
19 | <property name="currentIndex"> | |
20 | <number>0</number> | |
21 | </property> | |
22 | <widget class="QWidget" name="tabGeneral"> | |
23 | <attribute name="title"> | |
24 | <string>General</string> | |
25 | </attribute> | |
26 | <layout class="QFormLayout" name="formLayout"> | |
27 | <item row="0" column="0"> | |
28 | <widget class="QLabel" name="label"> | |
29 | <property name="text"> | |
30 | <string>Language:</string> | |
31 | </property> | |
32 | </widget> | |
33 | </item> | |
34 | <item row="0" column="1"> | |
35 | <widget class="QComboBox" name="language"> | |
36 | <item> | |
37 | <property name="text"> | |
38 | <string>System language</string> | |
39 | </property> | |
40 | </item> | |
41 | <item> | |
42 | <property name="text"> | |
43 | <string>English</string> | |
44 | </property> | |
45 | </item> | |
46 | </widget> | |
47 | </item> | |
48 | </layout> | |
49 | </widget> | |
50 | <widget class="QWidget" name="tabLdrawLibraries"> | |
51 | <attribute name="title"> | |
52 | <string>LDraw parts libraries</string> | |
53 | </attribute> | |
54 | </widget> | |
55 | </widget> | |
56 | </item> | |
57 | <item> | |
58 | <widget class="QDialogButtonBox" name="buttonBox"> | |
59 | <property name="orientation"> | |
60 | <enum>Qt::Horizontal</enum> | |
61 | </property> | |
62 | <property name="standardButtons"> | |
63 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> | |
64 | </property> | |
65 | </widget> | |
66 | </item> | |
67 | </layout> | |
68 | </widget> | |
69 | <resources/> | |
70 | <connections> | |
71 | <connection> | |
72 | <sender>buttonBox</sender> | |
73 | <signal>accepted()</signal> | |
74 | <receiver>SettingsEditor</receiver> | |
75 | <slot>accept()</slot> | |
76 | <hints> | |
77 | <hint type="sourcelabel"> | |
78 | <x>227</x> | |
79 | <y>394</y> | |
80 | </hint> | |
81 | <hint type="destinationlabel"> | |
82 | <x>157</x> | |
83 | <y>274</y> | |
84 | </hint> | |
85 | </hints> | |
86 | </connection> | |
87 | <connection> | |
88 | <sender>buttonBox</sender> | |
89 | <signal>rejected()</signal> | |
90 | <receiver>SettingsEditor</receiver> | |
91 | <slot>reject()</slot> | |
92 | <hints> | |
93 | <hint type="sourcelabel"> | |
94 | <x>295</x> | |
95 | <y>400</y> | |
96 | </hint> | |
97 | <hint type="destinationlabel"> | |
98 | <x>286</x> | |
99 | <y>274</y> | |
100 | </hint> | |
101 | </hints> | |
102 | </connection> | |
103 | </connections> | |
104 | </ui> |