instantmessagingwidget.ui 2.94 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>InstantMessagingWidget</class>
 <widget class="QWidget" name="InstantMessagingWidget">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>400</width>
    <height>300</height>
   </rect>
  </property>
  <property name="sizePolicy">
Edric Milaret's avatar
Edric Milaret committed
14
   <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
15 16 17 18 19
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
  <property name="windowTitle">
20
   <string/>
21 22
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
Edric Milaret's avatar
Edric Milaret committed
23
   <property name="leftMargin">
24
    <number>0</number>
Edric Milaret's avatar
Edric Milaret committed
25 26
   </property>
   <property name="topMargin">
27
    <number>0</number>
Edric Milaret's avatar
Edric Milaret committed
28 29
   </property>
   <property name="rightMargin">
30
    <number>0</number>
Edric Milaret's avatar
Edric Milaret committed
31 32
   </property>
   <property name="bottomMargin">
33
    <number>0</number>
Edric Milaret's avatar
Edric Milaret committed
34
   </property>
35
   <item>
36
    <widget class="QListView" name="listMessageView">
Edric Milaret's avatar
Edric Milaret committed
37 38 39 40 41 42 43 44
     <property name="frameShape">
      <enum>QFrame::NoFrame</enum>
     </property>
     <property name="verticalScrollMode">
      <enum>QAbstractItemView::ScrollPerPixel</enum>
     </property>
     <property name="horizontalScrollMode">
      <enum>QAbstractItemView::ScrollPerPixel</enum>
45 46 47 48
     </property>
    </widget>
   </item>
   <item>
Edric Milaret's avatar
Edric Milaret committed
49
    <layout class="QHBoxLayout" name="horizontalLayout">
Nicolas Jager's avatar
Nicolas Jager committed
50 51 52
     <property name="leftMargin">
      <number>6</number>
     </property>
Edric Milaret's avatar
Edric Milaret committed
53
     <property name="topMargin">
Nicolas Jager's avatar
Nicolas Jager committed
54 55 56 57 58 59 60
      <number>6</number>
     </property>
     <property name="rightMargin">
      <number>6</number>
     </property>
     <property name="bottomMargin">
      <number>6</number>
61
     </property>
Edric Milaret's avatar
Edric Milaret committed
62
     <item>
63 64 65 66 67 68 69
      <widget class="QLineEdit" name="messageEdit">
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>30</height>
        </size>
       </property>
Edric Milaret's avatar
Edric Milaret committed
70 71 72 73 74 75 76 77 78 79
       <property name="placeholderText">
        <string>Send text message...</string>
       </property>
       <property name="clearButtonEnabled">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="sendButton">
80 81
       <property name="minimumSize">
        <size>
Nicolas Jager's avatar
Nicolas Jager committed
82 83
         <width>30</width>
         <height>30</height>
84
        </size>
Edric Milaret's avatar
Edric Milaret committed
85
       </property>
86 87
       <property name="maximumSize">
        <size>
Nicolas Jager's avatar
Nicolas Jager committed
88 89
         <width>30</width>
         <height>30</height>
90 91 92 93
        </size>
       </property>
       <property name="text">
        <string/>
Edric Milaret's avatar
Edric Milaret committed
94
       </property>
95 96
       <property name="icon">
        <iconset resource="ressources.qrc">
Nicolas Jager's avatar
Nicolas Jager committed
97
         <normaloff>:/images/icons/ic_send_white_24dp.png</normaloff>:/images/icons/ic_send_white_24dp.png</iconset>
98 99 100
       </property>
       <property name="iconSize">
        <size>
Nicolas Jager's avatar
Nicolas Jager committed
101 102
         <width>18</width>
         <height>18</height>
103 104
        </size>
       </property>
Edric Milaret's avatar
Edric Milaret committed
105 106 107
      </widget>
     </item>
    </layout>
108 109 110
   </item>
  </layout>
 </widget>
111 112 113
 <resources>
  <include location="ressources.qrc"/>
 </resources>
114 115
 <connections/>
</ui>