redvypr.devices.plot.plot.PlotGridWidget

class redvypr.devices.plot.plot.PlotGridWidget(*args: Any, **kwargs: Any)

The widget of the grid where the single plots can be added by the user

__init__(configplotwidget, device=None, displaywidget=None)

Methods

__init__(configplotwidget[, device, ...])

addPlot(plotwidget, j, i, height, width)

Adds a plot to the gridwidget.

commit_clicked()

Returns:

config_changed()

Function is called whenever the configuration has been changed.

create_plot_widget(plottype[, config])

Creates a plot widget of type plottype and returns the widget :param plottype:

get_selected_index()

Gets the index of all selected gridbuttons (used for adding a device) Returns:

hide_all_rubberbands()

modPlotclicked(enabled)

Modify the existing plots

mouseMoveEvent(event)

mousePressEvent(event)

mouseReleaseEvent(event)

remAllPlots()

Removes all plotwidget from the grid

remPlot(plotwidget)

Removes a plotwidget from the grid

remPlotclicked(enabled)

Modify the existing plots

reset_all_rubberbands()

resize_all_rubberbands()

rubberband_clicked()

show_all_rubberbands()

unselect_all()