casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::ImageSliceColorBar Class Reference

Draws a colored rectangular bar across the top of the image slice statistics as an identifier when the image slice is closed. More...

#include <ImageSliceColorBar.h>

List of all members.

Public Member Functions

 ImageSliceColorBar (QWidget *parent=NULL)
void setColors (const QList< QColor > &segmentColors)
virtual ~ImageSliceColorBar ()

Protected Member Functions

virtual void paintEvent (QPaintEvent *event)

Private Attributes

QList< QColor > colorList

Detailed Description

Draws a colored rectangular bar across the top of the image slice statistics as an identifier when the image slice is closed.

Definition at line 37 of file ImageSliceColorBar.h.


Constructor & Destructor Documentation

casa::ImageSliceColorBar::ImageSliceColorBar ( QWidget *  parent = NULL)

Member Function Documentation

virtual void casa::ImageSliceColorBar::paintEvent ( QPaintEvent *  event) [protected, virtual]
void casa::ImageSliceColorBar::setColors ( const QList< QColor > &  segmentColors)

Member Data Documentation

QList<QColor> casa::ImageSliceColorBar::colorList [private]

Definition at line 48 of file ImageSliceColorBar.h.


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