main_window.ui 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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>613</width>
  10. <height>495</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>RainyNite [construction zone]</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true"/>
  18. </property>
  19. <property name="dockNestingEnabled">
  20. <bool>true</bool>
  21. </property>
  22. <widget class="QWidget" name="central_widget">
  23. <property name="styleSheet">
  24. <string notr="true">#central_widget { background-image: url(:/images/transparency.png); }
  25. #canvas { background: transparent; }</string>
  26. </property>
  27. <layout class="QVBoxLayout" name="verticalLayout">
  28. <property name="leftMargin">
  29. <number>0</number>
  30. </property>
  31. <property name="topMargin">
  32. <number>0</number>
  33. </property>
  34. <property name="rightMargin">
  35. <number>0</number>
  36. </property>
  37. <property name="bottomMargin">
  38. <number>0</number>
  39. </property>
  40. <item>
  41. <widget class="studio::Canvas" name="canvas">
  42. <property name="styleSheet">
  43. <string notr="true"/>
  44. </property>
  45. <property name="lineWidth">
  46. <number>0</number>
  47. </property>
  48. </widget>
  49. </item>
  50. </layout>
  51. </widget>
  52. <widget class="QMenuBar" name="menubar">
  53. <property name="geometry">
  54. <rect>
  55. <x>0</x>
  56. <y>0</y>
  57. <width>613</width>
  58. <height>27</height>
  59. </rect>
  60. </property>
  61. <widget class="QMenu" name="menu_file">
  62. <property name="title">
  63. <string>&amp;File</string>
  64. </property>
  65. <addaction name="action_new"/>
  66. <addaction name="action_open"/>
  67. <addaction name="action_reload"/>
  68. <addaction name="separator"/>
  69. <addaction name="action_save"/>
  70. <addaction name="action_save_as"/>
  71. <addaction name="separator"/>
  72. <addaction name="action_quit"/>
  73. </widget>
  74. <widget class="QMenu" name="menu_context">
  75. <property name="title">
  76. <string>&amp;Context</string>
  77. </property>
  78. <addaction name="action_render"/>
  79. <addaction name="action_extra_style"/>
  80. </widget>
  81. <widget class="QMenu" name="menu_view">
  82. <property name="title">
  83. <string>&amp;View</string>
  84. </property>
  85. <addaction name="action_redraw"/>
  86. </widget>
  87. <widget class="QMenu" name="menu_dock">
  88. <property name="title">
  89. <string>Add &amp;dock</string>
  90. </property>
  91. <addaction name="action_time_dock"/>
  92. <addaction name="action_playback_dock"/>
  93. <addaction name="action_node_tree_dock"/>
  94. </widget>
  95. <widget class="QMenu" name="menu_help">
  96. <property name="title">
  97. <string>&amp;Help</string>
  98. </property>
  99. <addaction name="action_about"/>
  100. </widget>
  101. <widget class="QMenu" name="menuTools">
  102. <property name="title">
  103. <string>&amp;Tools</string>
  104. </property>
  105. <addaction name="action_tool_mouse"/>
  106. <addaction name="action_tool_zoom"/>
  107. </widget>
  108. <addaction name="menu_file"/>
  109. <addaction name="menu_context"/>
  110. <addaction name="menu_view"/>
  111. <addaction name="menuTools"/>
  112. <addaction name="menu_dock"/>
  113. <addaction name="menu_help"/>
  114. </widget>
  115. <widget class="QStatusBar" name="statusbar"/>
  116. <action name="action_quit">
  117. <property name="icon">
  118. <iconset theme="application-exit">
  119. <normaloff>.</normaloff>.</iconset>
  120. </property>
  121. <property name="text">
  122. <string>&amp;Quit</string>
  123. </property>
  124. <property name="shortcut">
  125. <string>Ctrl+Q</string>
  126. </property>
  127. </action>
  128. <action name="action_open">
  129. <property name="icon">
  130. <iconset theme="document-open">
  131. <normaloff>.</normaloff>.</iconset>
  132. </property>
  133. <property name="text">
  134. <string>&amp;Open</string>
  135. </property>
  136. <property name="shortcut">
  137. <string>Ctrl+O</string>
  138. </property>
  139. </action>
  140. <action name="action_render">
  141. <property name="text">
  142. <string>&amp;Render</string>
  143. </property>
  144. <property name="shortcut">
  145. <string>Ctrl+Shift+R</string>
  146. </property>
  147. </action>
  148. <action name="action_redraw">
  149. <property name="icon">
  150. <iconset theme="view-refresh">
  151. <normaloff>.</normaloff>.</iconset>
  152. </property>
  153. <property name="text">
  154. <string>&amp;Redraw</string>
  155. </property>
  156. <property name="shortcut">
  157. <string>Ctrl+R</string>
  158. </property>
  159. </action>
  160. <action name="action_time_dock">
  161. <property name="text">
  162. <string>&amp;Time</string>
  163. </property>
  164. </action>
  165. <action name="action_playback_dock">
  166. <property name="text">
  167. <string>&amp;Playback</string>
  168. </property>
  169. </action>
  170. <action name="action_node_tree_dock">
  171. <property name="text">
  172. <string>&amp;Node tree</string>
  173. </property>
  174. </action>
  175. <action name="action_save">
  176. <property name="icon">
  177. <iconset theme="document-save">
  178. <normaloff>.</normaloff>.</iconset>
  179. </property>
  180. <property name="text">
  181. <string>&amp;Save</string>
  182. </property>
  183. <property name="shortcut">
  184. <string>Ctrl+S</string>
  185. </property>
  186. </action>
  187. <action name="action_about">
  188. <property name="text">
  189. <string>&amp;About</string>
  190. </property>
  191. </action>
  192. <action name="action_save_as">
  193. <property name="icon">
  194. <iconset theme="document-save-as">
  195. <normaloff>.</normaloff>.</iconset>
  196. </property>
  197. <property name="text">
  198. <string>S&amp;ave as..</string>
  199. </property>
  200. <property name="shortcut">
  201. <string>Ctrl+Shift+S</string>
  202. </property>
  203. </action>
  204. <action name="action_reload">
  205. <property name="text">
  206. <string>&amp;Reload</string>
  207. </property>
  208. <property name="shortcut">
  209. <string>F5</string>
  210. </property>
  211. </action>
  212. <action name="action_tool_mouse">
  213. <property name="icon">
  214. <iconset theme="input-mouse">
  215. <normaloff>.</normaloff>.</iconset>
  216. </property>
  217. <property name="text">
  218. <string>&amp;Mouse</string>
  219. </property>
  220. </action>
  221. <action name="action_tool_zoom">
  222. <property name="icon">
  223. <iconset theme="zoom">
  224. <normaloff>.</normaloff>.</iconset>
  225. </property>
  226. <property name="text">
  227. <string>&amp;Zoom</string>
  228. </property>
  229. </action>
  230. <action name="action_extra_style">
  231. <property name="checkable">
  232. <bool>true</bool>
  233. </property>
  234. <property name="checked">
  235. <bool>true</bool>
  236. </property>
  237. <property name="text">
  238. <string>Enable &amp;svg styling</string>
  239. </property>
  240. <property name="shortcut">
  241. <string>Ctrl+Shift+E</string>
  242. </property>
  243. </action>
  244. <action name="action_new">
  245. <property name="icon">
  246. <iconset theme="document-new">
  247. <normaloff>.</normaloff>.</iconset>
  248. </property>
  249. <property name="text">
  250. <string>&amp;New</string>
  251. </property>
  252. <property name="shortcut">
  253. <string>Ctrl+N</string>
  254. </property>
  255. </action>
  256. </widget>
  257. <customwidgets>
  258. <customwidget>
  259. <class>studio::Canvas</class>
  260. <extends>QGraphicsView</extends>
  261. <header location="global">widgets/canvas.h</header>
  262. </customwidget>
  263. </customwidgets>
  264. <resources>
  265. <include location="../resources.qrc"/>
  266. </resources>
  267. <connections/>
  268. </ui>