WImportSin module

class WImportExcel(parent=None, data=None, verbose_name='', expected_shape=None)[source]

Bases: pyleecan.GUI.Tools.WImport.WImportExcel.Ui_WImportExcel.Ui_WImportExcel, PyQt5.QtWidgets.QWidget

Widget to define an ImportMatrixXls

import_name = 'Import from Excel'
import_type

alias of pyleecan.Classes.ImportMatrixXls.ImportMatrixXls

saveNeeded
dataTypeChanged
update()[source]

Fill the widget with the current value of the data

set_sheet_list()[source]

Complete the combobox with the sheet name from the Excel file

set_sheet()[source]

Change the current sheet selected

set_range()[source]

Change the range of data selected

s_table()[source]

display the data in a table

s_plot()[source]

display the data in a plot

s_convert()[source]

Convert data to ImportMatrixVal

is_excel_file(file_path)[source]

Check if the path is correct for an excel file