chat_widget.ui 2.37 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 23 24 25 26
  <property name="windowTitle">
   <string>Chat session</string>
  </property>
  <layout class="QVBoxLayout" name="widget_layout">
   <property name="spacing">
    <number>3</number>
   </property>
   <property name="margin">
    <number>0</number>
   </property>
   <item>
27
    <widget class="ChatWebView" name="chat_view" native="true">
28 29 30 31 32 33 34 35 36 37 38 39 40
     <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">
41
      <enum>Qt::NoFocus</enum>
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
     </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;
62
	border: 1px inset palette(dark);
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
	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>
   <header>QtWebKit/QWebView</header>
  </customwidget>
  <customwidget>
84 85
   <class>ChatWebView</class>
   <extends>QWebView</extends>
86 87 88
   <header>blink.chatwindow</header>
  </customwidget>
  <customwidget>
89 90
   <class>ChatTextInput</class>
   <extends>QTextEdit</extends>
91 92 93 94 95 96
   <header>blink.chatwindow</header>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>