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::PlotFontWidget Class Reference

Widget for choosing a plot font. More...

#include <QtPlotWidget.qo.h>

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

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. More...
 
 ~PlotFontWidget ()
 Destructor. More...
 
PlotFontPtr getFont () const
 Gets/Sets the currently set font on the widget. More...
 
void setFont (PlotFontPtr font)
 
- 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 fontChanged ()
 Slot for when the set font changes. More...
 

Private Attributes

PlotColorWidgetitsColorWidget_
 Color widget. More...
 
PlotFontPtr itsFont_
 Last set font. 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 font.

Uses a PlotColorWidget for the font color.

Definition at line 227 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.

casa::PlotFontWidget::~PlotFontWidget ( )

Destructor.

Member Function Documentation

void casa::PlotFontWidget::fontChanged ( )
privateslot

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)

Member Data Documentation

PlotColorWidget* casa::PlotFontWidget::itsColorWidget_
private

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.


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