casa
$Rev:20696$
|
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 () |
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_ |
PlotLinePtr | itsLine_ |
Last set line. |
Widget for choosing a plot line.
Uses a PlotColorWidget for the line color.
Definition at line 132 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.
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] |
PlotLinePtr casa::PlotLineWidget::itsLine_ [private] |
Last set line.
Definition at line 156 of file QtPlotWidget.qo.h.