00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef QFITITEM_H
00017 #define QFITITEM_H
00018
00019 #include <qlistview.h>
00020
00021 class TObject;
00022 class TGo4FitPanelSlots;
00023
00024 class QFitItem : public QListViewItem {
00025 public:
00026 QFitItem(TGo4FitPanelSlots* iSlots, QFitItem* parent, TObject* iObj, int iObjectType, int iWidgetType = -1, int iPopupMenuType = -1, int iGraphType = -1, int iTag = 0);
00027 QFitItem(TGo4FitPanelSlots* iSlots, 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 TGo4FitPanelSlots* fxSlots;
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