pyleecan.GUI.Tools.WTableData.DTableData module

class DTableData(parent=None, data=None, Vmin=- 999999999, Vmax=999999999, title=None, shape_min=(1, 1), shape_max=(None, None), col_header=None, unit_order=None, button_plot_title='')[source]

Bases: Ui_DTableData, QDialog

saveNeeded
update()[source]

Update the Widget according to the current data

clear()[source]
update_tab()[source]

Update the Table to display the current data + setup edit

set_Nrow()[source]

Change the number of row

set_Ncol()[source]

Change the number of column

get_data()[source]

Return the current data matrix

setEnabled_widgets(isEnabled)[source]
export_csv()[source]

Write the current table data into a csv file

import_csv()[source]

Import the data from a csv file and update the tavle

validate_wimport_excel()[source]

UPDATE THE DATA IN THE TAB

verif_shape_data(shape)[source]

Verif if the data has the right shape

s_plot()[source]

display the data in a plot

accept()[source]

Update the data before closing

emit_save()[source]

Send a saveNeeded signal to the DMachineSetup

staticMetaObject = <PySide2.QtCore.QMetaObject object>