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 #ifndef TGO4WIDGETPROXY_H 00017 #define TGO4WIDGETPROXY_H 00018 00019 #include "TGo4Proxy.h" 00020 00021 class QGo4Widget; 00022 class TPad; 00023 00024 class TGo4WidgetProxy : public TGo4Proxy { 00025 public: 00026 00027 TGo4WidgetProxy() : TGo4Proxy(), fWidget(0) {} 00028 00029 TGo4WidgetProxy(QGo4Widget* w) : TGo4Proxy(), fWidget(w) {} 00030 00031 virtual ~TGo4WidgetProxy() {} 00032 00033 QGo4Widget* GetWidget() const { return fWidget; } 00034 00035 virtual Bool_t Use() const { return kFALSE; } 00036 00037 virtual Bool_t ProcessEvent(TGo4Slot* slot, TGo4Slot* source, Int_t id, void* param); 00038 00039 void ConnectPad(TPad* pad); 00040 00041 void PadRangeAxisChanged(); 00042 00043 void PadModified(); 00044 00045 protected: 00046 00047 QGo4Widget* fWidget; 00048 00049 ClassDef(TGo4WidgetProxy, 1); 00050 }; 00051 00052 #endif 00053 00054 //----------------------------END OF GO4 SOURCE FILE ---------------------