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

9 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. </widget>
  88. </item>
  89. </layout>
  90. </item>
  91. </layout>
  92. </widget>
  93. <widget class="QMenuBar" name="menuBar">
  94. <property name="geometry">
  95. <rect>
  96. <x>0</x>
  97. <y>0</y>
  98. <width>744</width>
  99. <height>22</height>
  100. </rect>
  101. </property>
  102. <widget class="QMenu" name="searchMenu">
  103. <property name="title">
  104. <string>好友</string>
  105. </property>
  106. <addaction name="actionSearchFellow"/>
  107. <addaction name="actionRefreshFellows"/>
  108. <addaction name="actionAddFellow"/>
  109. </widget>
  110. <widget class="QMenu" name="settingMenu">
  111. <property name="title">
  112. <string>设置</string>
  113. </property>
  114. <addaction name="actionSettings"/>
  115. </widget>
  116. <widget class="QMenu" name="menuDownload">
  117. <property name="title">
  118. <string>下载</string>
  119. </property>
  120. <addaction name="actionOpendl"/>
  121. </widget>
  122. <widget class="QMenu" name="menuEdit">
  123. <property name="title">
  124. <string>编辑</string>
  125. </property>
  126. <addaction name="actionSendText"/>
  127. <addaction name="actionSendKnock"/>
  128. <addaction name="actionSendFile"/>
  129. <addaction name="actionInsertEmoji"/>
  130. </widget>
  131. <addaction name="searchMenu"/>
  132. <addaction name="settingMenu"/>
  133. <addaction name="menuDownload"/>
  134. <addaction name="menuEdit"/>
  135. </widget>
  136. <action name="actionSearchFellow">
  137. <property name="text">
  138. <string>查找</string>
  139. </property>
  140. <property name="shortcut">
  141. <string>Ctrl+S</string>
  142. </property>
  143. </action>
  144. <action name="actionSettings">
  145. <property name="text">
  146. <string>打开设置文件</string>
  147. </property>
  148. </action>
  149. <action name="actionOpendl">
  150. <property name="text">
  151. <string>打开文件管理对话框</string>
  152. </property>
  153. <property name="shortcut">
  154. <string>Ctrl+D</string>
  155. </property>
  156. </action>
  157. <action name="actionSendText">
  158. <property name="text">
  159. <string>发送文本消息</string>
  160. </property>
  161. <property name="shortcut">
  162. <string>Ctrl+Return</string>
  163. </property>
  164. </action>
  165. <action name="actionSendKnock">
  166. <property name="text">
  167. <string>发送窗口抖动</string>
  168. </property>
  169. </action>
  170. <action name="actionSendFile">
  171. <property name="text">
  172. <string>发送文件</string>
  173. </property>
  174. </action>
  175. <action name="actionRefreshFellows">
  176. <property name="text">
  177. <string>刷新</string>
  178. </property>
  179. </action>
  180. <action name="actionAddFellow">
  181. <property name="text">
  182. <string>手动添加</string>
  183. </property>
  184. </action>
  185. <action name="actionInsertEmoji">
  186. <property name="text">
  187. <string>插入表情</string>
  188. </property>
  189. <property name="shortcut">
  190. <string>Ctrl+E</string>
  191. </property>
  192. </action>
  193. </widget>
  194. <layoutdefault spacing="6" margin="11"/>
  195. <customwidgets>
  196. <customwidget>
  197. <class>RecvTextEdit</class>
  198. <extends>QTextEdit</extends>
  199. <header>recvtextedit.h</header>
  200. </customwidget>
  201. <customwidget>
  202. <class>SendTextEdit</class>
  203. <extends>QTextEdit</extends>
  204. <header>sendtextedit.h</header>
  205. </customwidget>
  206. </customwidgets>
  207. <resources/>
  208. <connections/>
  209. </ui>

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

Contributors (1)