Add button and bindings for striking through text
[quassel.git] / src / qtui / inputwidget.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>InputWidget</class>
4  <widget class="QWidget" name="InputWidget">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>585</width>
10     <height>192</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>384</width>
22     <height>0</height>
23    </size>
24   </property>
25   <property name="windowTitle">
26    <string>Form</string>
27   </property>
28   <layout class="QHBoxLayout" name="horizontalLayout">
29    <property name="spacing">
30     <number>6</number>
31    </property>
32    <property name="leftMargin">
33     <number>0</number>
34    </property>
35    <property name="topMargin">
36     <number>0</number>
37    </property>
38    <property name="rightMargin">
39     <number>0</number>
40    </property>
41    <property name="bottomMargin">
42     <number>0</number>
43    </property>
44    <item>
45     <widget class="QFrame" name="controlsFrame">
46      <property name="sizePolicy">
47       <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
48        <horstretch>0</horstretch>
49        <verstretch>0</verstretch>
50       </sizepolicy>
51      </property>
52      <property name="frameShape">
53       <enum>QFrame::NoFrame</enum>
54      </property>
55      <property name="frameShadow">
56       <enum>QFrame::Raised</enum>
57      </property>
58      <layout class="QHBoxLayout" name="controlsFrameLayout">
59       <property name="spacing">
60        <number>0</number>
61       </property>
62       <property name="leftMargin">
63        <number>0</number>
64       </property>
65       <property name="topMargin">
66        <number>0</number>
67       </property>
68       <property name="rightMargin">
69        <number>0</number>
70       </property>
71       <property name="bottomMargin">
72        <number>0</number>
73       </property>
74       <item>
75        <widget class="QComboBox" name="ownNick">
76         <property name="sizePolicy">
77          <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
78           <horstretch>0</horstretch>
79           <verstretch>0</verstretch>
80          </sizepolicy>
81         </property>
82         <property name="minimumSize">
83          <size>
84           <width>0</width>
85           <height>24</height>
86          </size>
87         </property>
88         <property name="toolTip">
89          <string>View and change nick</string>
90         </property>
91         <property name="frame">
92          <bool>true</bool>
93         </property>
94        </widget>
95       </item>
96       <item>
97        <widget class="QToolButton" name="showStyleButton">
98         <property name="sizePolicy">
99          <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
100           <horstretch>0</horstretch>
101           <verstretch>0</verstretch>
102          </sizepolicy>
103         </property>
104         <property name="minimumSize">
105          <size>
106           <width>16</width>
107           <height>24</height>
108          </size>
109         </property>
110         <property name="maximumSize">
111          <size>
112           <width>16</width>
113           <height>16777215</height>
114          </size>
115         </property>
116         <property name="text">
117          <string/>
118         </property>
119         <property name="checkable">
120          <bool>true</bool>
121         </property>
122         <property name="arrowType">
123          <enum>Qt::RightArrow</enum>
124         </property>
125        </widget>
126       </item>
127       <item>
128        <widget class="QFrame" name="styleFrame">
129         <property name="sizePolicy">
130          <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
131           <horstretch>0</horstretch>
132           <verstretch>0</verstretch>
133          </sizepolicy>
134         </property>
135         <layout class="QHBoxLayout" name="styleHorizontalLayout">
136          <property name="spacing">
137           <number>1</number>
138          </property>
139          <property name="leftMargin">
140           <number>0</number>
141          </property>
142          <property name="topMargin">
143           <number>0</number>
144          </property>
145          <property name="rightMargin">
146           <number>0</number>
147          </property>
148          <property name="bottomMargin">
149           <number>0</number>
150          </property>
151          <item>
152           <widget class="QToolButton" name="boldButton">
153            <property name="enabled">
154             <bool>true</bool>
155            </property>
156            <property name="sizePolicy">
157             <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
158              <horstretch>0</horstretch>
159              <verstretch>0</verstretch>
160             </sizepolicy>
161            </property>
162            <property name="minimumSize">
163             <size>
164              <width>26</width>
165              <height>24</height>
166             </size>
167            </property>
168            <property name="maximumSize">
169             <size>
170              <width>16777215</width>
171              <height>16777215</height>
172             </size>
173            </property>
174            <property name="toolTip">
175             <string>Bold</string>
176            </property>
177            <property name="text">
178             <string/>
179            </property>
180            <property name="iconSize">
181             <size>
182              <width>16</width>
183              <height>16</height>
184             </size>
185            </property>
186            <property name="checkable">
187             <bool>true</bool>
188            </property>
189           </widget>
190          </item>
191          <item>
192           <widget class="QToolButton" name="italicButton">
193            <property name="enabled">
194             <bool>true</bool>
195            </property>
196            <property name="sizePolicy">
197             <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
198              <horstretch>0</horstretch>
199              <verstretch>0</verstretch>
200             </sizepolicy>
201            </property>
202            <property name="minimumSize">
203             <size>
204              <width>26</width>
205              <height>24</height>
206             </size>
207            </property>
208            <property name="maximumSize">
209             <size>
210              <width>16777215</width>
211              <height>16777215</height>
212             </size>
213            </property>
214            <property name="toolTip">
215             <string>Italic</string>
216            </property>
217            <property name="text">
218             <string/>
219            </property>
220            <property name="iconSize">
221             <size>
222              <width>16</width>
223              <height>16</height>
224             </size>
225            </property>
226            <property name="checkable">
227             <bool>true</bool>
228            </property>
229            <property name="checked">
230             <bool>false</bool>
231            </property>
232           </widget>
233          </item>
234          <item>
235           <widget class="QToolButton" name="underlineButton">
236            <property name="enabled">
237             <bool>true</bool>
238            </property>
239            <property name="sizePolicy">
240             <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
241              <horstretch>0</horstretch>
242              <verstretch>0</verstretch>
243             </sizepolicy>
244            </property>
245            <property name="minimumSize">
246             <size>
247              <width>26</width>
248              <height>24</height>
249             </size>
250            </property>
251            <property name="maximumSize">
252             <size>
253              <width>16777215</width>
254              <height>16777215</height>
255             </size>
256            </property>
257            <property name="toolTip">
258             <string>Underline</string>
259            </property>
260            <property name="text">
261             <string/>
262            </property>
263            <property name="iconSize">
264             <size>
265              <width>16</width>
266              <height>16</height>
267             </size>
268            </property>
269            <property name="checkable">
270             <bool>true</bool>
271            </property>
272            <property name="checked">
273             <bool>false</bool>
274            </property>
275           </widget>
276          </item>
277          <item>
278           <widget class="QToolButton" name="strikethroughButton">
279            <property name="enabled">
280             <bool>true</bool>
281            </property>
282            <property name="sizePolicy">
283             <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
284              <horstretch>0</horstretch>
285              <verstretch>0</verstretch>
286             </sizepolicy>
287            </property>
288            <property name="minimumSize">
289             <size>
290              <width>26</width>
291              <height>24</height>
292             </size>
293            </property>
294            <property name="maximumSize">
295             <size>
296              <width>16777215</width>
297              <height>16777215</height>
298             </size>
299            </property>
300            <property name="toolTip">
301             <string>Strikethrough</string>
302            </property>
303            <property name="text">
304             <string/>
305            </property>
306            <property name="iconSize">
307             <size>
308              <width>16</width>
309              <height>16</height>
310             </size>
311            </property>
312            <property name="checkable">
313             <bool>true</bool>
314            </property>
315            <property name="checked">
316             <bool>false</bool>
317            </property>
318           </widget>
319          </item>
320          <item>
321           <widget class="QToolButton" name="textcolorButton">
322            <property name="sizePolicy">
323             <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
324              <horstretch>0</horstretch>
325              <verstretch>0</verstretch>
326             </sizepolicy>
327            </property>
328            <property name="minimumSize">
329             <size>
330              <width>0</width>
331              <height>24</height>
332             </size>
333            </property>
334            <property name="maximumSize">
335             <size>
336              <width>16777215</width>
337              <height>16777215</height>
338             </size>
339            </property>
340            <property name="toolTip">
341             <string>Set foreground color</string>
342            </property>
343            <property name="text">
344             <string/>
345            </property>
346            <property name="popupMode">
347             <enum>QToolButton::MenuButtonPopup</enum>
348            </property>
349           </widget>
350          </item>
351          <item>
352           <widget class="QToolButton" name="highlightcolorButton">
353            <property name="sizePolicy">
354             <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
355              <horstretch>0</horstretch>
356              <verstretch>0</verstretch>
357             </sizepolicy>
358            </property>
359            <property name="minimumSize">
360             <size>
361              <width>0</width>
362              <height>24</height>
363             </size>
364            </property>
365            <property name="maximumSize">
366             <size>
367              <width>16777215</width>
368              <height>16777215</height>
369             </size>
370            </property>
371            <property name="toolTip">
372             <string>Set background color</string>
373            </property>
374            <property name="text">
375             <string/>
376            </property>
377            <property name="popupMode">
378             <enum>QToolButton::MenuButtonPopup</enum>
379            </property>
380           </widget>
381          </item>
382          <item>
383           <widget class="QToolButton" name="clearButton">
384            <property name="enabled">
385             <bool>true</bool>
386            </property>
387            <property name="sizePolicy">
388             <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
389              <horstretch>0</horstretch>
390              <verstretch>0</verstretch>
391             </sizepolicy>
392            </property>
393            <property name="minimumSize">
394             <size>
395              <width>26</width>
396              <height>24</height>
397             </size>
398            </property>
399            <property name="maximumSize">
400             <size>
401              <width>16777215</width>
402              <height>16777215</height>
403             </size>
404            </property>
405            <property name="toolTip">
406             <string>Clear formatting</string>
407            </property>
408            <property name="text">
409             <string/>
410            </property>
411            <property name="iconSize">
412             <size>
413              <width>16</width>
414              <height>16</height>
415             </size>
416            </property>
417           </widget>
418          </item>
419         </layout>
420        </widget>
421       </item>
422      </layout>
423     </widget>
424    </item>
425    <item>
426     <widget class="QFrame" name="inputFrame">
427      <property name="sizePolicy">
428       <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
429        <horstretch>0</horstretch>
430        <verstretch>0</verstretch>
431       </sizepolicy>
432      </property>
433      <property name="frameShape">
434       <enum>QFrame::NoFrame</enum>
435      </property>
436      <property name="frameShadow">
437       <enum>QFrame::Raised</enum>
438      </property>
439      <layout class="QVBoxLayout" name="inputFrameLayout">
440       <property name="spacing">
441        <number>0</number>
442       </property>
443       <property name="leftMargin">
444        <number>0</number>
445       </property>
446       <property name="topMargin">
447        <number>0</number>
448       </property>
449       <property name="rightMargin">
450        <number>0</number>
451       </property>
452       <property name="bottomMargin">
453        <number>0</number>
454       </property>
455       <item>
456        <widget class="MultiLineEdit" name="inputEdit">
457         <property name="enabled">
458          <bool>true</bool>
459         </property>
460         <property name="sizePolicy">
461          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Maximum">
462           <horstretch>0</horstretch>
463           <verstretch>24</verstretch>
464          </sizepolicy>
465         </property>
466         <property name="minimumSize">
467          <size>
468           <width>24</width>
469           <height>0</height>
470          </size>
471         </property>
472         <property name="maximumSize">
473          <size>
474           <width>16777215</width>
475           <height>16777215</height>
476          </size>
477         </property>
478         <property name="verticalScrollBarPolicy">
479          <enum>Qt::ScrollBarAsNeeded</enum>
480         </property>
481         <property name="horizontalScrollBarPolicy">
482          <enum>Qt::ScrollBarAsNeeded</enum>
483         </property>
484         <property name="lineWrapMode">
485          <enum>QTextEdit::NoWrap</enum>
486         </property>
487        </widget>
488       </item>
489      </layout>
490     </widget>
491    </item>
492    <item>
493     <widget class="QLabel" name="encryptionIconLabel">
494      <property name="sizePolicy">
495       <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
496        <horstretch>0</horstretch>
497        <verstretch>0</verstretch>
498       </sizepolicy>
499      </property>
500      <property name="text">
501       <string notr="true">&lt;img src=&quot;:/icons/oxygen/16x16/actions/document-encrypt.png&quot;&gt;</string>
502      </property>
503     </widget>
504    </item>
505   </layout>
506  </widget>
507  <customwidgets>
508   <customwidget>
509    <class>MultiLineEdit</class>
510    <extends>QTextEdit</extends>
511    <header>multilineedit.h</header>
512   </customwidget>
513  </customwidgets>
514  <resources/>
515  <connections/>
516 </ui>