Widget for choosing a plot line. More...
#include <QtPlotWidget.qo.h>
 
  
 | 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 | |
| PlotColorWidget * | itsColorWidget_ | 
| Color widget. | |
| PlotLinePtr | itsLine_ | 
| Last set line. | |
Widget for choosing a plot line.
Uses a PlotColorWidget for the line color.
Definition at line 130 of file QtPlotWidget.qo.h.
| 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.
| 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] | 
Color widget.
Definition at line 151 of file QtPlotWidget.qo.h.
| PlotLinePtr casa::PlotLineWidget::itsLine_  [private] | 
Last set line.
Definition at line 154 of file QtPlotWidget.qo.h.
 1.6.1
 1.6.1