Files
qglengine/widgets/scene_tree.ui
2020-08-25 21:57:31 +03:00

426 lines
11 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>442</width>
<height>606</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_5">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Filter:</string>
</property>
</widget>
</item>
<item>
<widget class="CLineEdit" name="lineFilter"/>
</item>
<item>
<widget class="QToolButton" name="buttonFilter">
<property name="icon">
<iconset resource="../../qad/widgets/qad_widgets.qrc">
<normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<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>
<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>
</item>
<item>
<widget class="QLabel" name="labelCounts">
<property name="text">
<string/>
</property>
</widget>
</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>
<action name="actionFocus">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-camera.png</normaloff>:/icons/type-camera.png</iconset>
</property>
<property name="text">
<string>Focus</string>
</property>
</action>
<action name="actionRemove">
<property name="icon">
<iconset resource="../../qad/utils/qad_utils.qrc">
<normaloff>:/icons/edit-delete.png</normaloff>:/icons/edit-delete.png</iconset>
</property>
<property name="text">
<string>Remove</string>
</property>
</action>
<action name="actionClone">
<property name="icon">
<iconset resource="../../qad/utils/qad_utils.qrc">
<normaloff>:/icons/edit-copy.png</normaloff>:/icons/edit-copy.png</iconset>
</property>
<property name="text">
<string>Clone</string>
</property>
</action>
<action name="actionGroup">
<property name="icon">
<iconset resource="widgets.qrc">
<normaloff>:/icons/group.png</normaloff>:/icons/group.png</iconset>
</property>
<property name="text">
<string>Group</string>
</property>
</action>
<action name="actionSelect_parent">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/go-top.png</normaloff>:/icons/go-top.png</iconset>
</property>
<property name="text">
<string>Select parent</string>
</property>
</action>
<action name="actionSelect_by_mesh">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-geo.png</normaloff>:/icons/type-geo.png</iconset>
</property>
<property name="text">
<string>Select by mesh</string>
</property>
</action>
<action name="actionSelect_by_material">
<property name="icon">
<iconset resource="../../qad/blockview/qad_blockview.qrc">
<normaloff>:/icons/format-fill-color.png</normaloff>:/icons/format-fill-color.png</iconset>
</property>
<property name="text">
<string>Select by material</string>
</property>
</action>
<action name="actionAdd_node">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/add-type-empty.png</normaloff>:/icons/add-type-empty.png</iconset>
</property>
<property name="text">
<string>Add node</string>
</property>
</action>
<action name="actionAdd_light">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/add-type-light.png</normaloff>:/icons/add-type-light.png</iconset>
</property>
<property name="text">
<string>Add light</string>
</property>
</action>
<action name="actionAdd_camera">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/add-type-camera.png</normaloff>:/icons/add-type-camera.png</iconset>
</property>
<property name="text">
<string>Add camera</string>
</property>
</action>
<action name="actionFilter_node">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-empty.png</normaloff>:/icons/type-empty.png</iconset>
</property>
<property name="text">
<string>Nodes</string>
</property>
</action>
<action name="actionFilter_mesh">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-geo.png</normaloff>:/icons/type-geo.png</iconset>
</property>
<property name="text">
<string>Meshes</string>
</property>
</action>
<action name="actionFilter_light">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-light.png</normaloff>:/icons/type-light.png</iconset>
</property>
<property name="text">
<string>Lights</string>
</property>
</action>
<action name="actionFilter_camera">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-camera.png</normaloff>:/icons/type-camera.png</iconset>
</property>
<property name="text">
<string>Cameras</string>
</property>
</action>
<action name="actionTransfer_transform_to_children">
<property name="text">
<string>Transfer transform to children</string>
</property>
</action>
<action name="actionActive_camera">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-camera.png</normaloff>:/icons/type-camera.png</iconset>
</property>
<property name="text">
<string>Active camera</string>
</property>
</action>
<action name="actionDefault_camera">
<property name="icon">
<iconset resource="../qglview.qrc">
<normaloff>:/icons/type-camera.png</normaloff>:/icons/type-camera.png</iconset>
</property>
<property name="text">
<string>Default camera</string>
</property>
</action>
</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/widgets/qad_widgets.qrc"/>
<include location="../../qad/blockview/qad_blockview.qrc"/>
<include location="widgets.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>395</x>
<y>164</y>
</hint>
<hint type="destinationlabel">
<x>299</x>
<y>359</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonCollapse</sender>
<signal>clicked()</signal>
<receiver>treeObjects</receiver>
<slot>collapseAll()</slot>
<hints>
<hint type="sourcelabel">
<x>427</x>
<y>164</y>
</hint>
<hint type="destinationlabel">
<x>332</x>
<y>369</y>
</hint>
</hints>
</connection>
<connection>
<sender>lineFilter</sender>
<signal>textChanged(QString)</signal>
<receiver>SceneTree</receiver>
<slot>filter()</slot>
<hints>
<hint type="sourcelabel">
<x>273</x>
<y>130</y>
</hint>
<hint type="destinationlabel">
<x>355</x>
<y>37</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionFilter_camera</sender>
<signal>toggled(bool)</signal>
<receiver>SceneTree</receiver>
<slot>filter()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>414</x>
<y>302</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionFilter_mesh</sender>
<signal>toggled(bool)</signal>
<receiver>SceneTree</receiver>
<slot>filter()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>414</x>
<y>302</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionFilter_light</sender>
<signal>toggled(bool)</signal>
<receiver>SceneTree</receiver>
<slot>filter()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>414</x>
<y>302</y>
</hint>
</hints>
</connection>
<connection>
<sender>actionFilter_node</sender>
<signal>toggled(bool)</signal>
<receiver>SceneTree</receiver>
<slot>filter()</slot>
<hints>
<hint type="sourcelabel">
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel">
<x>414</x>
<y>302</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>removeObjects()</slot>
<slot>focusObjects()</slot>
<slot>filter()</slot>
</slots>
</ui>