Files
create/src/Mod/Fem/Gui/TaskFemConstraintHeatflux.ui
Ajinkya Dahale 43b0a03cee [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 64a95596459f8db6b5fce16a354913ac1d669344.
2022-05-01 12:01:31 +03:00

184 lines
5.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TaskFemConstraintHeatflux</class>
<widget class="QWidget" name="TaskFemConstraintHeatflux">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>238</height>
</rect>
</property>
<property name="windowTitle">
<string>TaskFemConstraintHeatflux</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="lbl_references">
<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"/>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QRadioButton" name="rb_convection">
<property name="text">
<string>Surface Convection</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="rb_dflux">
<property name="text">
<string>Surface heat flux</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QStackedWidget" name="sw_heatflux">
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="page">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="layoutFilmCoef">
<item>
<widget class="QLabel" name="lbl_filmcoef">
<property name="text">
<string>Film coefficient</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::InputField" name="if_filmcoef">
<property name="text">
<string>1 W/m^2/K</string>
</property>
<property name="unit" stdset="0">
<string notr="true">W/m^2/K</string>
</property>
<property name="quantity" stdset="0">
<double>1.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="layoutAmbientTemp">
<item>
<widget class="QLabel" name="lbl_ambienttemp">
<property name="text">
<string>Ambient Temperature</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::InputField" name="if_ambienttemp">
<property name="text">
<string>300 K</string>
</property>
<property name="unit" stdset="0">
<string notr="true">K</string>
</property>
<property name="quantity" stdset="0">
<double>300.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_2">
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Surface heat flux</string>
</property>
</widget>
</item>
<item>
<widget class="Gui::InputField" name="if_heatflux">
<property name="text">
<string>1 W/m^2</string>
</property>
<property name="unit" stdset="0">
<string notr="true">W/m^2/K</string>
</property>
<property name="quantity" stdset="0">
<double>1.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>Gui::InputField</class>
<extends>QLineEdit</extends>
<header>Gui/InputField.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>