Files
create/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.ui
2023-04-20 22:39:37 +02:00

450 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TaskFemConstraintDisplacement</class>
<widget class="QWidget" name="TaskFemConstraintDisplacement">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>649</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>400</width>
<height>800</height>
</size>
</property>
<property name="windowTitle">
<string>Prescribed Displacement</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="lbl_info">
<property name="text">
<string>Select multiple face(s), click Add or Remove</string>
</property>
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<layout class="QHBoxLayout" name="hLayout1">
<item>
<widget class="QToolButton" name="btnAdd">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Add</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnRemove">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Remove</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<widget class="QListWidget" name="lw_references">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>100</height>
</size>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="DisplacementXGB">
<property name="title">
<string>Displacement x</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="0">
<widget class="QLineEdit" name="DisplacementXFormulaLE"/>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="dispxfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="DisplacementXFormulaCB">
<property name="toolTip">
<string>Formulas are only valid
for the Elmer solver</string>
</property>
<property name="text">
<string>Formula</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="Gui::QuantitySpinBox" name="spinxDisplacement">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="DisplacementYGB">
<property name="title">
<string>Displacement y</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="0">
<widget class="QLineEdit" name="DisplacementYFormulaLE"/>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="DisplacementYFormulaCB">
<property name="toolTip">
<string>Formulas are only valid
for the Elmer solver</string>
</property>
<property name="text">
<string>Formula</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="dispyfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="Gui::QuantitySpinBox" name="spinyDisplacement">
<property name="unit" stdset="0">
<string notr="true">mm</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="DisplacementZGB">
<property name="title">
<string>Displacement z</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="2" column="0">
<widget class="QLineEdit" name="DisplacementZFormulaLE"/>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="dispzfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="DisplacementZFormulaCB">
<property name="toolTip">
<string>Formulas are only valid
for the Elmer solver</string>
</property>
<property name="text">
<string>Formula</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="Gui::QuantitySpinBox" name="spinzDisplacement">
<property name="unit" stdset="0">
<string>mm</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="FlowForceCB">
<property name="toolTip">
<string>Flow solution is used to determine
surface force (and thus displacement)
generated by the flow
(Option only applies for Elmer solver)</string>
</property>
<property name="text">
<string>Surface force by flow</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
<width>400</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Rotations are only valid for Beam and Shell elements.</string>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="RotationXGB">
<property name="title">
<string>Rotation x</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="1">
<widget class="QCheckBox" name="rotxfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="Gui::QuantitySpinBox" name="spinxRotation">
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="RotationYGB">
<property name="title">
<string>Rotation y</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="1">
<widget class="QCheckBox" name="rotyfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="Gui::QuantitySpinBox" name="spinyRotation">
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="RotationZGB">
<property name="title">
<string>Rotation z</string>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="1">
<widget class="QCheckBox" name="rotzfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="Gui::QuantitySpinBox" name="spinzRotation">
<property name="unit" stdset="0">
<string notr="true">deg</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>Gui::QuantitySpinBox</class>
<extends>QWidget</extends>
<header>Gui/QuantitySpinBox.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>FlowForceCB</sender>
<signal>toggled(bool)</signal>
<receiver>RotationXGB</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>149</x>
<y>394</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>463</y>
</hint>
</hints>
</connection>
<connection>
<sender>FlowForceCB</sender>
<signal>toggled(bool)</signal>
<receiver>DisplacementXGB</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>149</x>
<y>394</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>170</y>
</hint>
</hints>
</connection>
<connection>
<sender>FlowForceCB</sender>
<signal>toggled(bool)</signal>
<receiver>DisplacementYGB</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>149</x>
<y>394</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>255</y>
</hint>
</hints>
</connection>
<connection>
<sender>FlowForceCB</sender>
<signal>toggled(bool)</signal>
<receiver>DisplacementZGB</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>149</x>
<y>394</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>340</y>
</hint>
</hints>
</connection>
<connection>
<sender>FlowForceCB</sender>
<signal>toggled(bool)</signal>
<receiver>RotationYGB</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>149</x>
<y>394</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>522</y>
</hint>
</hints>
</connection>
<connection>
<sender>FlowForceCB</sender>
<signal>toggled(bool)</signal>
<receiver>RotationZGB</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>149</x>
<y>394</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>581</y>
</hint>
</hints>
</connection>
</connections>
</ui>