KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVLVEntry.h
1/*
2$Id: KVLVEntry.h,v 1.3 2009/04/28 09:11:29 franklan Exp $
3$Revision: 1.3 $
4$Date: 2009/04/28 09:11:29 $
5*/
6
9
10#ifndef __KVLVENTRY_H
11#define __KVLVENTRY_H
12
13#include "TGListView.h"
14#include "TFunction.h"
15#include "KVLVContainer.h"
16
65class KVLVEntry : public TGLVEntry {
66
67protected:
70
74
76
78
79public:
80 KVLVEntry(TObject* obj, const KVLVContainer* cnt,
81 UInt_t ncols, KVLVColumnData** coldata);
82 KVLVEntry(TObject* obj, const Char_t* objclass, const KVLVContainer* cnt,
83 UInt_t ncols, KVLVColumnData** coldata);
84 virtual ~KVLVEntry();
85
86 virtual void Refresh();
87 virtual void DrawCopy(Handle_t id, Int_t x, Int_t y);
88 void SetEditMode(Bool_t edit = kTRUE)
89 {
90 fEditMode = edit;
91 }
92
93 ClassDef(KVLVEntry, 0) //List view item class
94};
95
96#endif
int Int_t
unsigned int UInt_t
ULong_t Pixel_t
ULongptr_t Handle_t
bool Bool_t
char Char_t
#define ClassDef(name, id)
Utility class describing the data used to fill each column of the list view container.
Extension of TGLVContainer for KVListView widget.
One item/line in a KVListView window.
Definition KVLVEntry.h:65
Bool_t * fBoolean
'IsBoolean' attribute of each column
Definition KVLVEntry.h:75
virtual void DrawCopy(Handle_t id, Int_t x, Int_t y)
Bool_t fEditMode
Definition KVLVEntry.h:68
virtual void Refresh()
Update the object characteristics and ask for redraw.
Pixel_t fBGColor
background color of this item
Definition KVLVEntry.h:73
static Pixel_t fgBGColor
current background color for items
Definition KVLVEntry.h:71
void SetEditMode(Bool_t edit=kTRUE)
Definition KVLVEntry.h:88
static Pixel_t fgGreyPixel
light grey color used to distinguish adjacent list items
Definition KVLVEntry.h:72
virtual ~KVLVEntry()
Bool_t fDisconnectRefresh
disconnect object's Modified method from this object's Refresh when deleted
Definition KVLVEntry.h:77
Bool_t fColoured
=kTRUE if object has an associated color
Definition KVLVEntry.h:69