Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

QFitItem.h

Go to the documentation of this file.
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 QFITITEM_H
00017 #define QFITITEM_H
00018 
00019 #include <qlistview.h>
00020 
00021 class TObject;
00022 class TGo4FitPanel;
00023 
00024 class QFitItem : public QListViewItem {
00025    public:
00026      QFitItem(TGo4FitPanel* panel, QFitItem* parent, TObject* iObj, int iObjectType, int iWidgetType = -1, int iPopupMenuType = -1, int iGraphType = -1, int iTag = 0);
00027      QFitItem(TGo4FitPanel* panel, QListView * parent, TObject* iObj, int iObjectType, int iWidgetType = -1, int iPopupMenuType = -1, int iGraphType = -1, int iTag = 0);
00028      virtual ~QFitItem();
00029 
00030      TObject* Object();
00031      void SetObject(TObject* obj);
00032      int ObjectType();
00033      int WidgetType();
00034      int PopupMenuType();
00035      int GraphType();
00036      int Tag();
00037      QFitItem* Parent();
00038 
00039      QFitItem* DefineWidgetItem();
00040      QFitItem* DefineGraphItem();
00041      bool FindInParents(QFitItem* item);
00042 
00043    protected:
00044      TGo4FitPanel* fxPanel;
00045      TObject*      fxObj;
00046      int           fiObjectType;
00047      int           fiWidgetType;
00048      int           fiPopupMenuType;
00049      int           fiGraphType;
00050      int           fiTag;
00051 };
00052 
00053 #endif // QFITITEM_H
00054 
00055 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:13 2008 for Go4-v3.04-1 by  doxygen 1.4.2