casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
casa::PlotLineWidget Class Reference

Widget for choosing a plot line. More...

#include <QtPlotWidget.qo.h>

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

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. More...
 
 ~PlotLineWidget ()
 Destructor. More...
 
PlotLinePtr getLine () const
 Gets/Sets the currently set line on the widget. More...
 
void setLine (PlotLinePtr line)
 
- Public Member Functions inherited from casa::QtPlotWidget
 QtPlotWidget (PlotFactoryPtr factory, QWidget *parent=NULL)
 Constructor which takes a PlotFactory and an optional parent widget. More...
 
virtual ~QtPlotWidget ()
 Destructor. More...
 
- Public Member Functions inherited from casa::QtEditingWidget
 QtEditingWidget (QWidget *parent=NULL)
 Constructor which takes an optional parent widget. More...
 
virtual ~QtEditingWidget ()
 Destructor. More...
 
virtual void addRadioButtonsToGroup (QButtonGroup *group) const
 Adds any radio buttons in the widget to the given button group. More...
 

Private Slots

void lineChanged ()
 Slot for when the set line changes. More...
 

Private Member Functions

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

Private Attributes

PlotColorWidgetitsColorWidget_
 Color widget. More...
 
PlotLinePtr itsLine_
 Last set line. More...
 

Additional Inherited Members

- Signals inherited from casa::QtEditingWidget
void changed ()
 This signal should be emitted whenever the user changes any value settings in the GUI. More...
 
void differentFromSet ()
 This signal should be emitted when the user changes any value settings in the GUI AND the new value is different from the last set value. More...
 
void editDone ()
 to change widget focus when editing done More...
 
- Protected Attributes inherited from casa::QtPlotWidget
PlotFactoryPtr itsFactory_
 Factory. More...
 

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 ( )
privateslot

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

PlotColorWidget* casa::PlotLineWidget::itsColorWidget_
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.


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