609 lines
16 KiB
XML
609 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>CWorldEditor</class>
|
|
<widget class="QMainWindow" name="CWorldEditor">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1280</width>
|
|
<height>720</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Prime World Editor</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<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="CEditorGLWidget" name="MainViewport" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1280</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>File</string>
|
|
</property>
|
|
<addaction name="ActionOpen"/>
|
|
<addaction name="ActionSave"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuWindow">
|
|
<property name="title">
|
|
<string>Window</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QMenu" name="menuModels">
|
|
<property name="title">
|
|
<string>Models</string>
|
|
</property>
|
|
<addaction name="actionOpen_model_viewer"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuEdit">
|
|
<property name="title">
|
|
<string>Edit</string>
|
|
</property>
|
|
<addaction name="ActionUndo"/>
|
|
<addaction name="ActionRedo"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuView">
|
|
<property name="title">
|
|
<string>View</string>
|
|
</property>
|
|
<widget class="QMenu" name="menuLighting">
|
|
<property name="title">
|
|
<string>Lighting</string>
|
|
</property>
|
|
<addaction name="ActionNoLighting"/>
|
|
<addaction name="ActionBasicLighting"/>
|
|
<addaction name="ActionWorldLighting"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuBloom">
|
|
<property name="title">
|
|
<string>Bloom</string>
|
|
</property>
|
|
<addaction name="ActionNoBloom"/>
|
|
<addaction name="ActionBloomMaps"/>
|
|
<addaction name="ActionBloom"/>
|
|
</widget>
|
|
<addaction name="ActionZoomOnSelection"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="ActionDrawWorld"/>
|
|
<addaction name="ActionDrawCollision"/>
|
|
<addaction name="ActionDrawObjects"/>
|
|
<addaction name="ActionDrawLights"/>
|
|
<addaction name="ActionDrawSky"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="menuLighting"/>
|
|
<addaction name="menuBloom"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="ActionDisableBackfaceCull"/>
|
|
<addaction name="ActionDisableAlpha"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuTools">
|
|
<property name="title">
|
|
<string>Tools</string>
|
|
</property>
|
|
<addaction name="ActionEditLayers"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuEdit"/>
|
|
<addaction name="menuTools"/>
|
|
<addaction name="menuView"/>
|
|
<addaction name="menuModels"/>
|
|
<addaction name="menuWindow"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<widget class="QToolBar" name="Toolbar">
|
|
<property name="windowTitle">
|
|
<string>toolBar_2</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="ActionOpen"/>
|
|
<addaction name="ActionSave"/>
|
|
</widget>
|
|
<widget class="QDockWidget" name="MainDock">
|
|
<property name="features">
|
|
<set>QDockWidget::DockWidgetMovable</set>
|
|
</property>
|
|
<property name="allowedAreas">
|
|
<set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string/>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>2</number>
|
|
</attribute>
|
|
<widget class="QWidget" name="MainDockContents">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QFrame" name="SelectionInfoFrame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="midLineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="leftMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="SelectionInfoLabel">
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="midLineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTabWidget" name="TabWidget">
|
|
<property name="tabPosition">
|
|
<enum>QTabWidget::North</enum>
|
|
</property>
|
|
<property name="tabShape">
|
|
<enum>QTabWidget::Rounded</enum>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="documentMode">
|
|
<bool>false</bool>
|
|
</property>
|
|
<widget class="QWidget" name="CreateTab">
|
|
<attribute name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Create.png</normaloff>:/icons/EditorAssets/Create.png</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string/>
|
|
</attribute>
|
|
<attribute name="toolTip">
|
|
<string>Create</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QWidget" name="ModifyTab">
|
|
<attribute name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Modify.png</normaloff>:/icons/EditorAssets/Modify.png</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string/>
|
|
</attribute>
|
|
<attribute name="toolTip">
|
|
<string>Modify</string>
|
|
</attribute>
|
|
<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="WModifyTab" name="ModifyTabContents" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="InstancesTab">
|
|
<attribute name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Instances.png</normaloff>:/icons/EditorAssets/Instances.png</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string/>
|
|
</attribute>
|
|
<attribute name="toolTip">
|
|
<string>Instances</string>
|
|
</attribute>
|
|
<layout class="QHBoxLayout" name="InstancesTabLayout">
|
|
<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="WInstancesTab" name="InstancesTabContents" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="DisplayTab">
|
|
<attribute name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Display.png</normaloff>:/icons/EditorAssets/Display.png</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string/>
|
|
</attribute>
|
|
<attribute name="toolTip">
|
|
<string>Display</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QWidget" name="WorldTab">
|
|
<attribute name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/World.png</normaloff>:/icons/EditorAssets/World.png</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string/>
|
|
</attribute>
|
|
<attribute name="toolTip">
|
|
<string>World</string>
|
|
</attribute>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QToolBar" name="toolBar">
|
|
<property name="windowTitle">
|
|
<string>toolBar</string>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<addaction name="ActionLink"/>
|
|
<addaction name="ActionUnlink"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="ActionTranslate"/>
|
|
<addaction name="ActionRotate"/>
|
|
<addaction name="ActionScale"/>
|
|
</widget>
|
|
<action name="ActionOpen">
|
|
<property name="text">
|
|
<string>Open</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionSave">
|
|
<property name="text">
|
|
<string>Save</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionTranslate">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Translate.png</normaloff>:/icons/EditorAssets/Translate.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Translate</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Translate</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionRotate">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Rotate.png</normaloff>:/icons/EditorAssets/Rotate.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Rotate</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Rotate</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionScale">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Scale.png</normaloff>:/icons/EditorAssets/Scale.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Scale</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Scale</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionOpen_model_viewer">
|
|
<property name="text">
|
|
<string>Open Model Viewer</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionLink">
|
|
<property name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Link.png</normaloff>:/icons/EditorAssets/Link.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Link</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Link</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionUnlink">
|
|
<property name="icon">
|
|
<iconset resource="../Icons.qrc">
|
|
<normaloff>:/icons/EditorAssets/Unlink.png</normaloff>:/icons/EditorAssets/Unlink.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Unlink</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Unlink</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionUndo">
|
|
<property name="text">
|
|
<string>Undo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionRedo">
|
|
<property name="text">
|
|
<string>Redo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Y</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionDrawWorld">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>World</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>1</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionDrawCollision">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Collision</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>2</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionDrawObjects">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Objects</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>3</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionDrawLights">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Lights</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>4</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionDrawSky">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Sky</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>5</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionNoLighting">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>None</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+1</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionBasicLighting">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Basic</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Basic</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+2</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionWorldLighting">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>World</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+3</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionNoBloom">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>None</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionBloomMaps">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Bloom Maps</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionBloom">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Bloom</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionZoomOnSelection">
|
|
<property name="text">
|
|
<string>Zoom On Selection</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionDisableBackfaceCull">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Disable Backface Culling</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionDisableAlpha">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Disable Alpha</string>
|
|
</property>
|
|
</action>
|
|
<action name="ActionEditLayers">
|
|
<property name="text">
|
|
<string>Edit Layers</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>CEditorGLWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>CEditorGLWidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>WModifyTab</class>
|
|
<extends>QWidget</extends>
|
|
<header>WorldEditor/WModifyTab.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>WInstancesTab</class>
|
|
<extends>QWidget</extends>
|
|
<header>WorldEditor/WInstancesTab.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../Icons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|