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

Widget for choosing a plot area fill. More...

#include <QtPlotWidget.qo.h>

Inheritance diagram for casa::PlotFillWidget:
casa::QtPlotWidget casa::QtEditingWidget

Public Member Functions

 PlotFillWidget (PlotFactoryPtr factory, bool showAlpha=false, casacore::String fillColor="blue", QWidget *parent=NULL)
 Constructor which takes a PlotFactory, a flag for whether or not to show an alpha spinner in the color widget, and an optional parent widget. More...
 
 ~PlotFillWidget ()
 Destructor. More...
 
PlotAreaFillPtr getFill () const
 Gets/Sets the currently set area fill on the widget. More...
 
void setFill (PlotAreaFillPtr fill)
 
- 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 fillChanged ()
 Slot for when the set area fill changes. More...
 

Private Attributes

PlotColorWidgetitsColorWidget_
 Color widget. More...
 
PlotAreaFillPtr itsFill_
 Last set area fill. 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 area fill.

Uses a PlotColorWidget for the color.

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

Constructor & Destructor Documentation

casa::PlotFillWidget::PlotFillWidget ( PlotFactoryPtr  factory,
bool  showAlpha = false,
casacore::String  fillColor = "blue",
QWidget *  parent = NULL 
)

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

casa::PlotFillWidget::~PlotFillWidget ( )

Destructor.

Member Function Documentation

void casa::PlotFillWidget::fillChanged ( )
privateslot

Slot for when the set area fill changes.

PlotAreaFillPtr casa::PlotFillWidget::getFill ( ) const

Gets/Sets the currently set area fill on the widget.

void casa::PlotFillWidget::setFill ( PlotAreaFillPtr  fill)

Member Data Documentation

PlotColorWidget* casa::PlotFillWidget::itsColorWidget_
private

Color widget.

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

PlotAreaFillPtr casa::PlotFillWidget::itsFill_
private

Last set area fill.

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


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