Widget for choosing a plot font. More...
#include <QtPlotWidget.qo.h>
Public Member Functions | |
| PlotFontWidget (PlotFactoryPtr factory, bool showAlpha=false, QWidget *parent=NULL) | |
| Constructor which takes a PlotFactory, a flag for whether to show an alpha spinner for the color, and an optional parent widget. | |
| ~PlotFontWidget () | |
| Destructor. | |
| PlotFontPtr | getFont () const |
| Gets/Sets the currently set font on the widget. | |
| void | setFont (PlotFontPtr font) |
Private Slots | |
| void | fontChanged () |
| Slot for when the set font changes. | |
Private Attributes | |
| PlotColorWidget * | itsColorWidget_ |
| Color widget. | |
| PlotFontPtr | itsFont_ |
| Last set font. | |
Widget for choosing a plot font.
Uses a PlotColorWidget for the font color.
Definition at line 227 of file QtPlotWidget.qo.h.
| casa::PlotFontWidget::PlotFontWidget | ( | PlotFactoryPtr | factory, | |
| bool | showAlpha = false, |
|||
| QWidget * | parent = NULL | |||
| ) |
Constructor which takes a PlotFactory, a flag for whether to show an alpha spinner for the color, and an optional parent widget.
| casa::PlotFontWidget::~PlotFontWidget | ( | ) |
Destructor.
| void casa::PlotFontWidget::fontChanged | ( | ) | [private, slot] |
Slot for when the set font changes.
| PlotFontPtr casa::PlotFontWidget::getFont | ( | ) | const |
Gets/Sets the currently set font on the widget.
| void casa::PlotFontWidget::setFont | ( | PlotFontPtr | font | ) |
Color widget.
Definition at line 247 of file QtPlotWidget.qo.h.
PlotFontPtr casa::PlotFontWidget::itsFont_ [private] |
Last set font.
Definition at line 250 of file QtPlotWidget.qo.h.
1.6.1