Skip to main content

SelectionScene

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/selectionscene.h>

class DISPLIB::SelectionScene

QGraphicsScene of sensor-layout dots used by ChannelSelectionView for interactive channel picking.

Places one SelectionSceneItem per sensor, supports rubber-band selection and lasso grouping, and emits the resulting channel-name lists so the host view can store them as named .sel groups.

Inheritance​


Public Methods​

SelectionScene(view, parent)​

Constructs a SelectionScene.

Parameters:

  • view : *QGraphicsView ** Graphics view that displays this scene.

  • parent : *QObject ** Parent QObject (default 0).


repaintItems(layoutMap, badChannels)​

Updates layout data.

Parameters:

  • layoutMap : const QMap< QString, QPointF > & layout data map.

  • badChannels : QStringList Names of the bad channels.


hideItems(visibleItems)​

Hides all items described in list.

Parameters:

  • visibleItems : QStringList string list with items name which are to be hidden.

Authors of this file​