8.6.5.1.12. pymodaq_gui.parameter.pymodaq_ptypes.table module

class pymodaq_gui.parameter.pymodaq_ptypes.table.TableParameter(**opts)[source]

Bases: Parameter

Parameter holding a dict displayed as a two columns table, see TableParameterItem

Methods

itemClass

setValue(value)

itemClass

alias of TableParameterItem

setValue(value)[source]
staticMetaObject = PySide6.QtCore.QMetaObject("TableParameter" inherits "Parameter": )
class pymodaq_gui.parameter.pymodaq_ptypes.table.TableParameterItem(param, depth)[source]

Bases: WidgetParameterItem

ParameterItem displaying a dict as a two columns table (keys and values)

Methods

makeWidget()

Make and initialize an instance of TableWidget.

makeWidget()[source]

Make and initialize an instance of TableWidget.

Returns:

The initialized table.

Return type:

TableWidget

class pymodaq_gui.parameter.pymodaq_ptypes.table.TableWidget[source]

Bases: QTableWidget

Attributes*

Type

valuechanged

instance of pyqt Signal

QtWidgets

instance of QTableWidget

Methods

get_table_value()

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