Skip to main content

AverageSceneItem

Namespace: DISPLIB  ·  Library: Display Library

#include <disp/averagesceneitem.h>

class DISPLIB::AverageSceneItem

QGraphicsObject painting one channel's averaged evoked traces inside AverageScene.

Stores per-condition data vectors and colours and paints overlaid traces, the t = 0 marker and the baseline inside its bounding rect during paint().

Inheritance


Public Methods

AverageSceneItem(channelName, channelNumber, channelPosition, channelKind, channelUnit, color)

Constructs a AverageSceneItem.


boundingRect()

Reimplemented virtual functions.


mousePressEvent(event)


mouseReleaseEvent(event)


paint(painter, option, widget)


setDefaultColor(viewColor)

Sets the item color to the input parameter viewColor.

Parameters:

  • viewColor : const QColor & desired item color.

Authors of this file