TQtCanvasPainter.h

Go to the documentation of this file.
00001 #ifndef ROOT_TQTCANVASPAINTER
00002 #define ROOT_TQTCANVASPAINTER
00003 
00004 /////////////////////////////////////////////////////////////////////////////
00005 //                                                                         //
00006 // TQtCanvasPainter                                                        //
00007 //                                                                         //
00008 // TQtCanvasPainter is abstarct visitor interface                          //
00009 // to customize TQtWidget painting                                         //
00010 // It allows the arbitrary low level Qt painting onto the TQtWidget face   //
00011 // on the top of  TCanvas image                                            //
00012 //                                                                         //
00013 /////////////////////////////////////////////////////////////////////////////
00014 
00015 #include <QtCore/QObject>
00016  
00017 class TQtCanvasPainter : public QObject 
00018 {
00019     protected:
00020        TQtCanvasPainter(){}
00021         public:
00022        TQtCanvasPainter(QObject *p) : QObject(p) {}
00023            virtual ~TQtCanvasPainter() {}
00024            virtual void paintEvent(QPainter &painter, QPaintEvent *e=0) = 0;
00025 };
00026 
00027 #endif

Generated on Tue Jul 5 14:14:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1