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

Widget for choosing a plot line. More...

#include <QtPlotWidget.qo.h>

Inheritance diagram for casa::PlotLineWidget:
casa::QtPlotWidget casa::QtEditingWidget

List of all members.

Public Member Functions

 PlotLineWidget (PlotFactoryPtr factory, bool useCompact=true, bool showAlpha=false, QWidget *parent=NULL)
 Constructor which takes a PlotFactory, a flag for whether to use the "compact" version of the widget, a flag for whether or not to show an alpha spinner in the color widget, and an optional parent widget.
 ~PlotLineWidget ()
 Destructor.
PlotLinePtr getLine () const
 Gets/Sets the currently set line on the widget.
void setLine (PlotLinePtr line)

Private Slots

void lineChanged ()
 
     

Private Member Functions

PlotLine::Style lineStyle () const
 Gets/Sets the line style from the combo box.
void setLineStyle (PlotLine::Style style)

Private Attributes

PlotColorWidgetitsColorWidget_
 
     

PlotLinePtr itsLine_
 Last set line.

Detailed Description

Widget for choosing a plot line.

Uses a PlotColorWidget for the line color.

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


Constructor & Destructor Documentation

casa::PlotLineWidget::PlotLineWidget ( PlotFactoryPtr  factory,
bool  useCompact = true,
bool  showAlpha = false,
QWidget *  parent = NULL 
)

Constructor which takes a PlotFactory, a flag for whether to use the "compact" version of the widget, a flag for whether or not to show an alpha spinner in the color widget, and an optional parent widget.

Destructor.


Member Function Documentation

Gets/Sets the currently set line on the widget.

void casa::PlotLineWidget::lineChanged ( ) [private, slot]

     

Slot for when the set line changes.

Gets/Sets the line style from the combo box.


Member Data Documentation

     

Color widget.

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

Last set line.

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


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