All files contain the same add/remove buttons and a feature list. These common elements are moved into the TaskTransformedParameters.ui file. The same goes for the common OK Button that is used in a MultiTransform. The ui files for the patterns only contain their distinctive parameters. And the common ui files contain an empy widget that will be filled with the respective parameter widgets from the patterns.
81 lines
2.1 KiB
XML
81 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PartDesignGui::TaskTransformedParameters</class>
|
|
<widget class="QWidget" name="PartDesignGui::TaskTransformedParameters">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>262</width>
|
|
<height>207</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string notr="true">Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="buttonAddFeature">
|
|
<property name="text">
|
|
<string>Add feature</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="buttonRemoveFeature">
|
|
<property name="text">
|
|
<string>Remove feature</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="listWidgetFeatures">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>120</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>List can be reordered by dragging</string>
|
|
</property>
|
|
<property name="dragDropMode">
|
|
<enum>QAbstractItemView::InternalMove</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="featureUI" native="true"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="checkBoxUpdateView">
|
|
<property name="text">
|
|
<string>Update view</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>buttonAddFeature</tabstop>
|
|
<tabstop>buttonRemoveFeature</tabstop>
|
|
<tabstop>listWidgetFeatures</tabstop>
|
|
<tabstop>checkBoxUpdateView</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|