main_window.ui 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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. <widget class="QMenu" name="menu_edit">
  109. <property name="title">
  110. <string>Edit</string>
  111. </property>
  112. <addaction name="action_undo"/>
  113. <addaction name="action_redo"/>
  114. </widget>
  115. <addaction name="menu_file"/>
  116. <addaction name="menu_context"/>
  117. <addaction name="menu_edit"/>
  118. <addaction name="menu_view"/>
  119. <addaction name="menuTools"/>
  120. <addaction name="menu_dock"/>
  121. <addaction name="menu_help"/>
  122. </widget>
  123. <widget class="QStatusBar" name="statusbar"/>
  124. <widget class="QToolBar" name="tools_bar">
  125. <property name="windowTitle">
  126. <string>toolBar</string>
  127. </property>
  128. <attribute name="toolBarArea">
  129. <enum>LeftToolBarArea</enum>
  130. </attribute>
  131. <attribute name="toolBarBreak">
  132. <bool>false</bool>
  133. </attribute>
  134. <addaction name="action_tool_mouse"/>
  135. <addaction name="action_tool_zoom"/>
  136. </widget>
  137. <widget class="QToolBar" name="edit_toolbar">
  138. <property name="windowTitle">
  139. <string>toolBar_2</string>
  140. </property>
  141. <attribute name="toolBarArea">
  142. <enum>TopToolBarArea</enum>
  143. </attribute>
  144. <attribute name="toolBarBreak">
  145. <bool>false</bool>
  146. </attribute>
  147. <addaction name="action_undo"/>
  148. <addaction name="action_redo"/>
  149. </widget>
  150. <action name="action_quit">
  151. <property name="icon">
  152. <iconset theme="application-exit">
  153. <normaloff>.</normaloff>.</iconset>
  154. </property>
  155. <property name="text">
  156. <string>&amp;Quit</string>
  157. </property>
  158. <property name="shortcut">
  159. <string>Ctrl+Q</string>
  160. </property>
  161. </action>
  162. <action name="action_open">
  163. <property name="icon">
  164. <iconset theme="document-open">
  165. <normaloff>.</normaloff>.</iconset>
  166. </property>
  167. <property name="text">
  168. <string>&amp;Open</string>
  169. </property>
  170. <property name="shortcut">
  171. <string>Ctrl+O</string>
  172. </property>
  173. </action>
  174. <action name="action_render">
  175. <property name="text">
  176. <string>&amp;Render</string>
  177. </property>
  178. <property name="shortcut">
  179. <string>Ctrl+Shift+R</string>
  180. </property>
  181. </action>
  182. <action name="action_redraw">
  183. <property name="icon">
  184. <iconset theme="view-refresh">
  185. <normaloff>.</normaloff>.</iconset>
  186. </property>
  187. <property name="text">
  188. <string>&amp;Redraw</string>
  189. </property>
  190. <property name="shortcut">
  191. <string>Ctrl+R</string>
  192. </property>
  193. </action>
  194. <action name="action_time_dock">
  195. <property name="text">
  196. <string>&amp;Time</string>
  197. </property>
  198. </action>
  199. <action name="action_playback_dock">
  200. <property name="text">
  201. <string>&amp;Playback</string>
  202. </property>
  203. </action>
  204. <action name="action_node_tree_dock">
  205. <property name="text">
  206. <string>&amp;Node tree</string>
  207. </property>
  208. </action>
  209. <action name="action_save">
  210. <property name="icon">
  211. <iconset theme="document-save">
  212. <normaloff>.</normaloff>.</iconset>
  213. </property>
  214. <property name="text">
  215. <string>&amp;Save</string>
  216. </property>
  217. <property name="shortcut">
  218. <string>Ctrl+S</string>
  219. </property>
  220. </action>
  221. <action name="action_about">
  222. <property name="text">
  223. <string>&amp;About</string>
  224. </property>
  225. </action>
  226. <action name="action_save_as">
  227. <property name="icon">
  228. <iconset theme="document-save-as">
  229. <normaloff>.</normaloff>.</iconset>
  230. </property>
  231. <property name="text">
  232. <string>S&amp;ave as..</string>
  233. </property>
  234. <property name="shortcut">
  235. <string>Ctrl+Shift+S</string>
  236. </property>
  237. </action>
  238. <action name="action_reload">
  239. <property name="text">
  240. <string>&amp;Reload</string>
  241. </property>
  242. <property name="shortcut">
  243. <string>F5</string>
  244. </property>
  245. </action>
  246. <action name="action_tool_mouse">
  247. <property name="icon">
  248. <iconset theme="input-mouse">
  249. <normaloff>.</normaloff>.</iconset>
  250. </property>
  251. <property name="text">
  252. <string>&amp;Mouse</string>
  253. </property>
  254. </action>
  255. <action name="action_tool_zoom">
  256. <property name="icon">
  257. <iconset theme="zoom">
  258. <normaloff>.</normaloff>.</iconset>
  259. </property>
  260. <property name="text">
  261. <string>&amp;Zoom</string>
  262. </property>
  263. </action>
  264. <action name="action_extra_style">
  265. <property name="checkable">
  266. <bool>true</bool>
  267. </property>
  268. <property name="checked">
  269. <bool>true</bool>
  270. </property>
  271. <property name="text">
  272. <string>Enable &amp;svg styling</string>
  273. </property>
  274. <property name="shortcut">
  275. <string>Ctrl+Shift+E</string>
  276. </property>
  277. </action>
  278. <action name="action_new">
  279. <property name="icon">
  280. <iconset theme="document-new">
  281. <normaloff>.</normaloff>.</iconset>
  282. </property>
  283. <property name="text">
  284. <string>&amp;New</string>
  285. </property>
  286. <property name="shortcut">
  287. <string>Ctrl+N</string>
  288. </property>
  289. </action>
  290. <action name="action_undo">
  291. <property name="icon">
  292. <iconset theme="edit-undo"/>
  293. </property>
  294. <property name="text">
  295. <string>&amp;Undo</string>
  296. </property>
  297. <property name="shortcut">
  298. <string>Ctrl+Z</string>
  299. </property>
  300. </action>
  301. <action name="action_redo">
  302. <property name="icon">
  303. <iconset theme="edit-redo"/>
  304. </property>
  305. <property name="text">
  306. <string>&amp;Redo</string>
  307. </property>
  308. <property name="shortcut">
  309. <string>Ctrl+Shift+Z</string>
  310. </property>
  311. </action>
  312. </widget>
  313. <customwidgets>
  314. <customwidget>
  315. <class>studio::Canvas</class>
  316. <extends>QGraphicsView</extends>
  317. <header location="global">widgets/canvas.h</header>
  318. </customwidget>
  319. </customwidgets>
  320. <resources>
  321. <include location="../resources.qrc"/>
  322. </resources>
  323. <connections/>
  324. </ui>