CMS 3D CMS Logo

FWCheckedTextTableCellRenderer.h
Go to the documentation of this file.
1 #ifndef Fireworks_TableWidget_FWCheckedTextTableCellRenderer_h
2 #define Fireworks_TableWidget_FWCheckedTextTableCellRenderer_h
3 // -*- C++ -*-
4 //
5 // Package: TableWidget
6 // Class : FWCheckedTextTableCellRenderer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue Feb 3 14:29:48 EST 2009
19 //
20 
21 // system include files
22 #include "TQObject.h"
23 
24 // user include files
26 
27 // forward declarations
28 
30 public:
31  FWCheckedTextTableCellRenderer(const TGGC* iContext = &(getDefaultGC()));
33 
34  // ---------- const member functions ---------------------
35  bool isChecked() const;
36 
37  UInt_t width() const override;
38 
39  // ---------- static member functions --------------------
40 
41  // ---------- member functions ---------------------------
42  void setChecked(bool);
43 
44  void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override;
45 
46  void buttonEvent(Event_t* iClickEvent, int iRelClickX, int iRelClickY) override;
47 
48  void checkBoxClicked(); //*SIGNAL*
49 
51 
52 private:
53  //FWCheckedTextTableCellRenderer(const FWCheckedTextTableCellRenderer&); // stop default
54 
55  //const FWCheckedTextTableCellRenderer& operator=(const FWCheckedTextTableCellRenderer&); // stop default
56 
57  // ---------- member data --------------------------------
58  static const UInt_t kGap = 2;
60 };
61 
62 #endif
FWCheckedTextTableCellRenderer
Definition: FWCheckedTextTableCellRenderer.h:29
FWCheckedTextTableCellRenderer::draw
void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override
Definition: FWCheckedTextTableCellRenderer.cc:57
FWTextTableCellRenderer.h
FWTextTableCellRenderer
Definition: FWTextTableCellRenderer.h:32
FWCheckedTextTableCellRenderer::checkBoxClicked
void checkBoxClicked()
Definition: FWCheckedTextTableCellRenderer.cc:85
FWCheckedTextTableCellRenderer::kGap
static const UInt_t kGap
Definition: FWCheckedTextTableCellRenderer.h:58
FWCheckedTextTableCellRenderer::isChecked
bool isChecked() const
Definition: FWCheckedTextTableCellRenderer.cc:90
FWCheckedTextTableCellRenderer::ClassDefOverride
ClassDefOverride(FWCheckedTextTableCellRenderer, 0)
FWCheckedTextTableCellRenderer::FWCheckedTextTableCellRenderer
FWCheckedTextTableCellRenderer(const TGGC *iContext=&(getDefaultGC()))
Definition: FWCheckedTextTableCellRenderer.cc:30
FWTextTableCellRenderer::getDefaultGC
static const TGGC & getDefaultGC()
Definition: FWTextTableCellRenderer.cc:128
FWCheckedTextTableCellRenderer::buttonEvent
void buttonEvent(Event_t *iClickEvent, int iRelClickX, int iRelClickY) override
Definition: FWCheckedTextTableCellRenderer.cc:74
FWCheckedTextTableCellRenderer::width
UInt_t width() const override
returns the minimum width of the cell to which the renderer is representing
Definition: FWCheckedTextTableCellRenderer.cc:92
FWCheckedTextTableCellRenderer::setChecked
void setChecked(bool)
Definition: FWCheckedTextTableCellRenderer.cc:55
FWCheckedTextTableCellRenderer::m_isChecked
bool m_isChecked
Definition: FWCheckedTextTableCellRenderer.h:59
FWCheckedTextTableCellRenderer::~FWCheckedTextTableCellRenderer
~FWCheckedTextTableCellRenderer() override
Definition: FWCheckedTextTableCellRenderer.cc:38