00001 // $Id: TGo4WidgetProxy.h 1129 2014-01-21 17:03:57Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4WIDGETPROXY_H 00015 #define TGO4WIDGETPROXY_H 00016 00017 #include "TGo4WidgetProxyBase.h" 00018 00019 class QGo4Widget; 00020 00021 class TGo4WidgetProxy : public TGo4WidgetProxyBase { 00022 public: 00023 00024 TGo4WidgetProxy() : TGo4WidgetProxyBase(), fWidget(0) {} 00025 00026 TGo4WidgetProxy(QGo4Widget* w) : TGo4WidgetProxyBase(), fWidget(w) {} 00027 00028 virtual ~TGo4WidgetProxy() {} 00029 00030 QGo4Widget* GetWidget() const { return fWidget; } 00031 00032 virtual Bool_t Use() const { return kFALSE; } 00033 00034 virtual Bool_t ProcessEvent(TGo4Slot* slot, TGo4Slot* source, Int_t id, void* param); 00035 00036 virtual void PadRangeAxisChanged(); 00037 00038 virtual void PadModified(); 00039 00040 protected: 00041 00042 QGo4Widget* fWidget; 00043 }; 00044 00045 #endif