casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Slots | Private Attributes
casa::PlotFontWidget Class Reference

Widget for choosing a plot font. More...

#include <QtPlotWidget.qo.h>

Inheritance diagram for casa::PlotFontWidget:
casa::QtPlotWidget casa::QtEditingWidget

List of all members.

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

PlotColorWidgetitsColorWidget_
 
     

PlotFontPtr itsFont_
 Last set font.

Detailed Description

Widget for choosing a plot font.

Uses a PlotColorWidget for the font color.

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


Constructor & Destructor Documentation

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.

Destructor.


Member Function Documentation

void casa::PlotFontWidget::fontChanged ( ) [private, slot]

Slot for when the set font changes.

Gets/Sets the currently set font on the widget.


Member Data Documentation

     

Color widget.

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

Last set font.

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


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