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

mainwindow.ui 5.6 kB

8 years ago
8 years ago
8 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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>744</width>
  10. <height>576</height>
  11. </rect>
  12. </property>
  13. <property name="font">
  14. <font>
  15. <family>Monaco</family>
  16. </font>
  17. </property>
  18. <property name="acceptDrops">
  19. <bool>true</bool>
  20. </property>
  21. <property name="windowTitle">
  22. <string>feiq</string>
  23. </property>
  24. <widget class="QWidget" name="centralWidget">
  25. <layout class="QHBoxLayout" name="horizontalLayout">
  26. <property name="spacing">
  27. <number>0</number>
  28. </property>
  29. <item>
  30. <layout class="QVBoxLayout" name="verticalLayout">
  31. <item>
  32. <widget class="QListWidget" name="fellowListWidget">
  33. <property name="sizePolicy">
  34. <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
  35. <horstretch>0</horstretch>
  36. <verstretch>0</verstretch>
  37. </sizepolicy>
  38. </property>
  39. <property name="minimumSize">
  40. <size>
  41. <width>50</width>
  42. <height>0</height>
  43. </size>
  44. </property>
  45. <property name="sizeIncrement">
  46. <size>
  47. <width>0</width>
  48. <height>0</height>
  49. </size>
  50. </property>
  51. <property name="baseSize">
  52. <size>
  53. <width>0</width>
  54. <height>0</height>
  55. </size>
  56. </property>
  57. <property name="focusPolicy">
  58. <enum>Qt::ClickFocus</enum>
  59. </property>
  60. </widget>
  61. </item>
  62. </layout>
  63. </item>
  64. <item>
  65. <layout class="QVBoxLayout" name="verticalLayout_2">
  66. <property name="spacing">
  67. <number>0</number>
  68. </property>
  69. <item>
  70. <widget class="RecvTextEdit" name="recvEdit">
  71. <property name="focusPolicy">
  72. <enum>Qt::ClickFocus</enum>
  73. </property>
  74. <property name="readOnly">
  75. <bool>true</bool>
  76. </property>
  77. </widget>
  78. </item>
  79. <item>
  80. <widget class="SendTextEdit" name="sendEdit">
  81. <property name="sizePolicy">
  82. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  83. <horstretch>0</horstretch>
  84. <verstretch>0</verstretch>
  85. </sizepolicy>
  86. </property>
  87. <property name="frameShape">
  88. <enum>QFrame::StyledPanel</enum>
  89. </property>
  90. <property name="lineWidth">
  91. <number>1</number>
  92. </property>
  93. <property name="acceptRichText">
  94. <bool>false</bool>
  95. </property>
  96. </widget>
  97. </item>
  98. </layout>
  99. </item>
  100. </layout>
  101. </widget>
  102. <widget class="QMenuBar" name="menuBar">
  103. <property name="geometry">
  104. <rect>
  105. <x>0</x>
  106. <y>0</y>
  107. <width>744</width>
  108. <height>22</height>
  109. </rect>
  110. </property>
  111. <widget class="QMenu" name="searchMenu">
  112. <property name="title">
  113. <string>好友</string>
  114. </property>
  115. <addaction name="actionSearchFellow"/>
  116. <addaction name="actionRefreshFellows"/>
  117. <addaction name="actionAddFellow"/>
  118. </widget>
  119. <widget class="QMenu" name="settingMenu">
  120. <property name="title">
  121. <string>设置</string>
  122. </property>
  123. <addaction name="actionSettings"/>
  124. </widget>
  125. <widget class="QMenu" name="menuDownload">
  126. <property name="title">
  127. <string>下载</string>
  128. </property>
  129. <addaction name="actionOpendl"/>
  130. </widget>
  131. <widget class="QMenu" name="menuEdit">
  132. <property name="title">
  133. <string>编辑</string>
  134. </property>
  135. <addaction name="actionSendText"/>
  136. <addaction name="actionSendKnock"/>
  137. <addaction name="actionSendFile"/>
  138. <addaction name="actionInsertEmoji"/>
  139. </widget>
  140. <addaction name="searchMenu"/>
  141. <addaction name="settingMenu"/>
  142. <addaction name="menuDownload"/>
  143. <addaction name="menuEdit"/>
  144. </widget>
  145. <action name="actionSearchFellow">
  146. <property name="text">
  147. <string>查找</string>
  148. </property>
  149. </action>
  150. <action name="actionSettings">
  151. <property name="text">
  152. <string>打开设置文件</string>
  153. </property>
  154. </action>
  155. <action name="actionOpendl">
  156. <property name="text">
  157. <string>打开文件管理对话框</string>
  158. </property>
  159. <property name="shortcut">
  160. <string>Ctrl+D</string>
  161. </property>
  162. </action>
  163. <action name="actionSendText">
  164. <property name="text">
  165. <string>发送文本消息</string>
  166. </property>
  167. <property name="shortcut">
  168. <string/>
  169. </property>
  170. </action>
  171. <action name="actionSendKnock">
  172. <property name="text">
  173. <string>发送窗口抖动</string>
  174. </property>
  175. </action>
  176. <action name="actionSendFile">
  177. <property name="text">
  178. <string>发送文件</string>
  179. </property>
  180. </action>
  181. <action name="actionRefreshFellows">
  182. <property name="text">
  183. <string>刷新</string>
  184. </property>
  185. </action>
  186. <action name="actionAddFellow">
  187. <property name="text">
  188. <string>手动添加</string>
  189. </property>
  190. </action>
  191. <action name="actionInsertEmoji">
  192. <property name="text">
  193. <string>插入表情</string>
  194. </property>
  195. <property name="shortcut">
  196. <string>Ctrl+E</string>
  197. </property>
  198. </action>
  199. </widget>
  200. <layoutdefault spacing="6" margin="11"/>
  201. <customwidgets>
  202. <customwidget>
  203. <class>RecvTextEdit</class>
  204. <extends>QTextEdit</extends>
  205. <header>recvtextedit.h</header>
  206. </customwidget>
  207. <customwidget>
  208. <class>SendTextEdit</class>
  209. <extends>QTextEdit</extends>
  210. <header>sendtextedit.h</header>
  211. </customwidget>
  212. </customwidgets>
  213. <resources/>
  214. <connections/>
  215. </ui>

mac下的“飞秋”大多数只是飞鸽传书协议,而且未发现令人满意的开源项目,所以基于c++与qt实现了基础的飞秋协议。

Contributors (1)