8.6.5.1.12. pymodaq_gui.parameter.pymodaq_ptypes.table module
- class pymodaq_gui.parameter.pymodaq_ptypes.table.TableParameter(**opts)[source]
Bases:
ParameterParameter holding a dict displayed as a two columns table, see TableParameterItem
Methods
setValue(value)- itemClass
alias of
TableParameterItem
- staticMetaObject = PySide6.QtCore.QMetaObject("TableParameter" inherits "Parameter": )
- class pymodaq_gui.parameter.pymodaq_ptypes.table.TableParameterItem(param, depth)[source]
Bases:
WidgetParameterItemParameterItem displaying a dict as a two columns table (keys and values)
Methods
Make and initialize an instance of TableWidget.
- class pymodaq_gui.parameter.pymodaq_ptypes.table.TableWidget[source]
Bases:
QTableWidgetAttributes*
Type
valuechanged
instance of pyqt Signal
QtWidgets
instance of QTableWidget
Methods
Get the contents of the self coursed table.
set_table_value(data_dict)Set the data values dictionnary to the custom table.
valuechanged
- get_table_value()[source]
Get the contents of the self coursed table.
- Returns:
data – The getted values dictionnary.
- Return type:
ordered dictionnary
- set_table_value(data_dict)[source]
Set the data values dictionnary to the custom table.
Parameters
Type
Description
data_dict
ordered dictionnary
the contents to be stored in the custom table
- staticMetaObject = PySide6.QtCore.QMetaObject("TableWidget" inherits "QTableWidget": Methods: #110 type=Signal, signature=valuechanged(PyObject), parameters=PyObject )
- valuechanged