CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWColumnLabelCellRenderer.h
Go to the documentation of this file.
1 #ifndef Fireworks_TableWidget_FWColumnLabelCellRenderer_h
2 #define Fireworks_TableWidget_FWColumnLabelCellRenderer_h
3 // -*- C++ -*-
4 //
5 // Package: TableWidget
6 // Class : FWColumnLabelCellRenderer
7 //
17 //
18 // Original Author: Chris Jones
19 // Created: Mon Feb 2 16:44:11 EST 2009
20 //
21 
22 // system include files
23 
24 // user include files
27 
28 // forward declarations
29 
31 public:
32  FWColumnLabelCellRenderer(const TGGC* iContext = &(getDefaultGC()), bool isSortable = true);
33  ~FWColumnLabelCellRenderer() override;
34 
35  // ---------- const member functions ---------------------
37 
38  UInt_t width() const override;
39 
40  // ---------- static member functions --------------------
41 
42  // ---------- member functions ---------------------------
44 
45  void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override;
46 
47 private:
48  //FWColumnLabelCellRenderer(const FWColumnLabelCellRenderer&); // stop default
49 
50  //const FWColumnLabelCellRenderer& operator=(const FWColumnLabelCellRenderer&); // stop default
51 
52  // ---------- member data --------------------------------
53  static const UInt_t kGap = 2;
57 
59 };
60 
61 #endif
FWColumnLabelCellRenderer(const TGGC *iContext=&(getDefaultGC()), bool isSortable=true)
void setSortOrder(fireworks::table::SortOrder)
void draw(Drawable_t iID, int iX, int iY, unsigned int iWidth, unsigned int iHeight) override
UInt_t width() const override
returns the minimum width of the cell to which the renderer is representing
static const TGGC & getDefaultGC()
fireworks::table::SortOrder sortOrder() const
fireworks::table::SortOrder m_sortOrder