Version: 9.12.0
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::ViewerTools_FontWidgetBase ( QWidget theParent)

Class : ViewerTools_FontWidgetBase Description : Dialog for specifynig font

Constructor

◆ ~ViewerTools_FontWidgetBase()

ViewerTools_FontWidgetBase::~ViewerTools_FontWidgetBase ( )
virtual

Destructor

Member Function Documentation

◆ GetColor()

QColor ViewerTools_FontWidgetBase::GetColor ( ) const

References myColorBtn.

◆ GetData()

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

Reimplemented in SVTK_FontWidget, and OCCViewer_FontWidget.

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

◆ Initialize()

void ViewerTools_FontWidgetBase::Initialize ( )
virtual

◆ InitializeFamilies()

virtual void ViewerTools_FontWidgetBase::InitializeFamilies ( )
protectedpure virtual

Implemented in SVTK_FontWidget, and OCCViewer_FontWidget.

◆ onColor

void ViewerTools_FontWidgetBase::onColor ( )
protectedslot

References GetColor(), and SetColor().

◆ SetColor()

void ViewerTools_FontWidgetBase::SetColor ( const QColor &  theColor)

References myColorBtn.

◆ SetData()

void ViewerTools_FontWidgetBase::SetData ( const QColor &  theColor,
const int  ,
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

◆ myBold

QCheckBox* ViewerTools_FontWidgetBase::myBold
protected

◆ myColorBtn

QToolButton* ViewerTools_FontWidgetBase::myColorBtn
protected

◆ myFamily

QComboBox* ViewerTools_FontWidgetBase::myFamily
protected

◆ myItalic

QCheckBox* ViewerTools_FontWidgetBase::myItalic
protected

◆ myShadow

QCheckBox* ViewerTools_FontWidgetBase::myShadow
protected

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