# TFBarWidget Class Reference

Internal Class of TFControlWidget, representing the Color Bar of the TFControl. More...

`#include <TFBarWidget.h>`

Collaboration diagram for TFBarWidget:
[legend]

List of all members.

## 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

## Detailed Description

Internal Class of TFControlWidget, representing the Color Bar of the TFControl.

## Constructor & Destructor Documentation

TFBarWidget::TFBarWidget | ( | QWidget * | parent = `NULL` | ) |

TFBarWidget::~TFBarWidget | ( | void |  | ) | `[virtual]`

## Member Function Documentation

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

Parameters:

  | event | stores Information about the region rect to be drawn a.o.

## Member Data Documentation

QBrush TFBarWidget::m_bgBrush`[private]`

const TransferFunction* TFBarWidget::m_tf`[private]`

The documentation for this class was generated from the following files:

- F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/header/TFBarWidget.h
- F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/src/TFBarWidget.cpp