1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ui version="4.0"> |
---|
3 | <class>AddText</class> |
---|
4 | <widget class="QDialog" name="AddText"> |
---|
5 | <property name="windowModality"> |
---|
6 | <enum>Qt::ApplicationModal</enum> |
---|
7 | </property> |
---|
8 | <property name="geometry"> |
---|
9 | <rect> |
---|
10 | <x>0</x> |
---|
11 | <y>0</y> |
---|
12 | <width>432</width> |
---|
13 | <height>324</height> |
---|
14 | </rect> |
---|
15 | </property> |
---|
16 | <property name="sizePolicy"> |
---|
17 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
---|
18 | <horstretch>0</horstretch> |
---|
19 | <verstretch>0</verstretch> |
---|
20 | </sizepolicy> |
---|
21 | </property> |
---|
22 | <property name="windowTitle"> |
---|
23 | <string>Add Text</string> |
---|
24 | </property> |
---|
25 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
26 | <item row="0" column="0"> |
---|
27 | <widget class="QGroupBox" name="groupBox"> |
---|
28 | <property name="sizePolicy"> |
---|
29 | <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> |
---|
30 | <horstretch>0</horstretch> |
---|
31 | <verstretch>0</verstretch> |
---|
32 | </sizepolicy> |
---|
33 | </property> |
---|
34 | <property name="title"> |
---|
35 | <string>Custom Text </string> |
---|
36 | </property> |
---|
37 | <layout class="QGridLayout" name="gridLayout"> |
---|
38 | <item row="0" column="0"> |
---|
39 | <widget class="QTextEdit" name="textEdit"> |
---|
40 | <property name="sizePolicy"> |
---|
41 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum"> |
---|
42 | <horstretch>0</horstretch> |
---|
43 | <verstretch>0</verstretch> |
---|
44 | </sizepolicy> |
---|
45 | </property> |
---|
46 | </widget> |
---|
47 | </item> |
---|
48 | </layout> |
---|
49 | </widget> |
---|
50 | </item> |
---|
51 | <item row="1" column="0"> |
---|
52 | <spacer name="verticalSpacer"> |
---|
53 | <property name="orientation"> |
---|
54 | <enum>Qt::Vertical</enum> |
---|
55 | </property> |
---|
56 | <property name="sizeHint" stdset="0"> |
---|
57 | <size> |
---|
58 | <width>20</width> |
---|
59 | <height>44</height> |
---|
60 | </size> |
---|
61 | </property> |
---|
62 | </spacer> |
---|
63 | </item> |
---|
64 | <item row="2" column="0"> |
---|
65 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
66 | <item> |
---|
67 | <widget class="QPushButton" name="btnFont"> |
---|
68 | <property name="text"> |
---|
69 | <string>Font...</string> |
---|
70 | </property> |
---|
71 | </widget> |
---|
72 | </item> |
---|
73 | <item> |
---|
74 | <widget class="QPushButton" name="btnColor"> |
---|
75 | <property name="text"> |
---|
76 | <string>Color...</string> |
---|
77 | </property> |
---|
78 | </widget> |
---|
79 | </item> |
---|
80 | <item> |
---|
81 | <spacer name="horizontalSpacer"> |
---|
82 | <property name="orientation"> |
---|
83 | <enum>Qt::Horizontal</enum> |
---|
84 | </property> |
---|
85 | <property name="sizeHint" stdset="0"> |
---|
86 | <size> |
---|
87 | <width>40</width> |
---|
88 | <height>20</height> |
---|
89 | </size> |
---|
90 | </property> |
---|
91 | </spacer> |
---|
92 | </item> |
---|
93 | <item> |
---|
94 | <widget class="QDialogButtonBox" name="buttonBox"> |
---|
95 | <property name="orientation"> |
---|
96 | <enum>Qt::Horizontal</enum> |
---|
97 | </property> |
---|
98 | <property name="standardButtons"> |
---|
99 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
---|
100 | </property> |
---|
101 | </widget> |
---|
102 | </item> |
---|
103 | </layout> |
---|
104 | </item> |
---|
105 | </layout> |
---|
106 | </widget> |
---|
107 | <resources/> |
---|
108 | <connections> |
---|
109 | <connection> |
---|
110 | <sender>buttonBox</sender> |
---|
111 | <signal>accepted()</signal> |
---|
112 | <receiver>AddText</receiver> |
---|
113 | <slot>accept()</slot> |
---|
114 | <hints> |
---|
115 | <hint type="sourcelabel"> |
---|
116 | <x>248</x> |
---|
117 | <y>254</y> |
---|
118 | </hint> |
---|
119 | <hint type="destinationlabel"> |
---|
120 | <x>157</x> |
---|
121 | <y>274</y> |
---|
122 | </hint> |
---|
123 | </hints> |
---|
124 | </connection> |
---|
125 | <connection> |
---|
126 | <sender>buttonBox</sender> |
---|
127 | <signal>rejected()</signal> |
---|
128 | <receiver>AddText</receiver> |
---|
129 | <slot>reject()</slot> |
---|
130 | <hints> |
---|
131 | <hint type="sourcelabel"> |
---|
132 | <x>316</x> |
---|
133 | <y>260</y> |
---|
134 | </hint> |
---|
135 | <hint type="destinationlabel"> |
---|
136 | <x>286</x> |
---|
137 | <y>274</y> |
---|
138 | </hint> |
---|
139 | </hints> |
---|
140 | </connection> |
---|
141 | </connections> |
---|
142 | </ui> |
---|