chatview.ui 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ChatView</class>
  4. <widget class="QWidget" name="ChatView">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>640</width>
  10. <height>360</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>640</width>
  22. <height>360</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>640</width>
  28. <height>360</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>Form</string>
  33. </property>
  34. <widget class="QWidget" name="verticalLayoutWidget">
  35. <property name="geometry">
  36. <rect>
  37. <x>0</x>
  38. <y>0</y>
  39. <width>641</width>
  40. <height>361</height>
  41. </rect>
  42. </property>
  43. <layout class="QVBoxLayout" name="verticalLayoutMain">
  44. <property name="sizeConstraint">
  45. <enum>QLayout::SetMaximumSize</enum>
  46. </property>
  47. <item>
  48. <layout class="QHBoxLayout" name="horizontalLayoutTitleBar" stretch="0,0">
  49. <property name="sizeConstraint">
  50. <enum>QLayout::SetNoConstraint</enum>
  51. </property>
  52. <item>
  53. <widget class="QLabel" name="labelTitle">
  54. <property name="sizePolicy">
  55. <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
  56. <horstretch>0</horstretch>
  57. <verstretch>0</verstretch>
  58. </sizepolicy>
  59. </property>
  60. <property name="minimumSize">
  61. <size>
  62. <width>0</width>
  63. <height>50</height>
  64. </size>
  65. </property>
  66. <property name="font">
  67. <font>
  68. <pointsize>8</pointsize>
  69. </font>
  70. </property>
  71. <property name="text">
  72. <string>Nick</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item>
  77. <widget class="QPushButton" name="pushButtonLogout">
  78. <property name="minimumSize">
  79. <size>
  80. <width>120</width>
  81. <height>50</height>
  82. </size>
  83. </property>
  84. <property name="text">
  85. <string>Logout</string>
  86. </property>
  87. </widget>
  88. </item>
  89. </layout>
  90. </item>
  91. <item>
  92. <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0">
  93. <property name="sizeConstraint">
  94. <enum>QLayout::SetMaximumSize</enum>
  95. </property>
  96. <item>
  97. <widget class="QTextEdit" name="textEditUsers">
  98. <property name="sizePolicy">
  99. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  100. <horstretch>0</horstretch>
  101. <verstretch>0</verstretch>
  102. </sizepolicy>
  103. </property>
  104. <property name="minimumSize">
  105. <size>
  106. <width>150</width>
  107. <height>0</height>
  108. </size>
  109. </property>
  110. <property name="readOnly">
  111. <bool>true</bool>
  112. </property>
  113. </widget>
  114. </item>
  115. <item>
  116. <widget class="QTextEdit" name="textEditMessages">
  117. <property name="minimumSize">
  118. <size>
  119. <width>480</width>
  120. <height>0</height>
  121. </size>
  122. </property>
  123. <property name="readOnly">
  124. <bool>true</bool>
  125. </property>
  126. </widget>
  127. </item>
  128. </layout>
  129. </item>
  130. <item>
  131. <layout class="QHBoxLayout" name="horizontalLayoutChatBox">
  132. <property name="sizeConstraint">
  133. <enum>QLayout::SetMaximumSize</enum>
  134. </property>
  135. <item>
  136. <widget class="QLineEdit" name="lineEditChatBox">
  137. <property name="minimumSize">
  138. <size>
  139. <width>0</width>
  140. <height>50</height>
  141. </size>
  142. </property>
  143. <property name="font">
  144. <font>
  145. <pointsize>8</pointsize>
  146. </font>
  147. </property>
  148. </widget>
  149. </item>
  150. <item>
  151. <widget class="QPushButton" name="pushButtonSend">
  152. <property name="minimumSize">
  153. <size>
  154. <width>120</width>
  155. <height>50</height>
  156. </size>
  157. </property>
  158. <property name="text">
  159. <string>Send</string>
  160. </property>
  161. </widget>
  162. </item>
  163. </layout>
  164. </item>
  165. </layout>
  166. </widget>
  167. </widget>
  168. <resources/>
  169. <connections/>
  170. </ui>