281 lines
7.4 KiB
XML
281 lines
7.4 KiB
XML
<?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>1027</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<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="MainGLWidget" name="mainWidget"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1027</width>
|
|
<height>29</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QMenu" name="menuEdit">
|
|
<property name="title">
|
|
<string>Edit</string>
|
|
</property>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuEdit"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<widget class="QDockWidget" name="explorerWidget">
|
|
<property name="windowTitle">
|
|
<string>Explorer</string>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>2</number>
|
|
</attribute>
|
|
<widget class="QWidget" name="dockWidgetContents">
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="ExplorerView" name="explorerView"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QDockWidget" name="propertiesWidget">
|
|
<property name="windowTitle">
|
|
<string>Properties</string>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>2</number>
|
|
</attribute>
|
|
<widget class="QWidget" name="dockWidgetContents_2">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="PropertiesView" name="propertiesView"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBar">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>toolBar</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionNew"/>
|
|
<addaction name="actionOpen"/>
|
|
<addaction name="actionSave"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionAddPart"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionToolSelect"/>
|
|
<addaction name="actionToolMove"/>
|
|
<addaction name="actionToolScale"/>
|
|
<addaction name="actionToolRotate"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionToggleSimulation"/>
|
|
</widget>
|
|
<action name="actionAddPart">
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>assets/icons/part.png</normaloff>assets/icons/part.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add Part</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Add a part to the workspace</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNew">
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>assets/icons/editor/new.png</normaloff>assets/icons/editor/new.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>New</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>New document</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionOpen">
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>assets/icons/editor/open.png</normaloff>assets/icons/editor/open.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Open document</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+O</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSave">
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>assets/icons/editor/save.png</normaloff>assets/icons/editor/save.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save document</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionToolSelect">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="edit-select">
|
|
<normaloff>assets/icons/editor/drag.png</normaloff>assets/icons/editor/drag.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Select Objects</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select objects in the workspace</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionToolMove">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="transform-move"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Move Objects</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Move objects in the workspace</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>2</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionToolScale">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="transform-scale"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Scale Objects</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Scale objects in the workspace</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>3</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionToolRotate">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="transform-rotate"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Rotate Objects</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Rotate objects in the workspace</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>4</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionToggleSimulation">
|
|
<property name="icon">
|
|
<iconset theme="media-playback-start"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Start Simulation</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Start the simulation</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F5</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>MainGLWidget</class>
|
|
<extends>QOpenGLWidget</extends>
|
|
<header>mainglwidget.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ExplorerView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>panes/explorerview.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>PropertiesView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>panes/propertiesview.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|