254 lines
7.4 KiB
XML
254 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>bimDialogClassification</class>
|
|
<widget class="QDialog" name="bimDialogClassification">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>629</width>
|
|
<height>516</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Classification manager</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="QGroupBox" name="groupMaterials">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>300</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Objects && Materials</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QCheckBox" name="onlyVisible">
|
|
<property name="text">
|
|
<string>Only visible objects</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Sort by:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="groupMode">
|
|
<item>
|
|
<property name="text">
|
|
<string>Alphabetical</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="format-text-direction-ltr">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>IFC type</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="application-drawing">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Material</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Model structure</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeWidget" name="treeObjects">
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
<property name="autoExpandDelay">
|
|
<number>-1</number>
|
|
</property>
|
|
<attribute name="headerCascadingSectionResizes">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<attribute name="headerDefaultSectionSize">
|
|
<number>200</number>
|
|
</attribute>
|
|
<attribute name="headerStretchLastSection">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Object / Material</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Class</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupClasses">
|
|
<property name="title">
|
|
<string>Available classification systems</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QComboBox" name="comboSystem">
|
|
<property name="toolTip">
|
|
<string>Classification systems found on this computer</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeWidget" name="treeClass">
|
|
<attribute name="headerVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonApply">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Apply the selected class to selected materials</string>
|
|
</property>
|
|
<property name="text">
|
|
<string><< Apply to selected</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonRename">
|
|
<property name="toolTip">
|
|
<string>Use this class as material name</string>
|
|
</property>
|
|
<property name="text">
|
|
<string><< Set as name</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkPrefix">
|
|
<property name="text">
|
|
<string>Prefix with class name when applying</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelDownload">
|
|
<property name="text">
|
|
<string>XML or IFC files of several classification systems can be downloaded from <a href="https://github.com/Moult/IfcClassification">https://github.com/Moult/IfcClassification</a> and placed in %s</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="openExternalLinks">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>bimDialogClassification</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>503</x>
|
|
<y>496</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>547</x>
|
|
<y>-18</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|