Version: 6.3.1
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

ViewerTools_FontWidgetBase Class Reference

#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

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]
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().


Field Documentation

QCheckBox* ViewerTools_FontWidgetBase.myBold [protected]
QCheckBox* ViewerTools_FontWidgetBase.myItalic [protected]
QCheckBox* ViewerTools_FontWidgetBase.myShadow [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS