TQtBrush Class Reference

#include <TQtBrush.h>

List of all members.

Public Member Functions

 TQtBrush ()
 TQtBrush (const TQtBrush &src)
 TQtBrush (const TAttFill &rootFillAttributes)
virtual ~TQtBrush ()
TQtBrushoperator= (const TAttFill &rootFillAttributes)
void SetFillAttributes (const TAttFill &rootFillAttributes)
Bool_t IsTransparent () const
void SetStyle (int newStyle=1000)
void SetStyle (int style, int fasi)
void SetColor (const QColor &qtcolor)
void SetColor (Color_t cindex)
const QColor & GetColor () const
int GetStyle () const
 ClassDef (TQtBrush, 0)

Protected Member Functions

void SetColorOwn ()

Protected Attributes

QColor fBackground
int fStyle
int fFasi
int fAlpha


Detailed Description

Definition at line 35 of file TQtBrush.h.


Constructor & Destructor Documentation

TQtBrush::TQtBrush (  ) 

TQtBrush::TQtBrush ( const TQtBrush src  )  [inline]

Definition at line 46 of file TQtBrush.h.

TQtBrush::TQtBrush ( const TAttFill rootFillAttributes  ) 

Definition at line 145 of file TQtBrush.cxx.

References SetFillAttributes().

TQtBrush::~TQtBrush (  )  [virtual]

Definition at line 152 of file TQtBrush.cxx.


Member Function Documentation

void TQtBrush::SetColorOwn (  )  [protected]

Definition at line 187 of file TQtBrush.cxx.

References fAlpha, fBackground, fFasi, fStyle, and setColor().

Referenced by SetColor(), and SetStyle().

TQtBrush & TQtBrush::operator= ( const TAttFill rootFillAttributes  ) 

Definition at line 157 of file TQtBrush.cxx.

References SetFillAttributes().

void TQtBrush::SetFillAttributes ( const TAttFill rootFillAttributes  ) 

Definition at line 163 of file TQtBrush.cxx.

References TAttFill::GetFillColor(), TAttFill::GetFillStyle(), SetColor(), and SetStyle().

Referenced by operator=(), and TQtBrush().

Bool_t TQtBrush::IsTransparent (  )  const [inline]

Definition at line 68 of file TQtBrush.h.

References fStyle, kFALSE, and kTRUE.

void TQtBrush::SetStyle ( int  newStyle = 1000  )  [inline]

Definition at line 57 of file TQtBrush.h.

References fFasi, and fStyle.

Referenced by SetFillAttributes(), and TGQt::SetFillStyle().

void TQtBrush::SetStyle ( int  style,
int  fasi 
)

Definition at line 202 of file TQtBrush.cxx.

References fAlpha, fBackground, fFasi, fStyle, patter_bits, and SetColorOwn().

void TQtBrush::SetColor ( const QColor &  qtcolor  ) 

Definition at line 178 of file TQtBrush.cxx.

References fAlpha, fBackground, and SetColorOwn().

Referenced by SetColor(), SetFillAttributes(), and TGQt::SetFillColor().

void TQtBrush::SetColor ( Color_t  cindex  ) 

Definition at line 170 of file TQtBrush.cxx.

References TGQt::ColorIndex(), fAlpha, gQt, SetColor(), and TGQt::UpdateColor().

const QColor& TQtBrush::GetColor (  )  const [inline]

Definition at line 63 of file TQtBrush.h.

References fBackground.

Referenced by TGQt::DrawBox().

int TQtBrush::GetStyle (  )  const [inline]

Definition at line 64 of file TQtBrush.h.

References fFasi, and fStyle.

TQtBrush::ClassDef ( TQtBrush  ,
 
)


Member Data Documentation

QColor TQtBrush::fBackground [protected]

Definition at line 38 of file TQtBrush.h.

Referenced by GetColor(), SetColor(), SetColorOwn(), and SetStyle().

int TQtBrush::fStyle [protected]

Definition at line 39 of file TQtBrush.h.

Referenced by GetStyle(), IsTransparent(), SetColorOwn(), and SetStyle().

int TQtBrush::fFasi [protected]

Definition at line 40 of file TQtBrush.h.

Referenced by GetStyle(), SetColorOwn(), and SetStyle().

int TQtBrush::fAlpha [protected]

Definition at line 41 of file TQtBrush.h.

Referenced by SetColor(), SetColorOwn(), and SetStyle().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:55 2011 for ROOT_528-00b_version by  doxygen 1.5.1