summaryrefslogtreecommitdiffstats
path: root/src/gui/messageform.ui
blob: f9a611ff8bd28456a858fac9a7481de8feb9c316 (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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MessageForm</class>
<widget class="QMainWindow">
    <property name="name">
        <cstring>MessageForm</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>578</width>
            <height>356</height>
        </rect>
    </property>
    <property name="caption">
        <string>Twinkle - Instant message</string>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="QLayoutWidget">
            <property name="name">
                <cstring>layout154</cstring>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QLabel" row="1" column="0">
                    <property name="name">
                        <cstring>toTextLabel</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;To:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>toLineEdit</cstring>
                    </property>
                </widget>
                <widget class="QComboBox" row="0" column="1">
                    <property name="name">
                        <cstring>fromComboBox</cstring>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>The user that will send the message.</string>
                    </property>
                </widget>
                <widget class="QLayoutWidget" row="1" column="1">
                    <property name="name">
                        <cstring>layout152</cstring>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="QLineEdit">
                            <property name="name">
                                <cstring>toLineEdit</cstring>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>The address of the user that you want to send a message. This can be a full SIP address like &lt;b&gt;sip:example@example.com&lt;/b&gt; or just the user part or telephone number of the full address. When you do not specify a full address, then Twinkle will complete the address by using the domain value of your user profile.</string>
                            </property>
                        </widget>
                        <widget class="QToolButton">
                            <property name="name">
                                <cstring>addressToolButton</cstring>
                            </property>
                            <property name="focusPolicy">
                                <enum>TabFocus</enum>
                            </property>
                            <property name="text">
                                <string></string>
                            </property>
                            <property name="accel">
                                <string>F10</string>
                            </property>
                            <property name="iconSet">
                                <iconset>kontact_contacts.png</iconset>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>Address book</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>Select an address from the address book.</string>
                            </property>
                        </widget>
                    </hbox>
                </widget>
                <widget class="QLabel" row="0" column="0">
                    <property name="name">
                        <cstring>profileTextLabel</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;User profile:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>fromComboBox</cstring>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="QGroupBox">
            <property name="name">
                <cstring>conversationGroupBox</cstring>
            </property>
            <property name="title">
                <string>Conversation</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TextBrowserNoAutoLink" row="0" column="0">
                    <property name="name">
                        <cstring>conversationBrowser</cstring>
                    </property>
                </widget>
            </grid>
        </widget>
        <widget class="QLayoutWidget">
            <property name="name">
                <cstring>layout158</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QLineEdit">
                    <property name="name">
                        <cstring>msgLineEdit</cstring>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Type your message here and then press "send" to send it.</string>
                    </property>
                </widget>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>sendPushButton</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Send</string>
                    </property>
                    <property name="accel">
                        <string>Alt+S</string>
                    </property>
                    <property name="autoDefault">
                        <bool>false</bool>
                    </property>
                    <property name="default">
                        <bool>true</bool>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Send the message.</string>
                    </property>
                </widget>
            </hbox>
        </widget>
    </vbox>
</widget>
<toolbars>
    <toolbar dock="2">
        <property name="name">
            <cstring>Toolbar</cstring>
        </property>
        <property name="horizontallyStretchable">
            <bool>false</bool>
        </property>
        <property name="label">
            <string>Instant message toolbar</string>
        </property>
        <action name="sendFileAction"/>
    </toolbar>
</toolbars>
<customwidgets>
    <customwidget>
        <class>TextBrowserNoAutoLink</class>
        <header location="global">textbrowsernoautolink.h</header>
        <sizehint>
            <width>-1</width>
            <height>-1</height>
        </sizehint>
        <container>0</container>
        <sizepolicy>
            <hordata>7</hordata>
            <verdata>7</verdata>
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
        </sizepolicy>
        <pixmap>image0</pixmap>
        <signal>linkClicked( const QString &amp; link )</signal>
    </customwidget>
</customwidgets>
<actions>
    <action>
        <property name="name">
            <cstring>sendFileAction</cstring>
        </property>
        <property name="iconSet">
            <iconset>attach.png</iconset>
        </property>
        <property name="text">
            <string>Send file...</string>
        </property>
        <property name="toolTip">
            <string>Send file</string>
        </property>
    </action>
</actions>
<images>
    <image name="image0">
        <data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154388dad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e0582c261e95f8bfc04f1a1e8bc5c4dfe0a190172af6a9690000000049454e44ae426082</data>
    </image>
</images>
<connections>
    <connection>
        <sender>sendPushButton</sender>
        <signal>clicked()</signal>
        <receiver>MessageForm</receiver>
        <slot>sendMessage()</slot>
    </connection>
    <connection>
        <sender>addressToolButton</sender>
        <signal>clicked()</signal>
        <receiver>MessageForm</receiver>
        <slot>showAddressBook()</slot>
    </connection>
    <connection>
        <sender>conversationBrowser</sender>
        <signal>linkClicked(const QString&amp;)</signal>
        <receiver>MessageForm</receiver>
        <slot>showAttachmentPopupMenu(const QString&amp;)</slot>
    </connection>
    <connection>
        <sender>sendFileAction</sender>
        <signal>activated()</signal>
        <receiver>MessageForm</receiver>
        <slot>chooseFileToSend()</slot>
    </connection>
    <connection>
        <sender>toLineEdit</sender>
        <signal>textChanged(const QString&amp;)</signal>
        <receiver>MessageForm</receiver>
        <slot>toAddressChanged(const QString&amp;)</slot>
    </connection>
    <connection>
        <sender>msgLineEdit</sender>
        <signal>textChanged(const QString&amp;)</signal>
        <receiver>MessageForm</receiver>
        <slot>showMessageSize()</slot>
    </connection>
</connections>
<includes>
    <include location="local" impldecl="in declaration">getaddressform.h</include>
    <include location="local" impldecl="in declaration">qstring.h</include>
    <include location="local" impldecl="in declaration">user.h</include>
    <include location="local" impldecl="in declaration">im/msg_session.h</include>
    <include location="local" impldecl="in declaration">phone.h</include>
    <include location="local" impldecl="in declaration">qpopupmenu.h</include>
    <include location="local" impldecl="in declaration">qlabel.h</include>
    <include location="local" impldecl="in implementation">gui.h</include>
    <include location="local" impldecl="in implementation">sockets/url.h</include>
    <include location="local" impldecl="in implementation">qstylesheet.h</include>
    <include location="local" impldecl="in implementation">audits/memman.h</include>
    <include location="local" impldecl="in implementation">util.h</include>
    <include location="local" impldecl="in implementation">qpixmap.h</include>
    <include location="local" impldecl="in implementation">qcursor.h</include>
    <include location="local" impldecl="in implementation">qfiledialog.h</include>
    <include location="local" impldecl="in implementation">utils/file_utils.h</include>
    <include location="local" impldecl="in implementation">qfile.h</include>
    <include location="local" impldecl="in implementation">sendfileform.h</include>
    <include location="local" impldecl="in implementation">qstatusbar.h</include>
    <include location="local" impldecl="in implementation">qframe.h</include>
    <include location="local" impldecl="in implementation">messageform.ui.h</include>
</includes>
<forwards>
    <forward>class t_phone;</forward>
    <forward>extern t_phone *phone;</forward>
</forwards>
<variables>
    <variable access="private">QDialog *_saveAsDialog;</variable>
    <variable access="private">map&lt;string, string&gt; _filenameMap;</variable>
    <variable>im::t_msg_session *_msgSession;</variable>
    <variable access="private">bool _remotePartyComplete;</variable>
    <variable access="private">GetAddressForm *_getAddressForm;</variable>
    <variable access="private">QPopupMenu *attachmentPopupMenu;</variable>
    <variable access="private">QString clickedAttachment;</variable>
    <variable access="private">void *_serviceMap;</variable>
    <variable access="private">QLabel *_isComposingLabel;</variable>
    <variable access="private">QLabel *_msgSizeLabel;</variable>
</variables>
<slots>
    <slot>closeEvent( QCloseEvent * e )</slot>
    <slot>show()</slot>
    <slot>selectUserConfig( t_user * user_config )</slot>
    <slot>showAddressBook()</slot>
    <slot>selectedAddress( const QString &amp; address )</slot>
    <slot>sendMessage()</slot>
    <slot>sendFile( const QString &amp; filename, const QString &amp; subject )</slot>
    <slot>addMessage( const im::t_msg &amp; msg, const QString &amp; name )</slot>
    <slot>displayError( const QString &amp; errorMsg )</slot>
    <slot>displayDeliveryNotification( const QString &amp; notification )</slot>
    <slot>setRemotePartyCaption( void )</slot>
    <slot>showAttachmentPopupMenu( const QString &amp; attachment )</slot>
    <slot>attachmentPopupActivated( int id )</slot>
    <slot>saveAttachment()</slot>
    <slot>chooseFileToSend()</slot>
    <slot>setComposingIndication( const QString &amp; name )</slot>
    <slot>clearComposingIndication()</slot>
    <slot>setLocalComposingIndicationActive()</slot>
    <slot>keyPressEvent( QKeyEvent * e )</slot>
    <slot>toAddressChanged( const QString &amp; address )</slot>
    <slot>showMessageSize()</slot>
</slots>
<functions>
    <function access="private" specifier="non virtual">init()</function>
    <function access="private" specifier="non virtual">destroy()</function>
    <function returnType="bool">updateMessageSession()</function>
    <function returnType="bool">prepareSendMessage()</function>
</functions>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
    <includehint>textbrowsernoautolink.h</includehint>
</includehints>
</UI>