chat_widget.ui 2.57 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>chat_session</class>
 <widget class="QWidget" name="chat_session">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>758</width>
    <height>521</height>
   </rect>
  </property>
13 14 15
  <property name="acceptDrops">
   <bool>true</bool>
  </property>
16 17 18 19 20 21 22
  <property name="windowTitle">
   <string>Chat session</string>
  </property>
  <layout class="QVBoxLayout" name="widget_layout">
   <property name="spacing">
    <number>3</number>
   </property>
Dan Pascu's avatar
Dan Pascu committed
23 24 25 26 27 28 29 30 31 32
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="topMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <property name="bottomMargin">
33 34 35
    <number>0</number>
   </property>
   <item>
Dan Pascu's avatar
Dan Pascu committed
36
    <widget class="ChatWebView" name="chat_view">
37 38 39 40 41 42 43 44 45 46 47 48 49
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>300</width>
       <height>100</height>
      </size>
     </property>
     <property name="focusPolicy">
50
      <enum>Qt::NoFocus</enum>
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
     </property>
    </widget>
   </item>
   <item>
    <widget class="ChatTextInput" name="chat_input">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>50</height>
      </size>
     </property>
     <property name="styleSheet">
      <string notr="true">QTextEdit {
	margin: 4px 5px 4px 5px;
71
	border: 1px inset palette(dark);
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
	border-radius: 3px;
}
</string>
     </property>
     <property name="verticalScrollBarPolicy">
      <enum>Qt::ScrollBarAlwaysOff</enum>
     </property>
     <property name="horizontalScrollBarPolicy">
      <enum>Qt::ScrollBarAlwaysOff</enum>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>QWebView</class>
   <extends>QWidget</extends>
Dan Pascu's avatar
Dan Pascu committed
90
   <header>QtWebKitWidgets/QWebView</header>
91 92
  </customwidget>
  <customwidget>
Dan Pascu's avatar
Dan Pascu committed
93 94
   <class>ChatTextInput</class>
   <extends>QTextEdit</extends>
95 96 97
   <header>blink.chatwindow</header>
  </customwidget>
  <customwidget>
Dan Pascu's avatar
Dan Pascu committed
98 99
   <class>ChatWebView</class>
   <extends>QWebView</extends>
100 101 102 103 104 105
   <header>blink.chatwindow</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>