00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 //Author : Denis Bertini 01.11.2000 00017 00018 /************************************************************************** 00019 * Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI * 00020 * Planckstr. 1, 64291 Darmstadt, Germany * 00021 * All rights reserved. * 00022 * Contact: http://go4.gsi.de * 00023 * * 00024 * This software can be used under the license agreements as stated in * 00025 * Go4License.txt file which is part of the distribution. * 00026 ***************************************************************************/ 00027 00028 #ifndef TQROOTGUIFACTORY_H 00029 #define TQROOTGUIFACTORY_H 00030 00058 #include "TRootGuiFactory.h" 00059 00060 class TCanvasImp; 00061 00062 class TQRootGuiFactory : public TRootGuiFactory { 00063 public: 00065 TQRootGuiFactory(const char *name = "QRoot", const char *title = "Qt/ROOT GUI Factory"); 00066 00067 virtual ~TQRootGuiFactory(); 00068 00075 TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, UInt_t width, UInt_t height); 00076 00085 TCanvasImp *CreateCanvasImp(TCanvas *c, const char *title, Int_t x, Int_t y, UInt_t width, UInt_t height); 00086 00087 void setCustomFlag(bool custom) { fCustom=custom; } 00088 00089 private: 00090 bool fCustom; 00091 }; 00092 00093 #endif 00094 00095 00096 //----------------------------END OF GO4 SOURCE FILE ---------------------