123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>613</width>
- <height>495</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>RainyNite [construction zone]</string>
- </property>
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="dockNestingEnabled">
- <bool>true</bool>
- </property>
- <widget class="QWidget" name="central_widget">
- <property name="styleSheet">
- <string notr="true">#central_widget { background-image: url(:/images/transparency.png); }
- #canvas { background: transparent; }</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="studio::Canvas" name="canvas">
- <property name="styleSheet">
- <string notr="true"/>
- </property>
- <property name="lineWidth">
- <number>0</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>613</width>
- <height>27</height>
- </rect>
- </property>
- <widget class="QMenu" name="menu_file">
- <property name="title">
- <string>&File</string>
- </property>
- <addaction name="action_new"/>
- <addaction name="action_open"/>
- <addaction name="action_reload"/>
- <addaction name="separator"/>
- <addaction name="action_save"/>
- <addaction name="action_save_as"/>
- <addaction name="separator"/>
- <addaction name="action_quit"/>
- </widget>
- <widget class="QMenu" name="menu_context">
- <property name="title">
- <string>&Context</string>
- </property>
- <addaction name="action_render"/>
- <addaction name="action_extra_style"/>
- </widget>
- <widget class="QMenu" name="menu_view">
- <property name="title">
- <string>&View</string>
- </property>
- <addaction name="action_redraw"/>
- </widget>
- <widget class="QMenu" name="menu_dock">
- <property name="title">
- <string>Add &dock</string>
- </property>
- <addaction name="action_time_dock"/>
- <addaction name="action_playback_dock"/>
- <addaction name="action_node_tree_dock"/>
- </widget>
- <widget class="QMenu" name="menu_help">
- <property name="title">
- <string>&Help</string>
- </property>
- <addaction name="action_about"/>
- </widget>
- <widget class="QMenu" name="menuTools">
- <property name="title">
- <string>&Tools</string>
- </property>
- <addaction name="action_tool_mouse"/>
- <addaction name="action_tool_zoom"/>
- </widget>
- <addaction name="menu_file"/>
- <addaction name="menu_context"/>
- <addaction name="menu_view"/>
- <addaction name="menuTools"/>
- <addaction name="menu_dock"/>
- <addaction name="menu_help"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="action_quit">
- <property name="icon">
- <iconset theme="application-exit">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Quit</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Q</string>
- </property>
- </action>
- <action name="action_open">
- <property name="icon">
- <iconset theme="document-open">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Open</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+O</string>
- </property>
- </action>
- <action name="action_render">
- <property name="text">
- <string>&Render</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+R</string>
- </property>
- </action>
- <action name="action_redraw">
- <property name="icon">
- <iconset theme="view-refresh">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Redraw</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+R</string>
- </property>
- </action>
- <action name="action_time_dock">
- <property name="text">
- <string>&Time</string>
- </property>
- </action>
- <action name="action_playback_dock">
- <property name="text">
- <string>&Playback</string>
- </property>
- </action>
- <action name="action_node_tree_dock">
- <property name="text">
- <string>&Node tree</string>
- </property>
- </action>
- <action name="action_save">
- <property name="icon">
- <iconset theme="document-save">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Save</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+S</string>
- </property>
- </action>
- <action name="action_about">
- <property name="text">
- <string>&About</string>
- </property>
- </action>
- <action name="action_save_as">
- <property name="icon">
- <iconset theme="document-save-as">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>S&ave as..</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+S</string>
- </property>
- </action>
- <action name="action_reload">
- <property name="text">
- <string>&Reload</string>
- </property>
- <property name="shortcut">
- <string>F5</string>
- </property>
- </action>
- <action name="action_tool_mouse">
- <property name="icon">
- <iconset theme="input-mouse">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Mouse</string>
- </property>
- </action>
- <action name="action_tool_zoom">
- <property name="icon">
- <iconset theme="zoom">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Zoom</string>
- </property>
- </action>
- <action name="action_extra_style">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Enable &svg styling</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+E</string>
- </property>
- </action>
- <action name="action_new">
- <property name="icon">
- <iconset theme="document-new">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&New</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+N</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>studio::Canvas</class>
- <extends>QGraphicsView</extends>
- <header location="global">widgets/canvas.h</header>
- </customwidget>
- </customwidgets>
- <resources>
- <include location="../resources.qrc"/>
- </resources>
- <connections/>
- </ui>
|