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

Widget for choosing a plot color. More...

#include <QtPlotWidget.qo.h>

Inheritance diagram for casa::PlotColorWidget:
casa::QtPlotWidget casa::QtEditingWidget

List of all members.

Public Member Functions

 PlotColorWidget (PlotFactoryPtr factory, bool showAlpha=false, QWidget *parent=NULL)
 Constructor which takes a PlotFactory, a flag for whether or not to show an alpha spinner, and an optional parent widget.
 ~PlotColorWidget ()
 Destructor.
PlotColorPtr getColor () const
 Gets/Sets the currently set color on the widget.
void setColor (PlotColorPtr color)
String getColorString () const
 Gets/Sets the currently set color on the widget as a String.
void setColor (const String &color)

Private Slots

void colorChoose ()
 Slot to show color chooser.
void colorChanged ()
 Slot for when the set color changes.

Private Attributes

PlotColorPtr itsColor_
 
     


Detailed Description

Widget for choosing a plot color.

Definition at line 61 of file QtPlotWidget.qo.h.


Constructor & Destructor Documentation

casa::PlotColorWidget::PlotColorWidget ( PlotFactoryPtr  factory,
bool  showAlpha = false,
QWidget *  parent = NULL 
)

Constructor which takes a PlotFactory, a flag for whether or not to show an alpha spinner, and an optional parent widget.

Destructor.


Member Function Documentation

void casa::PlotColorWidget::colorChanged ( ) [private, slot]

Slot for when the set color changes.

void casa::PlotColorWidget::colorChoose ( ) [private, slot]

Slot to show color chooser.

Gets/Sets the currently set color on the widget.

Gets/Sets the currently set color on the widget as a String.

void casa::PlotColorWidget::setColor ( const String color)

Member Data Documentation

     

Last set color.

Definition at line 87 of file QtPlotWidget.qo.h.


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