summaryrefslogtreecommitdiffstats
path: root/src/gui/messageform.ui
blob: a35bb69e51f20e16ee16accf26294ad5624e3665 (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
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
  <author></author>
  <comment></comment>
  <exportmacro></exportmacro>
  <class>MessageForm</class>
  <widget class="QMainWindow" name="MessageForm">
    <property name="geometry">
      <rect>
        <x>0</x>
        <y>0</y>
        <width>578</width>
        <height>356</height>
      </rect>
    </property>
    <property name="windowTitle">
      <string>Twinkle - Instant message</string>
    </property>
    <widget class="QWidget">
      <layout class="QVBoxLayout">
        <item>
          <layout class="QGridLayout">
            <item row="1" column="0">
              <widget class="QLabel" name="toTextLabel">
                <property name="text">
                  <string>&amp;To:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>toLineEdit</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
            <item row="0" column="1">
              <widget class="QComboBox" name="fromComboBox">
                <property name="whatsThis" stdset="0">
                  <string>The user that will send the message.</string>
                </property>
              </widget>
            </item>
            <item row="1" column="1">
              <layout class="QHBoxLayout">
                <item>
                  <widget class="QLineEdit" name="toLineEdit">
                    <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>
                </item>
                <item>
                  <widget class="QToolButton" name="addressToolButton">
                    <property name="focusPolicy">
                      <enum>Qt::TabFocus</enum>
                    </property>
                    <property name="text">
                      <string/>
                    </property>
                    <property name="shortcut">
                      <string>F10</string>
                    </property>
                    <property name="icon">
                      <iconset>:/icons/images/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>
                </item>
              </layout>
            </item>
            <item row="0" column="0">
              <widget class="QLabel" name="profileTextLabel">
                <property name="text">
                  <string>&amp;User profile:</string>
                </property>
                <property name="buddy" stdset="0">
                  <cstring>fromComboBox</cstring>
                </property>
                <property name="wordWrap">
                  <bool>false</bool>
                </property>
              </widget>
            </item>
          </layout>
        </item>
        <item>
          <widget class="QGroupBox" name="conversationGroupBox">
            <property name="title">
              <string>Conversation</string>
            </property>
            <layout class="QGridLayout">
              <item row="0" column="0">
                <widget class="TextBrowserNoAutoLink" name="conversationBrowser"/>
              </item>
            </layout>
          </widget>
        </item>
        <item>
          <layout class="QHBoxLayout">
            <item>
              <widget class="QLineEdit" name="msgLineEdit">
                <property name="whatsThis" stdset="0">
                  <string>Type your message here and then press &quot;send&quot; to send it.</string>
                </property>
              </widget>
            </item>
            <item>
              <widget class="QPushButton" name="sendPushButton">
                <property name="text">
                  <string>&amp;Send</string>
                </property>
                <property name="shortcut">
                  <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>
            </item>
          </layout>
        </item>
      </layout>
    </widget>
    <widget class="QToolBar" name="Toolbar">
      <addaction name="sendFileAction"/>
    </widget>
    <action name="sendFileAction">
      <property name="icon">
        <iconset>:/icons/images/attach.png</iconset>
      </property>
      <property name="iconText">
        <string>Send file...</string>
      </property>
      <property name="toolTip">
        <string>Send file</string>
      </property>
    </action>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <customwidgets>
    <customwidget>
      <class>TextBrowserNoAutoLink</class>
      <extends>QWidget</extends>
      <header location="global">textbrowsernoautolink.h</header>
      <sizehint>
        <width>-1</width>
        <height>-1</height>
      </sizehint>
      <container>0</container>
      <sizepolicy>
        <hordata>7</hordata>
        <verdata>7</verdata>
      </sizepolicy>
      <pixmap>image0</pixmap>
    </customwidget>
  </customwidgets>
  <images>
    <image name="image0">
      <data format="PNG" length="1002">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003b149444154388dad945f4c5b551cc73fe7dc4b7b4bcba0762d45c43114323599ee6192609c51d883892ce083f1718b3ebb185f8dc91e972cf39d2d2a2f1af664b6f1e0fe3863a0718969700eb0c52142da0242a1bd6d696f7bcff101585203ceb8fd9ece39f99dcff9fe7edf939f88c562ec465f5f9fe609442c161362173c3e3eae7b7a7ac8e7f36432196cdbfe4f907c3e4f2291201e8fe338cec3737357e9e8e828aded1e229d650e1f2d51754b082110124c13a4dc5ea341eb9dc284c0558a853f3ce8cb0677ef500fde7d39d2596679e326597b8e9abb85d7a770ab16ab6983ec5a05b487a70e36f0f4e10afe408d6a558310980108478dba4a1e8233990c5d474b64ed39aa3a8fe5f3317fbf81dbd70bccfeb205947632fd74f6589c1c6ea2f70d03a58ba0c1f2c9bdc1b66de3b8256a6e11cbe7e3ee1d181b590124fe2693aeee08d223c82c3a2c24b7b874bec8f26288774f7bd054504aef0dde6e99c0eb83f9fb266323cb80a27fb0958141836044605a2ee5523393371cc646fee2da37195aa35d0c0c5b4859ac03d7e91712dcaac5adab3650a3ff9d08ef7dd8404bb48869e5d958b5b87dadc4c9a1464e9f0d0326df7ebd86bd2e310cb1bf62d384d59441f2d70a070e1c60e09489929b988681bdd9cc97170bcc4c65595f71f8e0e3301337fc24a7732467831875a47f289652b0be5e4151e6d07316c1b0c0340d8ab92023e76d66a6b2840e36d2fb7a13fee632475e6edc367ea98a90fb98b7dd6310ca0328a44761582e1bab41befabcc0ec940d28bc5e93b68e064cab84e1d9beaeb48934eac1f53b01c1b000fca496aa54b61a99fcde61662a4b4b4b23d1680be9d426173e4df3602a48ea411989a4fd590f52a8fd156b05ed9d350e3defe3cfdf4b4c7ce770ea7d3fb9f520afbe1620daeee5c26735d20b9b9cfb6811a754a439e4e5c5639a4caa1e5caf586bfc0197b78702005cb9b4cae4cd3267ce8638fe964bd72b393e39d74928d242617303a756a37f284447770dcdbffc6384a05a85de1306e9a52057c7527c7131c3c42d3f475eb2303c82d4fc3276d6811db37efeb148723082d9b08f79f97c1e5729109a9a28307cc622d2d6cdf52b2b24efe548dedb00142009862cfa879ee1a71f6cec928353511472fbf4389148b0b0e0c108081412458dfe21c9f11351e67e7358595468246d1d1e5e38a6e9e851bc39d84ab502a669331dafec0d8ec7e3e8cb06e1a881d727d1ae40180a434a8c9db129a54126ad48a7358c2b4c5352c8c374bcccdab2bb37d8719cba79fab8211f9df218e0582c261e95f8bfc04f1a1e8bc5c4dfe0a190172af6a9690000000049454e44ae426082</data>
    </image>
  </images>
  <includes>
    <include location="local">ui_getaddressform.h</include>
    <include location="local">qstring.h</include>
    <include location="local">user.h</include>
    <include location="local">im/msg_session.h</include>
    <include location="local">phone.h</include>
    <include location="local">qlabel.h</include>
    <include location="local">textbrowsernoautolink.h</include>
  </includes>
  <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>anchorClicked(QUrl)</signal>
      <receiver>MessageForm</receiver>
      <slot>showAttachmentPopupMenu(QUrl)</slot>
    </connection>
    <connection>
      <sender>sendFileAction</sender>
      <signal>triggered()</signal>
      <receiver>MessageForm</receiver>
      <slot>chooseFileToSend()</slot>
    </connection>
    <connection>
      <sender>toLineEdit</sender>
      <signal>textChanged(QString)</signal>
      <receiver>MessageForm</receiver>
      <slot>toAddressChanged(QString)</slot>
    </connection>
    <connection>
      <sender>msgLineEdit</sender>
      <signal>textChanged(QString)</signal>
      <receiver>MessageForm</receiver>
      <slot>showMessageSize()</slot>
    </connection>
  </connections>
</ui>