openblocks/editor/mainwindow.ui

430 lines
12 KiB
Plaintext
Raw Normal View History

<?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>
2025-01-17 23:13:42 +00:00
<width>1027</width>
<height>600</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
2024-12-01 11:26:14 +00:00
<widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout">
2024-12-01 23:14:42 +00:00
<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>
2024-12-01 11:26:14 +00:00
<item>
2024-12-01 12:08:45 +00:00
<widget class="MainGLWidget" name="mainWidget"/>
2024-12-01 11:26:14 +00:00
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2025-01-17 23:13:42 +00:00
<width>1027</width>
<height>22</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"/>
2025-01-17 23:13:42 +00:00
<widget class="QDockWidget" name="explorerWidget">
<property name="windowTitle">
<string>Explorer</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents">
2025-01-28 20:27:33 +00:00
<layout class="QVBoxLayout" name="verticalLayout_3">
2025-01-17 23:13:42 +00:00
<item>
<widget class="ExplorerView" name="explorerView"/>
2025-01-17 23:13:42 +00:00
</item>
</layout>
</widget>
</widget>
2025-01-28 20:27:33 +00:00
<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"/>
2025-02-05 22:57:02 +00:00
<addaction name="separator"/>
2025-03-08 21:16:21 +00:00
<addaction name="actionDelete"/>
<addaction name="actionCopy"/>
<addaction name="actionCut"/>
<addaction name="actionPaste"/>
<addaction name="actionPasteInto"/>
<addaction name="separator"/>
<addaction name="actionGridSnap1"/>
<addaction name="actionGridSnap05"/>
<addaction name="actionGridSnapOff"/>
<addaction name="separator"/>
2025-02-05 22:57:02 +00:00
<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>
2025-02-05 22:57:02 +00:00
<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>
<action name="actionGridSnap1">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset>
<normaloff>assets/icons/editor/snap1.png</normaloff>assets/icons/editor/snap1.png</iconset>
</property>
<property name="text">
<string>1-Stud Snapping</string>
</property>
<property name="toolTip">
<string>Set grid snapping to 1 stud</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="actionGridSnap05">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset>
<normaloff>assets/icons/editor/snap05.png</normaloff>assets/icons/editor/snap05.png</iconset>
</property>
<property name="text">
<string>1/2-Stud Snapping</string>
</property>
<property name="toolTip">
<string>Set grid snapping to 1/2 studs</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="actionGridSnapOff">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset>
<normaloff>assets/icons/editor/snapoff.png</normaloff>assets/icons/editor/snapoff.png</iconset>
</property>
<property name="text">
<string>No Grid Snapping</string>
</property>
<property name="toolTip">
<string>Turn grid snapping off</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
2025-03-08 21:16:21 +00:00
<action name="actionCopy">
<property name="icon">
<iconset theme="edit-copy"/>
</property>
<property name="text">
<string>Copy</string>
</property>
<property name="toolTip">
<string>Copy objects to clipboard</string>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="actionCut">
<property name="icon">
<iconset theme="edit-cut"/>
</property>
<property name="text">
<string>Cut</string>
</property>
<property name="toolTip">
<string>Cut objects into clipboard</string>
</property>
<property name="shortcut">
<string>Ctrl+X</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="actionPaste">
<property name="icon">
<iconset theme="edit-paste"/>
</property>
<property name="text">
<string>Paste</string>
</property>
<property name="toolTip">
<string>Paste objects from clipboard</string>
</property>
<property name="shortcut">
<string>Ctrl+V</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="actionPasteInto">
<property name="icon">
<iconset theme="edit-paste"/>
</property>
<property name="text">
<string>Paste Into</string>
</property>
<property name="toolTip">
<string>Paste objects from clipboard into selected object</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+V</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
<action name="actionDelete">
<property name="icon">
<iconset theme="edit-delete"/>
</property>
<property name="text">
<string>Delete Object</string>
</property>
<property name="toolTip">
<string>Delete selected objects</string>
</property>
<property name="shortcut">
<string>Del</string>
</property>
<property name="menuRole">
<enum>QAction::MenuRole::NoRole</enum>
</property>
</action>
</widget>
2024-12-01 11:26:14 +00:00
<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>
2025-01-28 20:27:33 +00:00
<customwidget>
<class>PropertiesView</class>
<extends>QTreeView</extends>
<header>panes/propertiesview.h</header>
</customwidget>
2024-12-01 11:26:14 +00:00
</customwidgets>
<resources/>
<connections/>
</ui>