UI.inputTable module¶
Module to common data entry
InputTable: Table data input dialogInputTableWidget: Composite widget for data inputInputTableDialog: Dialog for table dataeqDIPPR: Widget for select DIPPR equation
- class UI.inputTable.eqDIPPR(value, parent=None)[source]¶
Bases:
QWidgetCustom widget to define DIPPR equation input
- Attributes:
valueReturn value of widget
Methods
clear()Clear widget value
setValue(value)Set value property of widget
- property value¶
Return value of widget
- class UI.inputTable.InputTable(columns, data=None, t=None, prop=None, unit=None, parent=None, **kwargs)[source]¶
Bases:
TablaTable data input dialog
- Attributes:
dataTable data
Methods
editUnit(col)Show dialog to config input unit
getUnifiedColumn(column[, magnitud, unit])column: column to get magnitud: magnitud to get the values unit: unit of the values in table
updateHeader(col, oldunittxt)Change the text in header
- __init__(columns, data=None, t=None, prop=None, unit=None, parent=None, **kwargs)[source]¶
data: mrray with original data t: values for x column, generally temperature prop: values for 2…n columns horizontalHeader: List with column title unit: List of unidades subclasses for column definition
- property data¶
Table data
- class UI.inputTable.InputTableWidget(columns, data=None, t=None, prop=None, horizontalHeader=None, title='', DIPPR=False, hasTc=False, Tc=None, eqDIPPR=1, unit=None, parent=None)[source]¶
Bases:
QWidgetComposite widget for data input
- Attributes:
dataTable data
Methods
delete()Clear table
open()Load data from a test file
save()Save currend data of table to a file
showTc(value)Show/hide Tc widget
- __init__(columns, data=None, t=None, prop=None, horizontalHeader=None, title='', DIPPR=False, hasTc=False, Tc=None, eqDIPPR=1, unit=None, parent=None)[source]¶
data: mrray with original data t: values for x column, generally temperature prop: values for 2…n columns horizontalHeader: List with column title DIPPR: boolean to show DIPPR widget hasTc: boolean to show critical temperature (some DIPPR eq need it) Tc: value for critical temperature eqDIPPR: Value for DIPPR equation unit: List of unidades classes for column definition
- property data¶
Table data
- class UI.inputTable.InputTableDialog(columns=2, showHelp=False, helpFile='', **kwargs)[source]¶
Bases:
QDialogDialog to config thermal method calculations
Methods
ayuda()Show help file