You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mainwindow.ui 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>260</width>
  10. <height>390</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Epimafia Soul - Epimafia</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset>
  18. <normaloff>:/icon.jpg</normaloff>:/icon.jpg</iconset>
  19. </property>
  20. <property name="styleSheet">
  21. <string notr="true"/>
  22. </property>
  23. <widget class="QWidget" name="centralwidget">
  24. <property name="styleSheet">
  25. <string notr="true">QWidget
  26. {
  27. background-color: black;
  28. color: white;
  29. }
  30. QLineEdit
  31. {
  32. border: 1px solid white;
  33. border-radius: 2px;
  34. }</string>
  35. </property>
  36. <layout class="QVBoxLayout" name="verticalLayout">
  37. <item>
  38. <layout class="QHBoxLayout" name="horizontalLayout">
  39. <item>
  40. <spacer name="horizontalSpacer">
  41. <property name="orientation">
  42. <enum>Qt::Horizontal</enum>
  43. </property>
  44. <property name="sizeHint" stdset="0">
  45. <size>
  46. <width>40</width>
  47. <height>20</height>
  48. </size>
  49. </property>
  50. </spacer>
  51. </item>
  52. <item>
  53. <widget class="QLabel" name="label">
  54. <property name="minimumSize">
  55. <size>
  56. <width>150</width>
  57. <height>75</height>
  58. </size>
  59. </property>
  60. <property name="maximumSize">
  61. <size>
  62. <width>150</width>
  63. <height>75</height>
  64. </size>
  65. </property>
  66. <property name="text">
  67. <string/>
  68. </property>
  69. <property name="pixmap">
  70. <pixmap resource="../Epimafia/rc.qrc">:/epimafia/epimafia.jpg</pixmap>
  71. </property>
  72. <property name="scaledContents">
  73. <bool>true</bool>
  74. </property>
  75. </widget>
  76. </item>
  77. <item>
  78. <spacer name="horizontalSpacer_2">
  79. <property name="orientation">
  80. <enum>Qt::Horizontal</enum>
  81. </property>
  82. <property name="sizeHint" stdset="0">
  83. <size>
  84. <width>40</width>
  85. <height>20</height>
  86. </size>
  87. </property>
  88. </spacer>
  89. </item>
  90. </layout>
  91. </item>
  92. <item>
  93. <widget class="ConnectWidget" name="loginWidget" native="true">
  94. <property name="sizePolicy">
  95. <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
  96. <horstretch>0</horstretch>
  97. <verstretch>0</verstretch>
  98. </sizepolicy>
  99. </property>
  100. </widget>
  101. </item>
  102. <item>
  103. <widget class="ContactsWidget" name="contactsWidget" native="true">
  104. <property name="sizePolicy">
  105. <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
  106. <horstretch>0</horstretch>
  107. <verstretch>0</verstretch>
  108. </sizepolicy>
  109. </property>
  110. </widget>
  111. </item>
  112. </layout>
  113. </widget>
  114. <widget class="QMenuBar" name="menubar">
  115. <property name="geometry">
  116. <rect>
  117. <x>0</x>
  118. <y>0</y>
  119. <width>260</width>
  120. <height>19</height>
  121. </rect>
  122. </property>
  123. <widget class="QMenu" name="menuFichier">
  124. <property name="title">
  125. <string>File</string>
  126. </property>
  127. <addaction name="actionConnect"/>
  128. <addaction name="actionDisconnect"/>
  129. <addaction name="separator"/>
  130. <addaction name="actionHide"/>
  131. <addaction name="separator"/>
  132. <addaction name="actionQuit"/>
  133. </widget>
  134. <widget class="QMenu" name="menuOptions">
  135. <property name="title">
  136. <string>Options</string>
  137. </property>
  138. <addaction name="actionOptions"/>
  139. </widget>
  140. <widget class="QMenu" name="menuChat">
  141. <property name="title">
  142. <string>Contacts</string>
  143. </property>
  144. <addaction name="actionAddContact"/>
  145. </widget>
  146. <addaction name="menuFichier"/>
  147. <addaction name="menuChat"/>
  148. <addaction name="menuOptions"/>
  149. </widget>
  150. <widget class="QStatusBar" name="statusbar">
  151. <property name="sizeGripEnabled">
  152. <bool>false</bool>
  153. </property>
  154. </widget>
  155. <action name="actionConnect">
  156. <property name="text">
  157. <string>Connect</string>
  158. </property>
  159. <property name="shortcut">
  160. <string>Ctrl+O</string>
  161. </property>
  162. </action>
  163. <action name="actionDisconnect">
  164. <property name="text">
  165. <string>Disconnect</string>
  166. </property>
  167. <property name="shortcut">
  168. <string>Ctrl+F4</string>
  169. </property>
  170. </action>
  171. <action name="actionOptions">
  172. <property name="text">
  173. <string>Options...</string>
  174. </property>
  175. <property name="shortcut">
  176. <string>Ctrl+P</string>
  177. </property>
  178. </action>
  179. <action name="actionAddContact">
  180. <property name="text">
  181. <string>Add...</string>
  182. </property>
  183. </action>
  184. <action name="actionQuit">
  185. <property name="text">
  186. <string>Quit</string>
  187. </property>
  188. <property name="shortcut">
  189. <string>Ctrl+Q</string>
  190. </property>
  191. </action>
  192. <action name="actionHide">
  193. <property name="text">
  194. <string>Hide</string>
  195. </property>
  196. <property name="shortcut">
  197. <string>Ctrl+W</string>
  198. </property>
  199. </action>
  200. </widget>
  201. <customwidgets>
  202. <customwidget>
  203. <class>ConnectWidget</class>
  204. <extends>QWidget</extends>
  205. <header>connectwidget.h</header>
  206. <container>1</container>
  207. </customwidget>
  208. <customwidget>
  209. <class>ContactsWidget</class>
  210. <extends>QWidget</extends>
  211. <header>contactswidget.h</header>
  212. <container>1</container>
  213. </customwidget>
  214. </customwidgets>
  215. <resources>
  216. <include location="../Epimafia/rc.qrc"/>
  217. </resources>
  218. <connections/>
  219. </ui>