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.7 kB

8 years ago
8 years ago
8 years ago
8 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. <property name="shortcut">
  150. <string>Ctrl+S</string>
  151. </property>
  152. </action>
  153. <action name="actionSettings">
  154. <property name="text">
  155. <string>打开设置文件</string>
  156. </property>
  157. </action>
  158. <action name="actionOpendl">
  159. <property name="text">
  160. <string>打开文件管理对话框</string>
  161. </property>
  162. <property name="shortcut">
  163. <string>Ctrl+D</string>
  164. </property>
  165. </action>
  166. <action name="actionSendText">
  167. <property name="text">
  168. <string>发送文本消息</string>
  169. </property>
  170. <property name="shortcut">
  171. <string/>
  172. </property>
  173. </action>
  174. <action name="actionSendKnock">
  175. <property name="text">
  176. <string>发送窗口抖动</string>
  177. </property>
  178. </action>
  179. <action name="actionSendFile">
  180. <property name="text">
  181. <string>发送文件</string>
  182. </property>
  183. </action>
  184. <action name="actionRefreshFellows">
  185. <property name="text">
  186. <string>刷新</string>
  187. </property>
  188. </action>
  189. <action name="actionAddFellow">
  190. <property name="text">
  191. <string>手动添加</string>
  192. </property>
  193. </action>
  194. <action name="actionInsertEmoji">
  195. <property name="text">
  196. <string>插入表情</string>
  197. </property>
  198. <property name="shortcut">
  199. <string>Ctrl+E</string>
  200. </property>
  201. </action>
  202. </widget>
  203. <layoutdefault spacing="6" margin="11"/>
  204. <customwidgets>
  205. <customwidget>
  206. <class>RecvTextEdit</class>
  207. <extends>QTextEdit</extends>
  208. <header>recvtextedit.h</header>
  209. </customwidget>
  210. <customwidget>
  211. <class>SendTextEdit</class>
  212. <extends>QTextEdit</extends>
  213. <header>sendtextedit.h</header>
  214. </customwidget>
  215. </customwidgets>
  216. <resources/>
  217. <connections/>
  218. </ui>

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

Contributors (1)