library: libGQt #include "TQtBrush.h"

# TQtBrush

class description - source file - inheritance tree (.pdf)

## class TQtBrush : public QBrush

| Inheritance Chart:
`QBrush`
| <- | `TQtBrush` |

        public:

                          TQtBrush()
                          TQtBrush(const TQtBrush& src)
                  virtual ~TQtBrush()
           static TClass* Class()
            const QColor& GetColor() const
                      int GetStyle() const
          virtual TClass* IsA() const
                TQtBrush& operator=(const TQtBrush&)
                     void SetColor(QColor& color)
                     void SetStyle(int style = 1000)
                     void SetStyle(int style, int fasi)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          QColor fBackground
             int fStyle
             int fFasi

## Class Description

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

TQtBrush(): QBrush(),fStyle(0),fFasi(0)

    ______________________________________________________________________________

void SetColor(QColor &color)

void SetStyle(int style, int fasi)

    *-*-*-*-*-*-*-*-*-*-*Set fill area style index*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                  =========================
    *-*  style   : fill area interior style hollow or solid
    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

### Inline Functions

                     void ~TQtBrush()
                 TQtBrush TQtBrush(const TQtBrush& src)
                     void SetStyle(int style, int fasi)
            const QColor& GetColor() const
                      int GetStyle() const
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
                TQtBrush& operator=(const TQtBrush&)

Author: Valeri Fine 21/01/2002
Last update: root/qt:$Name: $:$Id: TQtBrush.cxx,v 1.3 2005/03/01 07:24:01 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *