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 ()
 Slot for when the set line changes.

Private Member Functions

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

Private Attributes

PlotColorWidgetitsColorWidget_
 Color widget.
PlotLinePtr itsLine_
 Last set line.

Detailed Description

Widget for choosing a plot line.

Uses a PlotColorWidget for the line color.

Definition at line 130 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.

casa::PlotLineWidget::~PlotLineWidget (  ) 

Destructor.


Member Function Documentation

PlotLinePtr casa::PlotLineWidget::getLine (  )  const

Gets/Sets the currently set line on the widget.

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

Slot for when the set line changes.

PlotLine::Style casa::PlotLineWidget::lineStyle (  )  const [private]

Gets/Sets the line style from the combo box.

void casa::PlotLineWidget::setLine ( PlotLinePtr  line  ) 
void casa::PlotLineWidget::setLineStyle ( PlotLine::Style  style  )  [private]

Member Data Documentation

Color widget.

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

Last set line.

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1