8.5.4.1.12. pymodaq_gui.parameter.pymodaq_ptypes.tableview module

class pymodaq_gui.parameter.pymodaq_ptypes.tableview.TableViewCustom(*args: Any, **kwargs: Any)[source]

Bases: QTableView

Attributes*

Type

valuechanged

instance of pyqt Signal

QtWidgets

instance of QTableWidget

Methods

add

add_data_signal

clear

contextMenuEvent

data_has_changed

get_table_value

load_data_signal

remove

remove_row_signal

save_data_signal

set_table_value

setmenu

valueChanged

add()[source]
clear()[source]
contextMenuEvent(event)[source]
data_has_changed(topleft, bottomright, roles)[source]
get_table_value()[source]
remove()[source]
set_table_value(data_model)[source]
setmenu(status)[source]
class pymodaq_gui.parameter.pymodaq_ptypes.tableview.TableViewParameter(**opts)[source]

Bases: Parameter

Attributes

Type

itemClass

instance of TableParameterItem

Parameter

instance of pyqtgraph parameter

Methods

setValue(value)

itemClass

itemClass

alias of TableViewParameterItem

setValue(value)[source]
class pymodaq_gui.parameter.pymodaq_ptypes.tableview.TableViewParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Methods

makeWidget()

Make and initialize an instance of Table_custom.

optsChanged(param, opts)

makeWidget()[source]

Make and initialize an instance of Table_custom.

Returns:

table – The initialized table.

Return type:

instance of Table_custom.

See also

Table_custom

optsChanged(param, opts)[source]
Called when any options are changed that are not name, value, default, or limits.

If widget is a SpinBox, pass options straight through.
So that only the display label is shown when visible option is toggled.

Parameters

Type

Description

param

instance of pyqtgraph parameter

the parameter to check

opts

string list

the associated options list

See also

optsChanged