1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ui version="4.0"> |
---|
3 | <class>WindowTitle</class> |
---|
4 | <widget class="QDialog" name="WindowTitle"> |
---|
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>287</width> |
---|
13 | <height>137</height> |
---|
14 | </rect> |
---|
15 | </property> |
---|
16 | <property name="windowTitle"> |
---|
17 | <string>Modify Window Title</string> |
---|
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>New title</string> |
---|
24 | </property> |
---|
25 | </widget> |
---|
26 | </item> |
---|
27 | <item row="0" column="1"> |
---|
28 | <widget class="QLineEdit" name="txtTitle"/> |
---|
29 | </item> |
---|
30 | <item row="1" column="0" colspan="2"> |
---|
31 | <widget class="QDialogButtonBox" name="buttonBox"> |
---|
32 | <property name="orientation"> |
---|
33 | <enum>Qt::Horizontal</enum> |
---|
34 | </property> |
---|
35 | <property name="standardButtons"> |
---|
36 | <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
---|
37 | </property> |
---|
38 | </widget> |
---|
39 | </item> |
---|
40 | </layout> |
---|
41 | </widget> |
---|
42 | <resources/> |
---|
43 | <connections> |
---|
44 | <connection> |
---|
45 | <sender>buttonBox</sender> |
---|
46 | <signal>accepted()</signal> |
---|
47 | <receiver>WindowTitle</receiver> |
---|
48 | <slot>accept()</slot> |
---|
49 | <hints> |
---|
50 | <hint type="sourcelabel"> |
---|
51 | <x>248</x> |
---|
52 | <y>254</y> |
---|
53 | </hint> |
---|
54 | <hint type="destinationlabel"> |
---|
55 | <x>157</x> |
---|
56 | <y>274</y> |
---|
57 | </hint> |
---|
58 | </hints> |
---|
59 | </connection> |
---|
60 | <connection> |
---|
61 | <sender>buttonBox</sender> |
---|
62 | <signal>rejected()</signal> |
---|
63 | <receiver>WindowTitle</receiver> |
---|
64 | <slot>reject()</slot> |
---|
65 | <hints> |
---|
66 | <hint type="sourcelabel"> |
---|
67 | <x>316</x> |
---|
68 | <y>260</y> |
---|
69 | </hint> |
---|
70 | <hint type="destinationlabel"> |
---|
71 | <x>286</x> |
---|
72 | <y>274</y> |
---|
73 | </hint> |
---|
74 | </hints> |
---|
75 | </connection> |
---|
76 | </connections> |
---|
77 | </ui> |
---|