pyleecan.GUI.Tools.WImport.WImportExcel.WImportExcel module

class WImportExcel(parent=None, data=None, plot_title=None, expected_shape=None, load_path=None, nb_cols=None, headers=None)[source]

Bases: Ui_WImportExcel, QDialog

Widget to define an ImportMatrixXls

import_name = 'Import from Excel'
import_type

alias of 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_convert()[source]

Convert data to ImportMatrixVal

save()[source]

Update the data before closing

cancel()[source]

Close

staticMetaObject = <PySide2.QtCore.QMetaObject object>
is_excel_file(file_path)[source]

Check if the path is correct for an excel file