class TQtBrush: public QBrush


 TQtBrush creates the QBrush Qt object based on the ROOT "TAttFill" attributes


Function Members (Methods)

public:
TQtBrush()
TQtBrush(const TQtBrush& src)
virtual~TQtBrush()
static TClass*Class()
const QColor&GetColor() const
intGetStyle() const
virtual TClass*IsA() const
Bool_tIsTransparent() const
TQtBrush&operator=(const TQtBrush&)
voidSetColor(const QColor& color)
voidSetStyle(int style = 1000)
voidSetStyle(int style, int fasi)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidResetColor()

Data Members

protected:
QColorfBackground
intfFasi
intfStyle

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TQtBrush(const TQtBrush& src)
{}
void SetColor(const QColor& color)
void SetStyle(int style, int fasi)
Set fill area style index*-*-*-*-*-
*-*                  =========================
*-*  style   : fill area interior style hollow or solid
*
Bool_t IsTransparent()
{ return fStyle >= 4000 && fStyle <= 4100 ? kTRUE : kFALSE; }
void ResetColor()
 Reset the brush color to take in account the new transperency if needed
{ SetColor(fBackground); }
TQtBrush(const TQtBrush& src)
virtual ~TQtBrush()
{;}
void SetStyle(int style = 1000)
{ SetStyle(style/1000,style%1000); }
const QColor & GetColor()
{ return fBackground;}
int GetStyle()
{ return 1000*fStyle + fFasi; }

Author: Valeri Fine 21/01/2002
Last change: root/qt:$Id: TQtBrush.h 25206 2008-08-22 08:18:13Z brun $
Last generated: 2008-11-28 17:01
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.