CMS 3D CMS Logo

FWCollectionSummaryModelCellRenderer.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWCollectionSummaryModelCellRenderer_h
2 #define Fireworks_Core_FWCollectionSummaryModelCellRenderer_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWCollectionSummaryModelCellRenderer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed Feb 25 10:03:21 CST 2009
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 class FWColorBoxIcon;
28 class FWCheckBoxIcon;
29 class FWEventItem;
30 
32 public:
33  FWCollectionSummaryModelCellRenderer(const TGGC* iContext, const TGGC* iSelectContext);
35 
37  // ---------- const member functions ---------------------
38  UInt_t width() const override;
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
43  void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override;
44 
45  void setData(const FWEventItem* iItem, int iIndex);
46 
47  ClickHit clickHit(int iX, int iY) const;
48 
49 private:
51 
53  delete; // stop default
54 
55  // ---------- member data --------------------------------
59 };
60 
61 #endif
FWCollectionSummaryModelCellRenderer::kHitColor
Definition: FWCollectionSummaryModelCellRenderer.h:36
FWTextTableCellRenderer.h
FWCollectionSummaryModelCellRenderer::m_colorBox
FWColorBoxIcon * m_colorBox
Definition: FWCollectionSummaryModelCellRenderer.h:56
FWCollectionSummaryModelCellRenderer::operator=
const FWCollectionSummaryModelCellRenderer & operator=(const FWCollectionSummaryModelCellRenderer &)=delete
FWTextTableCellRenderer
Definition: FWTextTableCellRenderer.h:32
FWCheckBoxIcon
Definition: FWCheckBoxIcon.h:28
FWCollectionSummaryModelCellRenderer::draw
void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override
Definition: FWCollectionSummaryModelCellRenderer.cc:77
FWCollectionSummaryModelCellRenderer::~FWCollectionSummaryModelCellRenderer
~FWCollectionSummaryModelCellRenderer() override
Definition: FWCollectionSummaryModelCellRenderer.cc:51
FWCollectionSummaryModelCellRenderer::setData
void setData(const FWEventItem *iItem, int iIndex)
Definition: FWCollectionSummaryModelCellRenderer.cc:90
FWCollectionSummaryModelCellRenderer::kMiss
Definition: FWCollectionSummaryModelCellRenderer.h:36
FWCollectionSummaryModelCellRenderer::FWCollectionSummaryModelCellRenderer
FWCollectionSummaryModelCellRenderer(const TGGC *iContext, const TGGC *iSelectContext)
Definition: FWCollectionSummaryModelCellRenderer.cc:37
FWCollectionSummaryModelCellRenderer::clickHit
ClickHit clickHit(int iX, int iY) const
Definition: FWCollectionSummaryModelCellRenderer.cc:100
FWCollectionSummaryModelCellRenderer::m_colorContext
TGGC * m_colorContext
Definition: FWCollectionSummaryModelCellRenderer.h:58
FWCollectionSummaryModelCellRenderer::kHitCheck
Definition: FWCollectionSummaryModelCellRenderer.h:36
FWEventItem
Definition: FWEventItem.h:56
FWColorBoxIcon
Definition: FWColorBoxIcon.h:28
FWCollectionSummaryModelCellRenderer::ClickHit
ClickHit
Definition: FWCollectionSummaryModelCellRenderer.h:36
FWCollectionSummaryModelCellRenderer::m_checkBox
FWCheckBoxIcon * m_checkBox
Definition: FWCollectionSummaryModelCellRenderer.h:57
FWCollectionSummaryModelCellRenderer::width
UInt_t width() const override
returns the minimum width of the cell to which the renderer is representing
Definition: FWCollectionSummaryModelCellRenderer.cc:72
FWCollectionSummaryModelCellRenderer
Definition: FWCollectionSummaryModelCellRenderer.h:31