mainwindow.ui 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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>436</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="resource.qrc">
  18. <normaloff>:/img/img/edit-file.png</normaloff>:/img/img/edit-file.png</iconset>
  19. </property>
  20. <property name="unifiedTitleAndToolBarOnMac">
  21. <bool>false</bool>
  22. </property>
  23. <widget class="QWidget" name="centralwidget">
  24. <layout class="QHBoxLayout" name="horizontalLayout">
  25. <item>
  26. <widget class="QTextEdit" name="textEdit"/>
  27. </item>
  28. </layout>
  29. </widget>
  30. <widget class="QMenuBar" name="menubar">
  31. <property name="geometry">
  32. <rect>
  33. <x>0</x>
  34. <y>0</y>
  35. <width>744</width>
  36. <height>33</height>
  37. </rect>
  38. </property>
  39. <widget class="QMenu" name="menuFile">
  40. <property name="title">
  41. <string>File</string>
  42. </property>
  43. <addaction name="actionNew"/>
  44. <addaction name="actionOpen"/>
  45. <addaction name="actionClose"/>
  46. <addaction name="separator"/>
  47. <addaction name="actionSave"/>
  48. <addaction name="actionSave_as"/>
  49. <addaction name="separator"/>
  50. <addaction name="actionPrint"/>
  51. </widget>
  52. <widget class="QMenu" name="menuEdit">
  53. <property name="title">
  54. <string>Edit</string>
  55. </property>
  56. <addaction name="actionCut"/>
  57. <addaction name="actionCopy"/>
  58. <addaction name="actionPaste"/>
  59. <addaction name="separator"/>
  60. <addaction name="actionUndo"/>
  61. <addaction name="actionRedo"/>
  62. <addaction name="separator"/>
  63. <addaction name="actionFont"/>
  64. <addaction name="actionColor"/>
  65. <addaction name="actionBackground"/>
  66. <addaction name="actionBackground_Color_Edit"/>
  67. </widget>
  68. <widget class="QMenu" name="menuAbout">
  69. <property name="title">
  70. <string>About</string>
  71. </property>
  72. <addaction name="actionAbout"/>
  73. <addaction name="actionAbout_QT"/>
  74. </widget>
  75. <addaction name="menuFile"/>
  76. <addaction name="menuEdit"/>
  77. <addaction name="menuAbout"/>
  78. </widget>
  79. <widget class="QStatusBar" name="statusbar"/>
  80. <widget class="QToolBar" name="toolBar">
  81. <property name="windowTitle">
  82. <string>toolBar</string>
  83. </property>
  84. <property name="movable">
  85. <bool>false</bool>
  86. </property>
  87. <attribute name="toolBarArea">
  88. <enum>TopToolBarArea</enum>
  89. </attribute>
  90. <attribute name="toolBarBreak">
  91. <bool>false</bool>
  92. </attribute>
  93. <addaction name="actionNew"/>
  94. <addaction name="actionOpen"/>
  95. <addaction name="separator"/>
  96. <addaction name="actionSave"/>
  97. <addaction name="actionSave_as"/>
  98. <addaction name="separator"/>
  99. <addaction name="actionCut"/>
  100. <addaction name="actionPaste"/>
  101. <addaction name="actionCopy"/>
  102. <addaction name="separator"/>
  103. <addaction name="actionUndo"/>
  104. <addaction name="actionRedo"/>
  105. <addaction name="separator"/>
  106. <addaction name="actionClose"/>
  107. </widget>
  108. <action name="actionNew">
  109. <property name="icon">
  110. <iconset resource="resource.qrc">
  111. <normaloff>:/img/img/add-file.png</normaloff>:/img/img/add-file.png</iconset>
  112. </property>
  113. <property name="text">
  114. <string>New</string>
  115. </property>
  116. </action>
  117. <action name="actionOpen">
  118. <property name="icon">
  119. <iconset resource="resource.qrc">
  120. <normaloff>:/img/img/open-folder.png</normaloff>:/img/img/open-folder.png</iconset>
  121. </property>
  122. <property name="text">
  123. <string>Open</string>
  124. </property>
  125. </action>
  126. <action name="actionClose">
  127. <property name="icon">
  128. <iconset resource="resource.qrc">
  129. <normaloff>:/img/img/close.png</normaloff>:/img/img/close.png</iconset>
  130. </property>
  131. <property name="text">
  132. <string>Close</string>
  133. </property>
  134. </action>
  135. <action name="actionSave">
  136. <property name="icon">
  137. <iconset resource="resource.qrc">
  138. <normaloff>:/img/img/save.png</normaloff>:/img/img/save.png</iconset>
  139. </property>
  140. <property name="text">
  141. <string>Save</string>
  142. </property>
  143. </action>
  144. <action name="actionSave_as">
  145. <property name="icon">
  146. <iconset resource="resource.qrc">
  147. <normaloff>:/img/img/save-as.png</normaloff>:/img/img/save-as.png</iconset>
  148. </property>
  149. <property name="text">
  150. <string>Save as</string>
  151. </property>
  152. </action>
  153. <action name="actionCut">
  154. <property name="icon">
  155. <iconset resource="resource.qrc">
  156. <normaloff>:/img/img/cut.png</normaloff>:/img/img/cut.png</iconset>
  157. </property>
  158. <property name="text">
  159. <string>Cut</string>
  160. </property>
  161. </action>
  162. <action name="actionCopy">
  163. <property name="icon">
  164. <iconset resource="resource.qrc">
  165. <normaloff>:/img/img/copy.png</normaloff>:/img/img/copy.png</iconset>
  166. </property>
  167. <property name="text">
  168. <string>Copy</string>
  169. </property>
  170. </action>
  171. <action name="actionPaste">
  172. <property name="icon">
  173. <iconset resource="resource.qrc">
  174. <normaloff>:/img/img/paste.png</normaloff>:/img/img/paste.png</iconset>
  175. </property>
  176. <property name="text">
  177. <string>Paste</string>
  178. </property>
  179. </action>
  180. <action name="actionUndo">
  181. <property name="icon">
  182. <iconset resource="resource.qrc">
  183. <normaloff>:/img/img/undo.png</normaloff>:/img/img/undo.png</iconset>
  184. </property>
  185. <property name="text">
  186. <string>Undo</string>
  187. </property>
  188. </action>
  189. <action name="actionRedo">
  190. <property name="icon">
  191. <iconset resource="resource.qrc">
  192. <normaloff>:/img/img/redo.png</normaloff>:/img/img/redo.png</iconset>
  193. </property>
  194. <property name="text">
  195. <string>Redo</string>
  196. </property>
  197. </action>
  198. <action name="actionAbout">
  199. <property name="icon">
  200. <iconset resource="resource.qrc">
  201. <normaloff>:/img/img/info.png</normaloff>:/img/img/info.png</iconset>
  202. </property>
  203. <property name="text">
  204. <string>About</string>
  205. </property>
  206. </action>
  207. <action name="actionAbout_QT">
  208. <property name="icon">
  209. <iconset resource="resource.qrc">
  210. <normaloff>:/img/img/info.png</normaloff>:/img/img/info.png</iconset>
  211. </property>
  212. <property name="text">
  213. <string>About QT</string>
  214. </property>
  215. </action>
  216. <action name="actionFont">
  217. <property name="text">
  218. <string>Font</string>
  219. </property>
  220. </action>
  221. <action name="actionColor">
  222. <property name="text">
  223. <string>Color</string>
  224. </property>
  225. </action>
  226. <action name="actionBackground">
  227. <property name="text">
  228. <string>Background</string>
  229. </property>
  230. </action>
  231. <action name="actionBackground_Color_Edit">
  232. <property name="text">
  233. <string>Background Color Edit</string>
  234. </property>
  235. </action>
  236. <action name="actionPrint">
  237. <property name="text">
  238. <string>Print</string>
  239. </property>
  240. </action>
  241. </widget>
  242. <resources>
  243. <include location="resource.qrc"/>
  244. </resources>
  245. <connections/>
  246. </ui>