| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 | <?xml version="1.0" encoding="UTF-8"?><ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow">  <property name="geometry">   <rect>    <x>0</x>    <y>0</y>    <width>395</width>    <height>352</height>   </rect>  </property>  <property name="sizePolicy">   <sizepolicy hsizetype="Expanding" vsizetype="Expanding">    <horstretch>0</horstretch>    <verstretch>0</verstretch>   </sizepolicy>  </property>  <property name="minimumSize">   <size>    <width>392</width>    <height>223</height>   </size>  </property>  <property name="maximumSize">   <size>    <width>16777215</width>    <height>16777215</height>   </size>  </property>  <property name="windowTitle">   <string>EventBus Demo App</string>  </property>  <widget class="QWidget" name="centralWidget">   <widget class="QWidget" name="layoutWidget">    <property name="geometry">     <rect>      <x>20</x>      <y>0</y>      <width>361</width>      <height>311</height>     </rect>    </property>    <layout class="QVBoxLayout" name="verticalLayout">     <item>      <layout class="QHBoxLayout" name="horizontalLayout">       <item>        <widget class="QLineEdit" name="hostLineEdit">         <property name="text">          <string>127.0.0.1</string>         </property>        </widget>       </item>       <item>        <widget class="QLineEdit" name="portLineEdit">         <property name="text">          <string>8000</string>         </property>        </widget>       </item>       <item>        <widget class="QPushButton" name="connectButton">         <property name="text">          <string>connect</string>         </property>        </widget>       </item>      </layout>     </item>     <item>      <widget class="QLabel" name="lblAnswer">       <property name="text">        <string>Chat:</string>       </property>      </widget>     </item>     <item>      <widget class="QTextBrowser" name="textBrowser">       <property name="horizontalScrollBarPolicy">        <enum>Qt::ScrollBarAlwaysOff</enum>       </property>      </widget>     </item>     <item>      <widget class="QPlainTextEdit" name="txtParameter">       <property name="enabled">        <bool>false</bool>       </property>       <property name="sizePolicy">        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">         <horstretch>0</horstretch>         <verstretch>40</verstretch>        </sizepolicy>       </property>       <property name="minimumSize">        <size>         <width>0</width>         <height>30</height>        </size>       </property>       <property name="maximumSize">        <size>         <width>16777215</width>         <height>30</height>        </size>       </property>      </widget>     </item>     <item>      <widget class="QPushButton" name="btnSend">       <property name="enabled">        <bool>false</bool>       </property>       <property name="text">        <string>Send</string>       </property>      </widget>     </item>    </layout>   </widget>  </widget>  <widget class="QMenuBar" name="menuBar">   <property name="geometry">    <rect>     <x>0</x>     <y>0</y>     <width>395</width>     <height>22</height>    </rect>   </property>  </widget>  <widget class="QToolBar" name="mainToolBar">   <property name="maximumSize">    <size>     <width>0</width>     <height>0</height>    </size>   </property>   <attribute name="toolBarArea">    <enum>TopToolBarArea</enum>   </attribute>   <attribute name="toolBarBreak">    <bool>false</bool>   </attribute>  </widget>  <widget class="QStatusBar" name="statusBar">   <property name="minimumSize">    <size>     <width>0</width>     <height>20</height>    </size>   </property>  </widget> </widget> <layoutdefault spacing="6" margin="11"/> <resources/> <connections/> <slots>  <slot>sendEvent()</slot> </slots></ui>
 |