Files
create/src/Mod/Fem/Gui/TaskFemConstraintDisplacement.ui
Ajinkya Dahale 40083d2b85 [FEM] Expand Add/Remove buttons in constraint tasks
Minor UI improvement. The behavior had changed when the buttons were changed
from `QPushButton` to `QToolButton` in c558fc7195.
2022-05-01 12:01:31 +03:00

330 lines
8.7 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>641</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="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>
<widget class="QListWidget" name="lw_references">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
</size>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="dispx">
<property name="text">
<string>Displacement x</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QCheckBox" name="dispxfree">
<property name="text">
<string>Free</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="dispxfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spinxDisplacement"/>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="dispy">
<property name="text">
<string>Displacement y</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
<widget class="QCheckBox" name="dispyfree">
<property name="text">
<string>Free</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="dispyfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spinyDisplacement"/>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="dispz">
<property name="text">
<string>Displacement z</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<widget class="QCheckBox" name="dispzfree">
<property name="text">
<string>Free</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="dispzfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spinzDisplacement"/>
</item>
</layout>
</item>
</layout>
</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>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="rotx">
<property name="text">
<string>Rotation x</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QCheckBox" name="rotxfree">
<property name="text">
<string>Free</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="rotxfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spinxRotation"/>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="roty">
<property name="text">
<string>Rotation y</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QCheckBox" name="rotyfree">
<property name="text">
<string>Free</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="rotyfix">
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spinyRotation"/>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="rotz">
<property name="text">
<string>Rotation z</string>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="rotzfree">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Free</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="rotzfix">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Fixed</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spinzRotation">
<property name="enabled">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>