casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
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>

Inheritance diagram for casa::ImageSliceColorBar:

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)
virtual casa::ImageSliceColorBar::~ImageSliceColorBar ( )
virtual

Member Function Documentation

virtual void casa::ImageSliceColorBar::paintEvent ( QPaintEvent *  event)
protectedvirtual
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: