|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>FormSelectionDialog</class> |
|
4 <widget class="QDialog" name="FormSelectionDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>600</width> |
|
10 <height>450</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Template Type Selection</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QGridLayout" name="gridLayout"> |
|
20 <item row="0" column="0"> |
|
21 <widget class="QLabel" name="label"> |
|
22 <property name="text"> |
|
23 <string>Template &Type:</string> |
|
24 </property> |
|
25 <property name="buddy"> |
|
26 <cstring>typeCombo</cstring> |
|
27 </property> |
|
28 </widget> |
|
29 </item> |
|
30 <item row="0" column="1"> |
|
31 <widget class="QComboBox" name="typeCombo"> |
|
32 <property name="sizePolicy"> |
|
33 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
34 <horstretch>0</horstretch> |
|
35 <verstretch>0</verstretch> |
|
36 </sizepolicy> |
|
37 </property> |
|
38 <property name="toolTip"> |
|
39 <string>Select the template type</string> |
|
40 </property> |
|
41 </widget> |
|
42 </item> |
|
43 <item row="1" column="0"> |
|
44 <widget class="QLabel" name="label_2"> |
|
45 <property name="text"> |
|
46 <string>Preview:</string> |
|
47 </property> |
|
48 </widget> |
|
49 </item> |
|
50 <item row="3" column="0" colspan="2"> |
|
51 <widget class="QDialogButtonBox" name="buttonBox"> |
|
52 <property name="orientation"> |
|
53 <enum>Qt::Horizontal</enum> |
|
54 </property> |
|
55 <property name="standardButtons"> |
|
56 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item row="2" column="0" colspan="2"> |
|
61 <widget class="QPlainTextEdit" name="preview"> |
|
62 <property name="font"> |
|
63 <font> |
|
64 <family>Noto Sans Mono</family> |
|
65 </font> |
|
66 </property> |
|
67 <property name="toolTip"> |
|
68 <string>Shows the text of the selected template</string> |
|
69 </property> |
|
70 <property name="tabChangesFocus"> |
|
71 <bool>true</bool> |
|
72 </property> |
|
73 <property name="lineWrapMode"> |
|
74 <enum>QPlainTextEdit::NoWrap</enum> |
|
75 </property> |
|
76 </widget> |
|
77 </item> |
|
78 </layout> |
|
79 </widget> |
|
80 <tabstops> |
|
81 <tabstop>typeCombo</tabstop> |
|
82 <tabstop>preview</tabstop> |
|
83 <tabstop>buttonBox</tabstop> |
|
84 </tabstops> |
|
85 <resources/> |
|
86 <connections> |
|
87 <connection> |
|
88 <sender>buttonBox</sender> |
|
89 <signal>accepted()</signal> |
|
90 <receiver>FormSelectionDialog</receiver> |
|
91 <slot>accept()</slot> |
|
92 <hints> |
|
93 <hint type="sourcelabel"> |
|
94 <x>248</x> |
|
95 <y>254</y> |
|
96 </hint> |
|
97 <hint type="destinationlabel"> |
|
98 <x>157</x> |
|
99 <y>274</y> |
|
100 </hint> |
|
101 </hints> |
|
102 </connection> |
|
103 <connection> |
|
104 <sender>buttonBox</sender> |
|
105 <signal>rejected()</signal> |
|
106 <receiver>FormSelectionDialog</receiver> |
|
107 <slot>reject()</slot> |
|
108 <hints> |
|
109 <hint type="sourcelabel"> |
|
110 <x>316</x> |
|
111 <y>260</y> |
|
112 </hint> |
|
113 <hint type="destinationlabel"> |
|
114 <x>286</x> |
|
115 <y>274</y> |
|
116 </hint> |
|
117 </hints> |
|
118 </connection> |
|
119 </connections> |
|
120 </ui> |