8.5.4.1.11. pymodaq_gui.parameter.pymodaq_ptypes.table module
- class pymodaq_gui.parameter.pymodaq_ptypes.table.TableParameter(**opts)[source]
Bases:
ParameterAttributes
Type
itemClass
instance of TableParameterItem
Parameter
instance of pyqtgraph parameter
Methods
setValue(value)Set the value of this Parameter; return the actual value that was set.
itemClass
- itemClass
Editable string; displayed as large text box in the tree.
Methods
alias of
TableParameterItem
- class pymodaq_gui.parameter.pymodaq_ptypes.table.TableParameterItem(param, depth)[source]
Bases:
WidgetParameterItemMethods
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
- valuechanged
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision