blob: 0ec00485e974b9cc54511b71a28a898d9654a096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>FourButtonMessageBox</class>
<comment>/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; version 2 of the License. *
* *
***************************************************************************/
</comment>
<author>(C) 2003 Andras Mantia <amantia@kde.org></author>
<widget class="TQDialog">
<property name="name">
<cstring>FourButtonMessageBox</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>425</width>
<height>150</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>150</height>
</size>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>pixmapLabel</cstring>
</property>
<property name="maximumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>textLabel</cstring>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>user1Button</cstring>
</property>
<property name="text">
<string>&Save</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>user2Button</cstring>
</property>
<property name="text">
<string>Save &As...</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>user3Button</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&Do Not Save</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>cancelButton</cstring>
</property>
<property name="text">
<string>&Cancel</string>
</property>
</widget>
</hbox>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>spacer1</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</grid>
</widget>
<connections>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>FourButtonMessageBox</receiver>
<slot>cancelButton_clicked()</slot>
</connection>
<connection>
<sender>user1Button</sender>
<signal>clicked()</signal>
<receiver>FourButtonMessageBox</receiver>
<slot>user1Button_clicked()</slot>
</connection>
<connection>
<sender>user2Button</sender>
<signal>clicked()</signal>
<receiver>FourButtonMessageBox</receiver>
<slot>user2Button_clicked()</slot>
</connection>
<connection>
<sender>user3Button</sender>
<signal>clicked()</signal>
<receiver>FourButtonMessageBox</receiver>
<slot>user3Button_clicked()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">fourbuttonmessagebox.ui.h</include>
</includes>
<variables>
<variable>int m_status;</variable>
</variables>
<Q_SLOTS>
<slot>cancelButton_clicked()</slot>
<slot>user1Button_clicked()</slot>
<slot>user2Button_clicked()</slot>
<slot>user3Button_clicked()</slot>
</Q_SLOTS>
<functions>
<function specifier="non virtual" returnType="int">status()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
</UI>
|