Widget for choosing a plot area fill. More...
#include <QtPlotWidget.qo.h>
Public Member Functions | |
PlotFillWidget (PlotFactoryPtr factory, bool showAlpha=false, 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. | |
~PlotFillWidget () | |
Destructor. | |
PlotAreaFillPtr | getFill () const |
Gets/Sets the currently set area fill on the widget. | |
void | setFill (PlotAreaFillPtr fill) |
Private Slots | |
void | fillChanged () |
Slot for when the set area fill changes. | |
Private Attributes | |
PlotColorWidget * | itsColorWidget_ |
Color widget. | |
PlotAreaFillPtr | itsFill_ |
Last set area fill. |
Widget for choosing a plot area fill.
Uses a PlotColorWidget for the color.
Definition at line 97 of file QtPlotWidget.qo.h.
casa::PlotFillWidget::PlotFillWidget | ( | PlotFactoryPtr | factory, | |
bool | showAlpha = false , |
|||
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.
void casa::PlotFillWidget::fillChanged | ( | ) | [private, slot] |
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 | ) |
Color widget.
Definition at line 117 of file QtPlotWidget.qo.h.
Last set area fill.
Definition at line 120 of file QtPlotWidget.qo.h.