Files
create/src/Mod/Fem/ShowDisplacement.ui
Przemo Firszt 12a9f98fc7 FEM: Enable displacement related elements on "Show" only
Displacement related elements (factor, slider max and the slider itself)
are now only active when "Show" is selected. Previously they were active
even when "Show" wasn't checked and it was potentially confusing for the
user as nothing was changing when chacnging slider settings.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-04-09 19:45:08 +02:00

295 lines
7.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ShowDisplacement</class>
<widget class="QWidget" name="ShowDisplacement">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>203</width>
<height>379</height>
</rect>
</property>
<property name="windowTitle">
<string>Show result</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox_Color">
<property name="title">
<string>Colors</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QComboBox" name="comboBox_Type">
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Avg:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="Gui::InputField" name="lineEdit_Avg">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Max:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Gui::InputField" name="lineEdit_Max">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Min:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Gui::InputField" name="lineEdit_Min">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="unit" stdset="0">
<string>mm</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Displacement</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="checkBox_ShowDisplacement">
<property name="text">
<string>Show</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label_3">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Factor:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_DisplacementFactor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="maximum">
<number>99999</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_7">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Slider max:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox_SliderFactor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="maximum">
<number>99999</number>
</property>
<property name="singleStep">
<number>10</number>
</property>
<property name="value">
<number>100</number>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QScrollBar" name="horizontalScrollBar_Factor">
<property name="enabled">
<bool>false</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>240</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>Gui::InputField</class>
<extends>QLineEdit</extends>
<header>Gui/InputField.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>checkBox_ShowDisplacement</sender>
<signal>toggled(bool)</signal>
<receiver>label_3</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>90</x>
<y>232</y>
</hint>
<hint type="destinationlabel">
<x>68</x>
<y>269</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_ShowDisplacement</sender>
<signal>toggled(bool)</signal>
<receiver>spinBox_DisplacementFactor</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>112</x>
<y>240</y>
</hint>
<hint type="destinationlabel">
<x>124</x>
<y>269</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_ShowDisplacement</sender>
<signal>toggled(bool)</signal>
<receiver>label_7</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>95</x>
<y>238</y>
</hint>
<hint type="destinationlabel">
<x>86</x>
<y>309</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_ShowDisplacement</sender>
<signal>toggled(bool)</signal>
<receiver>spinBox_SliderFactor</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>161</x>
<y>237</y>
</hint>
<hint type="destinationlabel">
<x>159</x>
<y>302</y>
</hint>
</hints>
</connection>
<connection>
<sender>checkBox_ShowDisplacement</sender>
<signal>toggled(bool)</signal>
<receiver>horizontalScrollBar_Factor</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>48</x>
<y>241</y>
</hint>
<hint type="destinationlabel">
<x>36</x>
<y>345</y>
</hint>
</hints>
</connection>
</connections>
</ui>