CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWCollectionSummaryWidget.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWCollectionSummaryWidget_h
2 #define Fireworks_Core_FWCollectionSummaryWidget_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWCollectionSummaryWidget
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Sat Feb 14 10:02:30 CST 2009
19 //
20 
21 // system include files
22 #include "TGFrame.h"
23 
24 // user include files
25 
26 // forward declarations
27 class TGPictureButton;
28 class TGCheckButton;
29 class TGLayoutHints;
30 class FWEventItem;
31 class FWColorSelect;
32 class FWBoxIconButton;
33 class FWBoxIconBase;
34 class FWCheckBoxIcon;
35 class FWColorBoxIcon;
37 class FWColorPopup;
39 class FWTableWidget;
40 class TGGC;
41 class TGTextButton;
42 
43 namespace fireworks {
44  class Context;
45 }
46 
48 
49 class FWCollectionSummaryWidget : public TGCompositeFrame {
50 public:
51  FWCollectionSummaryWidget(TGFrame* iParent, FWEventItem& iItem, TGLayoutHints*);
52  ~FWCollectionSummaryWidget() override;
53 
54  // ---------- const member functions ---------------------
55 
56  // ---------- static member functions --------------------
57 
58  // ---------- member functions ---------------------------
59  void displayChanged();
60  void itemChanged();
61 
62  //pass true if white or false if black
63  void setBackgroundToWhite(bool);
64 
65  void colorChangeRequested(Color_t iColorIndex);
66  void toggleItemVisible();
67  void toggleShowHide();
68  void colorClicked();
69 
70  void requestForInfo(FWEventItem*); // *SIGNAL*
71  void requestForFilter(FWEventItem*); // *SIGNAL*
72  void requestForErrorInfo(FWEventItem*); // *SIGNAL*
73  void requestForController(FWEventItem*); // *SIGNAL*
74  void requestForModelContextMenu(Int_t, Int_t); // *SIGNAL*
75 
76  void infoClicked();
77  void stateClicked();
78  void labelClicked();
79 
81 
82  void itemColorClicked(int iIndex, Int_t iRootX, Int_t iRootY);
83  void modelSelected(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY);
84 
85 private:
87 
88  const FWCollectionSummaryWidget& operator=(const FWCollectionSummaryWidget&); // stop default
89 
90  void createColorPopup();
91  void colorTable();
92  // ---------- member data --------------------------------
94  TGLayoutHints* m_hints;
95  TGFrame* m_parent;
99  //FWColorSelect* m_colorSelectWidget;
104  TGTextButton* m_label;
105  TGFrame* m_holder;
111 
115 
117 };
118 
119 #endif
FWCollectionSummaryWidget(TGFrame *iParent, FWEventItem &iItem, TGLayoutHints *)
void itemColorClicked(int iIndex, Int_t iRootX, Int_t iRootY)
FWCustomIconsButton * m_showHideButton
FWCollectionSummaryWidgetConnectionHolder * m_connectionHolder
ClassDefOverride(FWCollectionSummaryWidget, 0)
const FWCollectionSummaryWidget & operator=(const FWCollectionSummaryWidget &)
void modelSelected(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY)
void colorChangeRequested(Color_t iColorIndex)
FWCollectionSummaryTableManager * m_tableManager
void requestForModelContextMenu(Int_t, Int_t)