123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- <?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>{status}{file} - RainyNite {version} "{codename}"</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="rainynite::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_render">
- <property name="title">
- <string>&Render</string>
- </property>
- <addaction name="action_render"/>
- <addaction name="action_render_frame"/>
- <addaction name="action_stop_render"/>
- <addaction name="separator"/>
- <addaction name="action_extra_style"/>
- <addaction name="action_auto_redraw"/>
- </widget>
- <widget class="QMenu" name="menu_view">
- <property name="title">
- <string>&View</string>
- </property>
- <addaction name="action_redraw"/>
- <addaction name="action_mirror"/>
- </widget>
- <widget class="QMenu" name="menu_dock">
- <property name="title">
- <string>Add &dock</string>
- </property>
- </widget>
- <widget class="QMenu" name="menu_help">
- <property name="title">
- <string>&Help</string>
- </property>
- <addaction name="action_about"/>
- </widget>
- <widget class="QMenu" name="menu_edit">
- <property name="title">
- <string>&Edit</string>
- </property>
- <addaction name="action_undo"/>
- <addaction name="action_redo"/>
- </widget>
- <widget class="QMenu" name="menu_actions">
- <property name="title">
- <string>&Actions</string>
- </property>
- </widget>
- <addaction name="menu_file"/>
- <addaction name="menu_edit"/>
- <addaction name="menu_view"/>
- <addaction name="menu_render"/>
- <addaction name="menu_actions"/>
- <addaction name="menu_dock"/>
- <addaction name="menu_help"/>
- </widget>
- <widget class="QToolBar" name="file_toolbar">
- <property name="windowTitle">
- <string>File</string>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="action_new"/>
- <addaction name="action_open"/>
- <addaction name="action_save"/>
- <addaction name="action_save_as"/>
- </widget>
- <widget class="QToolBar" name="edit_toolbar">
- <property name="windowTitle">
- <string>Edit</string>
- </property>
- <attribute name="toolBarArea">
- <enum>TopToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- <addaction name="action_undo"/>
- <addaction name="action_redo"/>
- </widget>
- <widget class="QToolBar" name="tools_bar">
- <property name="windowTitle">
- <string>Tools</string>
- </property>
- <attribute name="toolBarArea">
- <enum>LeftToolBarArea</enum>
- </attribute>
- <attribute name="toolBarBreak">
- <bool>false</bool>
- </attribute>
- </widget>
- <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>Alt+R</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_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>
- <action name="action_undo">
- <property name="icon">
- <iconset theme="edit-undo">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Undo</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Z</string>
- </property>
- </action>
- <action name="action_redo">
- <property name="icon">
- <iconset theme="edit-redo">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Redo</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Shift+Z</string>
- </property>
- </action>
- <action name="action_render_frame">
- <property name="text">
- <string>Render this &frame</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+R</string>
- </property>
- </action>
- <action name="action_stop_render">
- <property name="icon">
- <iconset theme="process-stop">
- <normaloff>.</normaloff>.</iconset>
- </property>
- <property name="text">
- <string>&Stop</string>
- </property>
- </action>
- <action name="action_auto_redraw">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>Enable &auto-redraw</string>
- </property>
- <property name="toolTip">
- <string>Disable this if rendering starts to happen at unfortunate times.</string>
- </property>
- </action>
- <action name="action_mirror">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="text">
- <string>&Mirror</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>rainynite::studio::Canvas</class>
- <extends>QGraphicsView</extends>
- <header location="global">widgets/canvas.h</header>
- </customwidget>
- </customwidgets>
- <resources>
- <include location="../resources.qrc"/>
- </resources>
- <connections/>
- </ui>
|