Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4QtBaseWidgets/TGo4QLeafItem.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE 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 TGO4QLEAFITEM_H
00017 #define TGO4QLEAFITEM_H
00018 #include "TGo4QItem.h"
00019 #include "TGo4QDragDrop.h"
00020 class TTree;
00027 class TGo4QLeafItem : public TGo4QDragDrop {
00028   public:
00029 
00030     TGo4QLeafItem( QListView* parent, const QString & text,  const QString & text1=0,  const QString & text2=0) ;
00031     TGo4QLeafItem( QListViewItem* parent, const QString & text, const QString & text1=0,  const QString & text2=0) ;
00032 
00033     virtual ~TGo4QLeafItem();
00034 
00035     void SetRootLeafName(const QString &name) {RootLeafName=name;}
00036     QString GetRootLeafName(){return RootLeafName;}
00037 
00038     void SetRootTree(TTree *fxTree){fxRootTree=fxTree;}
00039     TTree *GetRootTree(){return fxRootTree;}
00040 
00041     virtual void ItemDBkLocal();
00042 
00043     virtual void DropAction(QWidget*);
00044 
00045   protected:
00046 
00047     QString RootLeafName;
00048     TTree *fxRootTree;
00049 };
00050 
00051 
00052 #endif  //TGO4QLEAFITEM_H
00053 
00054 
00055 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:04 2005 for Go4-v2.10-5 by doxygen1.2.15