00001 // @(#)root/qtgsi:$Id: TQCanvasImp.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Denis Bertini 01/11/2000 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TQCanvasImp 00013 #define ROOT_TQCanvasImp 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // 00017 // TQCanvasImp 00018 // 00019 // ABC describing Qt GUI independent main window (with menubar, 00020 // scrollbars and a drawing area). 00021 // 00022 ////////////////////////////////////////////////////////////////////////// 00023 00024 #ifndef ROOT_TCanvasImp 00025 #include "TCanvasImp.h" 00026 #endif 00027 00028 class TQRootCanvas; 00029 00030 class TQCanvasImp : public TCanvasImp { 00031 protected: 00032 TQRootCanvas *fQCanvas; // Pointer to the Qt widget (TQRootCanvas) 00033 void Build(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height); 00034 public: 00035 TQCanvasImp(TCanvas* = 0); 00036 TQCanvasImp(TCanvas *c, const char *name, UInt_t width, UInt_t height); 00037 TQCanvasImp(TCanvas *c, const char *name, Int_t x, Int_t y, UInt_t width, UInt_t height); 00038 virtual ~TQCanvasImp(); 00039 00040 ClassDef(TQCanvasImp,1) //ABC describing Qt GUI independent main window 00041 }; 00042 00043 #endif 00044