581 lines
17 KiB
XML
581 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>SceneTree</class>
|
|
<widget class="QWidget" name="SceneTree">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>345</width>
|
|
<height>494</height>
|
|
</rect>
|
|
</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>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupSelection">
|
|
<property name="title">
|
|
<string>Selection</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QToolButton" name="buttonFocus">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Focus on selected</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/type-camera.png</normaloff>:/icons/type-camera.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>1</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonRemove">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Delete selected</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../qad/utils/qad_utils.qrc">
|
|
<normaloff>:/icons/edit-delete.png</normaloff>:/icons/edit-delete.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Preferred</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonClone">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Clone selected</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../qad/utils/qad_utils.qrc">
|
|
<normaloff>:/icons/edit-copy.png</normaloff>:/icons/edit-copy.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonGroup">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Group selected</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>G</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonSelectParent">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select parent</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/go-top.png</normaloff>:/icons/go-top.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonSelectByMesh">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select by mesh</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/type-geo.png</normaloff>:/icons/type-geo.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonSelectByMaterial">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select by material</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../qad/blockview/qad_blockview.qrc">
|
|
<normaloff>:/icons/format-fill-color.png</normaloff>:/icons/format-fill-color.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupAdd">
|
|
<property name="title">
|
|
<string>Add</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
<item>
|
|
<widget class="QToolButton" name="buttonAddNode">
|
|
<property name="toolTip">
|
|
<string>Add empty object</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/add-type-empty.png</normaloff>:/icons/add-type-empty.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonAddLight">
|
|
<property name="toolTip">
|
|
<string>Add light</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/add-type-light.png</normaloff>:/icons/add-type-light.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonAddCamera">
|
|
<property name="toolTip">
|
|
<string>Add camera</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/add-type-camera.png</normaloff>:/icons/add-type-camera.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupFilter">
|
|
<property name="title">
|
|
<string>Filter</string>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
</property>
|
|
<property name="labelAlignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Name:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="CLineEdit" name="lineFilter"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Types:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QWidget" name="widgetFilter" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<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="QToolButton" name="buttonFilterNode">
|
|
<property name="toolTip">
|
|
<string>Nodes</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/type-empty.png</normaloff>:/icons/type-empty.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonFilterMesh">
|
|
<property name="toolTip">
|
|
<string>Meshes</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/type-geo.png</normaloff>:/icons/type-geo.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonFilterLight">
|
|
<property name="toolTip">
|
|
<string>Lights</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/type-light.png</normaloff>:/icons/type-light.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonFilterCamera">
|
|
<property name="toolTip">
|
|
<string>Cameras</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/type-camera.png</normaloff>:/icons/type-camera.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>1</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupTree">
|
|
<property name="title">
|
|
<string>Tree</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="1" column="0">
|
|
<widget class="QToolButton" name="buttonExpand">
|
|
<property name="toolTip">
|
|
<string>Expand tree</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/expand.png</normaloff>:/icons/expand.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QToolButton" name="buttonUpdate">
|
|
<property name="toolTip">
|
|
<string>Force update</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../qcd_utils/pult/cdpult.qrc">
|
|
<normaloff>:/icons/view-refresh.png</normaloff>:/icons/view-refresh.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QToolButton" name="buttonCollapse">
|
|
<property name="toolTip">
|
|
<string>Collapse tree</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../qglview.qrc">
|
|
<normaloff>:/icons/collapse.png</normaloff>:/icons/collapse.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="InternalMoveTreeWidget" name="treeObjects">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::ActionsContextMenu</enum>
|
|
</property>
|
|
<property name="dragDropMode">
|
|
<enum>QAbstractItemView::InternalMove</enum>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
<property name="verticalScrollMode">
|
|
<enum>QAbstractItemView::ScrollPerPixel</enum>
|
|
</property>
|
|
<property name="uniformRowHeights">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="expandsOnDoubleClick">
|
|
<bool>false</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Vis</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Material</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>CLineEdit</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>clineedit.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>InternalMoveTreeWidget</class>
|
|
<extends>QTreeWidget</extends>
|
|
<header>treewidget_p.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../../qad/utils/qad_utils.qrc"/>
|
|
<include location="../../qad/blockview/qad_blockview.qrc"/>
|
|
<include location="../../qcd_utils/pult/cdpult.qrc"/>
|
|
<include location="../qglview.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonExpand</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>treeObjects</receiver>
|
|
<slot>expandAll()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>288</x>
|
|
<y>143</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>299</x>
|
|
<y>174</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonCollapse</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>treeObjects</receiver>
|
|
<slot>collapseAll()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>319</x>
|
|
<y>137</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>332</x>
|
|
<y>184</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonFocus</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>SceneTree</receiver>
|
|
<slot>focusObjects()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>26</x>
|
|
<y>37</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>17</x>
|
|
<y>27</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonRemove</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>SceneTree</receiver>
|
|
<slot>removeObjects()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>122</x>
|
|
<y>39</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>114</x>
|
|
<y>26</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>lineFilter</sender>
|
|
<signal>textChanged(QString)</signal>
|
|
<receiver>SceneTree</receiver>
|
|
<slot>filter()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>239</x>
|
|
<y>100</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>355</x>
|
|
<y>37</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonFilterNode</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>SceneTree</receiver>
|
|
<slot>filter()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>61</x>
|
|
<y>137</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>353</x>
|
|
<y>109</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonFilterMesh</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>SceneTree</receiver>
|
|
<slot>filter()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>95</x>
|
|
<y>140</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>357</x>
|
|
<y>146</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonFilterLight</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>SceneTree</receiver>
|
|
<slot>filter()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>135</x>
|
|
<y>135</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>353</x>
|
|
<y>173</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonFilterCamera</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>SceneTree</receiver>
|
|
<slot>filter()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>161</x>
|
|
<y>135</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>351</x>
|
|
<y>226</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>removeObjects()</slot>
|
|
<slot>focusObjects()</slot>
|
|
<slot>filter()</slot>
|
|
</slots>
|
|
</ui>
|