Index of QT classes

ROOT Qt-layer classes

// @(#)root/qt:$Name:  $:$Id: TQtBrush.h,v 1.9 2006/05/25 16:46:07 fine Exp $
// Author: Valeri Fine   21/01/2002
** Copyright (C) 2002 by Valeri Fine.  All rights reserved.
** This file may be distributed under the terms of the Q Public License
** as defined by Trolltech AS of Norway and appearing in the file
** LICENSE.QPL included in the packaging of this file.

#ifndef ROOT_TQtBrush
#define ROOT_TQtBrush

#ifndef __CINT__
#  include <qbrush.h>
#  include <qcolor.h>
#  include <qpixmap.h>
   class  QColor;
   class  QBrush;
   class  QPixmap;

#include "Rtypes.h"
   // TQtBrush creates the QBrush Qt object based on the ROOT "fill" attributes 
class TQtBrush : public QBrush
  QColor QColor TQtBrush::fBackground">fBackground;
  int fStyle;
  int fFasi;
#ifdef R__WIN32
  QPixmap fCustomPixmap; // shadow transparent pixmap fro WIN32
   TQtBrush(const TQtBrush &src):QBrush(src)
      QColor TQtBrush::fBackground">fBackground=src.QColor TQtBrush::fBackground">fBackground;
   virtual ~TQtBrush(){;}
   void SetStyle(int style=1000){  SetStyle(style/1000,style%1000); };
   void SetStyle(int style, int fasi);
   void QColor& color)">SetColor(const QColor &color);
   const QColor &QColor& TQtBrush::GetColor()">GetColor() const { return QColor TQtBrush::fBackground">fBackground;}
   int   GetStyle()         const { return 1000*fStyle + fFasi; }
   ClassDef(TQtBrush,0); // create QBrush object based on the ROOT "fill" attributes 


Qt/ROOT page - ROOT page - Class index - Class Hierarchy - Top of the page - Qt docs

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