8.5.4.1.11. pymodaq_gui.parameter.pymodaq_ptypes.table module

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

Bases: Parameter

Attributes

Type

itemClass

instance of TableParameterItem

Parameter

instance of pyqtgraph parameter

Methods

setValue(value)

itemClass

itemClass

Editable string; displayed as large text box in the tree.

Methods

alias of TableParameterItem

setValue(value)[source]
class pymodaq_gui.parameter.pymodaq_ptypes.table.TableParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Methods

makeWidget()

Make and initialize an instance of TableWidget.

makeWidget()[source]

Make and initialize an instance of TableWidget.

Returns:

table – The initialized table.

Return type:

instance of TableWidget.

See also

TableWidget

class pymodaq_gui.parameter.pymodaq_ptypes.table.TableWidget(*args: Any, **kwargs: Any)[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