#include <TFBarWidget.h>
Public Member Functions | |
TFBarWidget (QWidget *parent=NULL) | |
virtual | ~TFBarWidget (void) |
void | initialize (const TransferFunction *tf) |
Protected Member Functions | |
virtual void | paintEvent (QPaintEvent *event) |
Private Attributes | |
QBrush | m_bgBrush |
const TransferFunction * | m_tf |
TFBarWidget::TFBarWidget | ( | QWidget * | parent = NULL |
) |
TFBarWidget::~TFBarWidget | ( | void | ) | [virtual] |
void TFBarWidget::initialize | ( | const TransferFunction * | tf | ) |
void TFBarWidget::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Overrides the paintEvent-Method of QWidget Paints the Transfer Function of the according Channel in the ChannelTableWidget
event | stores Information about the region rect to be drawn a.o. |
QBrush TFBarWidget::m_bgBrush [private] |
const TransferFunction* TFBarWidget::m_tf [private] |