Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ViewerTools_FontWidgetBase Class Referenceabstract

#include <ViewerTools_FontWidgetBase.h>

Inheritance diagram for ViewerTools_FontWidgetBase:
Inheritance graph

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

QToolButtonmyColorBtn
 
QComboBoxmyFamily
 
QCheckBox * myBold
 
QCheckBox * myItalic
 
QCheckBox * myShadow
 

Detailed Description

Class : ViewerTools_FontWidgetBase Description : Dialog for specifying font

Constructor & Destructor Documentation

ViewerTools_FontWidgetBase::ViewerTools_FontWidgetBase ( QWidget theParent)

Class : ViewerTools_FontWidgetBase Description : Dialog for specifynig font

Constructor

ViewerTools_FontWidgetBase::~ViewerTools_FontWidgetBase ( )
virtual

Destructor

Member Function Documentation

QColor ViewerTools_FontWidgetBase::GetColor ( ) const

References myColorBtn.

void ViewerTools_FontWidgetBase::GetData ( QColor &  theColor,
int &  theFamily,
bool &  theBold,
bool &  theItalic,
bool &  theShadow 
) const
virtual

Reimplemented in SVTK_FontWidget, and OCCViewer_FontWidget.

References GetColor(), myBold, myItalic, and myShadow.

void ViewerTools_FontWidgetBase::Initialize ( )
virtual
virtual void ViewerTools_FontWidgetBase::InitializeFamilies ( )
protectedpure virtual

Implemented in SVTK_FontWidget, and OCCViewer_FontWidget.

void ViewerTools_FontWidgetBase::onColor ( )
protectedslot

References GetColor(), and SetColor().

void ViewerTools_FontWidgetBase::SetColor ( const QColor &  theColor)

References myColorBtn.

void ViewerTools_FontWidgetBase::SetData ( const QColor &  theColor,
const int  theFamily,
const bool  theBold,
const bool  theItalic,
const bool  theShadow 
)
virtual

Reimplemented in SVTK_FontWidget, and OCCViewer_FontWidget.

References myBold, myItalic, myShadow, and SetColor().

Member Data Documentation

QCheckBox* ViewerTools_FontWidgetBase::myBold
protected
QToolButton* ViewerTools_FontWidgetBase::myColorBtn
protected
QComboBox* ViewerTools_FontWidgetBase::myFamily
protected
QCheckBox* ViewerTools_FontWidgetBase::myItalic
protected
QCheckBox* ViewerTools_FontWidgetBase::myShadow
protected

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