* Display property from linked object, colored green, * Change DlgPropertyLink to support external linking and sub-object selection * Improve large selection performance by using a timer * Improve TAB key behavior in property editor * Add context menu to show hidden properties, change property status, set expression on any and property, and add/remove dynamic properties * Optimize expression completer model construction, as the original implementation gets prohibitively slow for moderate number of objects.
123 lines
3.0 KiB
XML
123 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>Gui::Dialog::DlgPropertyLink</class>
|
|
<widget class="QDialog" name="Gui::Dialog::DlgPropertyLink">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>436</width>
|
|
<height>438</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Link</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="6" column="0">
|
|
<widget class="QCheckBox" name="checkObjectType">
|
|
<property name="text">
|
|
<string>Filter by type</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QTreeWidget" name="treeWidget">
|
|
<property name="headerHidden">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="expandsOnDoubleClick">
|
|
<bool>false</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Search</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="searchBox">
|
|
<property name="toolTip">
|
|
<string>A search pattern to filter the results above</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QComboBox" name="comboBox"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QTreeWidget" name="typeTree">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
<property name="rootIsDecorated">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="headerVisible">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string notr="true">1</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>Gui::Dialog::DlgPropertyLink</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>128</x>
|
|
<y>406</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>128</x>
|
|
<y>213</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>Gui::Dialog::DlgPropertyLink</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>128</x>
|
|
<y>406</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>128</x>
|
|
<y>213</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|