FEM: Show material description below combo box
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
97f5f76433
commit
343225dcc2
|
@ -188,6 +188,10 @@ class _MechanicalMaterialTaskPanel:
|
|||
self.obj.Material = Material.importFCMat(str(name))
|
||||
self.form.comboBox_MaterialsInDir.setCurrentIndex(index)
|
||||
self.set_mat_params_in_combo_box(self.obj.Material)
|
||||
gen_mat_desc = ""
|
||||
if 'General_description' in self.obj.Material:
|
||||
gen_mat_desc = self.obj.Material['General_description']
|
||||
self.form.l_mat_description.setText(gen_mat_desc)
|
||||
self.print_mat_data(self.obj.Material)
|
||||
|
||||
def add_mat_dir(self, mat_dir, icon):
|
||||
|
|
|
@ -117,6 +117,16 @@
|
|||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="l_mat_description">
|
||||
<property name="text">
|
||||
<string>Material Description</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
|
|
Loading…
Reference in New Issue
Block a user