#include <ViewerTools_FontWidgetBase.h>

Public Member Functions | |
| ViewerTools_FontWidgetBase (QWidget *) | |
| virtual | ~ViewerTools_FontWidgetBase () |
| void | SetColor (const QColor &) |
| QColor | GetColor () const |
| virtual void | SetData (const QColor &, const int, const bool, const bool, const bool) |
| virtual void | GetData (QColor &, int &, bool &, bool &, bool &) const |
| virtual void | Initialize () |
Protected Slots | |
| void | onColor () |
Protected Member Functions | |
| virtual void | InitializeFamilies ()=0 |
Protected Attributes | |
| QToolButton * | myColorBtn |
| QComboBox * | myFamily |
| QCheckBox * | myBold |
| QCheckBox * | myItalic |
| QCheckBox * | myShadow |
Class : ViewerTools_FontWidgetBase Description : Dialog for specifying font
| ViewerTools_FontWidgetBase::ViewerTools_FontWidgetBase | ( | QWidget * | theParent | ) |
Class : ViewerTools_FontWidgetBase Description : Dialog for specifynig font
Constructor
| ViewerTools_FontWidgetBase::~ViewerTools_FontWidgetBase | ( | ) | [virtual] |
Destructor
| void ViewerTools_FontWidgetBase::SetColor | ( | const QColor & | theColor | ) |
References myColorBtn.
| QColor ViewerTools_FontWidgetBase::GetColor | ( | ) | const |
References myColorBtn.
| void ViewerTools_FontWidgetBase::SetData | ( | const QColor & | theColor, |
| const int | theFamily, | ||
| const bool | theBold, | ||
| const bool | theItalic, | ||
| const bool | theShadow | ||
| ) | [virtual] |
Reimplemented in OCCViewer_FontWidget, and SVTK_FontWidget.
References myBold, myItalic, myShadow, and SetColor().
| void ViewerTools_FontWidgetBase::GetData | ( | QColor & | theColor, |
| int & | theFamily, | ||
| bool & | theBold, | ||
| bool & | theItalic, | ||
| bool & | theShadow | ||
| ) | const [virtual] |
Reimplemented in OCCViewer_FontWidget, and SVTK_FontWidget.
References GetColor(), myBold, myItalic, and myShadow.
| void ViewerTools_FontWidgetBase::Initialize | ( | ) | [virtual] |
References InitializeFamilies(), myBold, myColorBtn, myFamily, myItalic, myShadow, and onColor().
| virtual void ViewerTools_FontWidgetBase.InitializeFamilies | ( | ) | [protected, pure virtual] |
Implemented in OCCViewer_FontWidget, and SVTK_FontWidget.
| void ViewerTools_FontWidgetBase::onColor | ( | ) | [protected, slot] |
References GetColor(), and SetColor().
QToolButton* ViewerTools_FontWidgetBase.myColorBtn [protected] |
QComboBox* ViewerTools_FontWidgetBase.myFamily [protected] |
QCheckBox* ViewerTools_FontWidgetBase.myBold [protected] |
QCheckBox* ViewerTools_FontWidgetBase.myItalic [protected] |
QCheckBox* ViewerTools_FontWidgetBase.myShadow [protected] |