CMS 3D CMS Logo

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::m_infoButton
FWCustomIconsButton * m_infoButton
Definition: FWCollectionSummaryWidget.h:103
FWCollectionSummaryWidget::m_stateButton
FWCustomIconsButton * m_stateButton
Definition: FWCollectionSummaryWidget.h:102
FWCollectionSummaryWidget::m_collectionShown
bool m_collectionShown
Definition: FWCollectionSummaryWidget.h:106
FWCollectionSummaryWidget::stateClicked
void stateClicked()
Definition: FWCollectionSummaryWidget.cc:567
FWCollectionSummaryWidget::m_colorPopup
FWColorPopup * m_colorPopup
Definition: FWCollectionSummaryWidget.h:110
FWCollectionSummaryWidget::m_collection
FWEventItem * m_collection
Definition: FWCollectionSummaryWidget.h:93
FWCollectionSummaryTableManager
Definition: FWCollectionSummaryTableManager.h:35
FWCollectionSummaryWidget::toggleItemVisible
void toggleItemVisible()
Definition: FWCollectionSummaryWidget.cc:406
FWCollectionSummaryWidget::modelSelected
void modelSelected(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY)
Definition: FWCollectionSummaryWidget.cc:522
FWCollectionSummaryWidget::~FWCollectionSummaryWidget
~FWCollectionSummaryWidget() override
Definition: FWCollectionSummaryWidget.cc:315
Context
FWCollectionSummaryWidget::m_backgroundIsWhite
bool m_backgroundIsWhite
Definition: FWCollectionSummaryWidget.h:114
FWCheckBoxIcon
Definition: FWCheckBoxIcon.h:28
FWCollectionSummaryWidget::setBackgroundToWhite
void setBackgroundToWhite(bool)
Definition: FWCollectionSummaryWidget.cc:585
FWCollectionSummaryWidget::m_holder
TGFrame * m_holder
Definition: FWCollectionSummaryWidget.h:105
FWCollectionSummaryWidget::m_colorSelectBox
FWColorBoxIcon * m_colorSelectBox
Definition: FWCollectionSummaryWidget.h:101
FWCollectionSummaryWidgetConnectionHolder
Definition: FWCollectionSummaryWidget.cc:40
FWTableWidget
Definition: FWTableWidget.h:35
FWCollectionSummaryWidget::toggleShowHide
void toggleShowHide()
Definition: FWCollectionSummaryWidget.cc:425
FWCollectionSummaryWidget::m_showHideButton
FWCustomIconsButton * m_showHideButton
Definition: FWCollectionSummaryWidget.h:96
FWCollectionSummaryWidget::requestForModelContextMenu
void requestForModelContextMenu(Int_t, Int_t)
Definition: FWCollectionSummaryWidget.cc:551
FWCollectionSummaryWidget::createColorPopup
void createColorPopup()
Definition: FWCollectionSummaryWidget.cc:476
FWCollectionSummaryWidget::itemColorClicked
void itemColorClicked(int iIndex, Int_t iRootX, Int_t iRootY)
Definition: FWCollectionSummaryWidget.cc:509
FWCollectionSummaryWidget::itemChanged
void itemChanged()
Definition: FWCollectionSummaryWidget.cc:369
FWCustomIconsButton
Definition: FWCustomIconsButton.h:29
FWCollectionSummaryWidget::FWCollectionSummaryWidget
FWCollectionSummaryWidget(TGFrame *iParent, FWEventItem &iItem, TGLayoutHints *)
Definition: FWCollectionSummaryWidget.cc:224
FWCollectionSummaryWidget::m_graphicsContext
TGGC * m_graphicsContext
Definition: FWCollectionSummaryWidget.h:107
FWCollectionSummaryWidget::m_label
TGTextButton * m_label
Definition: FWCollectionSummaryWidget.h:104
FWCollectionSummaryWidget::requestForController
void requestForController(FWEventItem *)
Definition: FWCollectionSummaryWidget.cc:547
FWCollectionSummaryWidget::ClassDefOverride
ClassDefOverride(FWCollectionSummaryWidget, 0)
FWCollectionSummaryWidget::colorTable
void colorTable()
Definition: FWCollectionSummaryWidget.cc:638
FWCollectionSummaryWidget::colorChangeRequested
void colorChangeRequested(Color_t iColorIndex)
Definition: FWCollectionSummaryWidget.cc:393
FWCollectionSummaryWidget::displayChanged
void displayChanged()
Definition: FWCollectionSummaryWidget.cc:360
FWCollectionSummaryWidget::m_tableManager
FWCollectionSummaryTableManager * m_tableManager
Definition: FWCollectionSummaryWidget.h:112
FWCollectionSummaryWidget::m_indexForColor
int m_indexForColor
Definition: FWCollectionSummaryWidget.h:109
FWCollectionSummaryWidget::infoClicked
void infoClicked()
Definition: FWCollectionSummaryWidget.cc:558
FWCollectionSummaryWidget::requestForInfo
void requestForInfo(FWEventItem *)
Definition: FWCollectionSummaryWidget.cc:535
FWCollectionSummaryWidget::m_parent
TGFrame * m_parent
Definition: FWCollectionSummaryWidget.h:95
FWCollectionSummaryWidget::m_hints
TGLayoutHints * m_hints
Definition: FWCollectionSummaryWidget.h:94
FWColorSelect
Definition: FWColorSelect.h:107
FWColorPopup
Definition: FWColorSelect.h:68
FWCollectionSummaryWidget::colorClicked
void colorClicked()
Definition: FWCollectionSummaryWidget.cc:487
FWEventItem
Definition: FWEventItem.h:56
FWBoxIconButton
Definition: FWBoxIconButton.h:29
FWCollectionSummaryWidget::m_isVisibleCheckBox
FWCheckBoxIcon * m_isVisibleCheckBox
Definition: FWCollectionSummaryWidget.h:98
FWCollectionSummaryWidget::m_isVisibleButton
FWBoxIconButton * m_isVisibleButton
Definition: FWCollectionSummaryWidget.h:97
FWColorBoxIcon
Definition: FWColorBoxIcon.h:28
FWCollectionSummaryWidget::m_tableWidget
FWTableWidget * m_tableWidget
Definition: FWCollectionSummaryWidget.h:113
FWCollectionSummaryWidget
Definition: FWCollectionSummaryWidget.h:49
FWCollectionSummaryWidget::operator=
const FWCollectionSummaryWidget & operator=(const FWCollectionSummaryWidget &)
FWBoxIconBase
Definition: FWBoxIconBase.h:28
FWCollectionSummaryWidget::requestForFilter
void requestForFilter(FWEventItem *)
Definition: FWCollectionSummaryWidget.cc:539
FWCollectionSummaryWidget::m_colorSelectWidget
FWBoxIconButton * m_colorSelectWidget
Definition: FWCollectionSummaryWidget.h:100
FWCollectionSummaryWidget::m_tableContext
TGGC * m_tableContext
Definition: FWCollectionSummaryWidget.h:108
fireworks
Definition: FWTauProxyBuilderBase.h:35
FWCollectionSummaryWidget::requestForErrorInfo
void requestForErrorInfo(FWEventItem *)
Definition: FWCollectionSummaryWidget.cc:543
FWCollectionSummaryWidget::m_connectionHolder
FWCollectionSummaryWidgetConnectionHolder * m_connectionHolder
Definition: FWCollectionSummaryWidget.h:116
FWCollectionSummaryWidget::labelClicked
void labelClicked()
Definition: FWCollectionSummaryWidget.cc:576