00001 // $Id: TGo4TreeViewer.h 489 2009-11-04 12:20:26Z 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 TGO4TREEVIEWER_H 00015 #define TGO4TREEVIEWER_H 00016 00017 #include "QGo4Widget.h" 00018 #include "ui_TGo4TreeViewer.h" 00019 00020 class TObject; 00021 00022 class TGo4TreeViewer : public QGo4Widget, public Ui::TGo4TreeViewer 00023 { 00024 Q_OBJECT 00025 00026 public: 00027 00028 TGo4TreeViewer(QWidget *parent = 0, const char* name=0); 00029 00030 virtual void ResetWidget(); 00031 virtual void WorkWithLeaf(const char* itemname); 00032 virtual void ProcessDropEvent(QGo4LineEdit* edt, bool caninit); 00033 virtual void requestedObjectCreated(const char* itemname, TClass* cl); 00034 00035 00036 public slots: 00037 00038 virtual void NewHistBtn_clicked(); 00039 virtual void TreeClearBtn_clicked(); 00040 virtual void TreeDrawBtn_clicked(); 00041 virtual void XFieldEdt_dropped(); 00042 virtual void YFieldEdt_dropped(); 00043 virtual void ZFieldEdt_dropped(); 00044 virtual void cutEdit_dropped(); 00045 00046 protected: 00047 00048 QString fxTreeName; 00049 00050 00051 00052 }; 00053 00054 #endif