Fireworks
Core
src
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
;
36
class
FWCustomIconsButton
;
37
class
FWColorPopup
;
38
class
FWCollectionSummaryTableManager
;
39
class
FWTableWidget
;
40
class
TGGC;
41
class
TGTextButton;
42
43
namespace
fireworks
{
44
class
Context
;
45
}
46
47
struct
FWCollectionSummaryWidgetConnectionHolder
;
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
80
ClassDefOverride
(
FWCollectionSummaryWidget
, 0);
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
:
86
FWCollectionSummaryWidget
(
const
FWCollectionSummaryWidget
&);
// stop default
87
88
const
FWCollectionSummaryWidget
&
operator=
(
const
FWCollectionSummaryWidget
&);
// stop default
89
90
void
createColorPopup
();
91
void
colorTable
();
92
// ---------- member data --------------------------------
93
FWEventItem
*
m_collection
;
94
TGLayoutHints*
m_hints
;
95
TGFrame*
m_parent
;
96
FWCustomIconsButton
*
m_showHideButton
;
97
FWBoxIconButton
*
m_isVisibleButton
;
98
FWCheckBoxIcon
*
m_isVisibleCheckBox
;
99
//FWColorSelect* m_colorSelectWidget;
100
FWBoxIconButton
*
m_colorSelectWidget
;
101
FWColorBoxIcon
*
m_colorSelectBox
;
102
FWCustomIconsButton
*
m_stateButton
;
103
FWCustomIconsButton
*
m_infoButton
;
104
TGTextButton*
m_label
;
105
TGFrame*
m_holder
;
106
bool
m_collectionShown
;
107
TGGC*
m_graphicsContext
;
108
TGGC*
m_tableContext
;
109
int
m_indexForColor
;
110
FWColorPopup
*
m_colorPopup
;
111
112
FWCollectionSummaryTableManager
*
m_tableManager
;
113
FWTableWidget
*
m_tableWidget
;
114
bool
m_backgroundIsWhite
;
115
116
FWCollectionSummaryWidgetConnectionHolder
*
m_connectionHolder
;
117
};
118
119
#endif
FWCollectionSummaryWidget::m_label
TGTextButton * m_label
Definition:
FWCollectionSummaryWidget.h:104
FWCollectionSummaryWidget::m_colorSelectBox
FWColorBoxIcon * m_colorSelectBox
Definition:
FWCollectionSummaryWidget.h:101
FWCollectionSummaryWidget::m_colorPopup
FWColorPopup * m_colorPopup
Definition:
FWCollectionSummaryWidget.h:110
FWTableWidget
Definition:
FWTableWidget.h:35
FWCollectionSummaryWidget::m_hints
TGLayoutHints * m_hints
Definition:
FWCollectionSummaryWidget.h:94
FWCollectionSummaryWidget::requestForInfo
void requestForInfo(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:536
FWCollectionSummaryWidget::FWCollectionSummaryWidget
FWCollectionSummaryWidget(TGFrame *iParent, FWEventItem &iItem, TGLayoutHints *)
Definition:
FWCollectionSummaryWidget.cc:225
FWCollectionSummaryWidget::m_tableWidget
FWTableWidget * m_tableWidget
Definition:
FWCollectionSummaryWidget.h:113
FWCollectionSummaryWidget::m_holder
TGFrame * m_holder
Definition:
FWCollectionSummaryWidget.h:105
Context
FWCollectionSummaryWidget::requestForErrorInfo
void requestForErrorInfo(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:544
FWCollectionSummaryWidget::toggleItemVisible
void toggleItemVisible()
Definition:
FWCollectionSummaryWidget.cc:407
FWCollectionSummaryTableManager
Definition:
FWCollectionSummaryTableManager.h:35
FWCollectionSummaryWidget::m_isVisibleCheckBox
FWCheckBoxIcon * m_isVisibleCheckBox
Definition:
FWCollectionSummaryWidget.h:98
FWCollectionSummaryWidget::colorTable
void colorTable()
Definition:
FWCollectionSummaryWidget.cc:639
FWCollectionSummaryWidgetConnectionHolder
Definition:
FWCollectionSummaryWidget.cc:40
FWCollectionSummaryWidget::m_collectionShown
bool m_collectionShown
Definition:
FWCollectionSummaryWidget.h:106
FWCollectionSummaryWidget::labelClicked
void labelClicked()
Definition:
FWCollectionSummaryWidget.cc:577
FWColorSelect
Definition:
FWColorSelect.h:107
FWCollectionSummaryWidget::createColorPopup
void createColorPopup()
Definition:
FWCollectionSummaryWidget.cc:477
FWCollectionSummaryWidget::m_colorSelectWidget
FWBoxIconButton * m_colorSelectWidget
Definition:
FWCollectionSummaryWidget.h:100
fireworks
Definition:
FWTauProxyBuilderBase.h:35
FWCollectionSummaryWidget::setBackgroundToWhite
void setBackgroundToWhite(bool)
Definition:
FWCollectionSummaryWidget.cc:586
FWCollectionSummaryWidget::m_infoButton
FWCustomIconsButton * m_infoButton
Definition:
FWCollectionSummaryWidget.h:103
FWCollectionSummaryWidget::m_collection
FWEventItem * m_collection
Definition:
FWCollectionSummaryWidget.h:93
FWCollectionSummaryWidget::itemColorClicked
void itemColorClicked(int iIndex, Int_t iRootX, Int_t iRootY)
Definition:
FWCollectionSummaryWidget.cc:510
FWCollectionSummaryWidget::m_showHideButton
FWCustomIconsButton * m_showHideButton
Definition:
FWCollectionSummaryWidget.h:96
FWCollectionSummaryWidget
Definition:
FWCollectionSummaryWidget.h:49
FWCollectionSummaryWidget::m_isVisibleButton
FWBoxIconButton * m_isVisibleButton
Definition:
FWCollectionSummaryWidget.h:97
FWCollectionSummaryWidget::m_connectionHolder
FWCollectionSummaryWidgetConnectionHolder * m_connectionHolder
Definition:
FWCollectionSummaryWidget.h:116
FWEventItem
Definition:
FWEventItem.h:56
FWCollectionSummaryWidget::colorClicked
void colorClicked()
Definition:
FWCollectionSummaryWidget.cc:488
FWCollectionSummaryWidget::itemChanged
void itemChanged()
Definition:
FWCollectionSummaryWidget.cc:370
FWCollectionSummaryWidget::m_parent
TGFrame * m_parent
Definition:
FWCollectionSummaryWidget.h:95
FWBoxIconButton
Definition:
FWBoxIconButton.h:29
FWCollectionSummaryWidget::m_graphicsContext
TGGC * m_graphicsContext
Definition:
FWCollectionSummaryWidget.h:107
FWCollectionSummaryWidget::requestForFilter
void requestForFilter(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:540
FWCollectionSummaryWidget::ClassDefOverride
ClassDefOverride(FWCollectionSummaryWidget, 0)
FWCollectionSummaryWidget::toggleShowHide
void toggleShowHide()
Definition:
FWCollectionSummaryWidget.cc:426
FWCollectionSummaryWidget::operator=
const FWCollectionSummaryWidget & operator=(const FWCollectionSummaryWidget &)
FWCollectionSummaryWidget::m_backgroundIsWhite
bool m_backgroundIsWhite
Definition:
FWCollectionSummaryWidget.h:114
FWColorPopup
Definition:
FWColorSelect.h:68
FWCollectionSummaryWidget::requestForController
void requestForController(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:548
FWCheckBoxIcon
Definition:
FWCheckBoxIcon.h:28
FWCollectionSummaryWidget::displayChanged
void displayChanged()
Definition:
FWCollectionSummaryWidget.cc:361
FWCustomIconsButton
Definition:
FWCustomIconsButton.h:29
FWCollectionSummaryWidget::modelSelected
void modelSelected(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY)
Definition:
FWCollectionSummaryWidget.cc:523
FWBoxIconBase
Definition:
FWBoxIconBase.h:28
FWCollectionSummaryWidget::stateClicked
void stateClicked()
Definition:
FWCollectionSummaryWidget.cc:568
FWCollectionSummaryWidget::m_tableContext
TGGC * m_tableContext
Definition:
FWCollectionSummaryWidget.h:108
FWCollectionSummaryWidget::colorChangeRequested
void colorChangeRequested(Color_t iColorIndex)
Definition:
FWCollectionSummaryWidget.cc:394
FWCollectionSummaryWidget::m_tableManager
FWCollectionSummaryTableManager * m_tableManager
Definition:
FWCollectionSummaryWidget.h:112
FWCollectionSummaryWidget::requestForModelContextMenu
void requestForModelContextMenu(Int_t, Int_t)
Definition:
FWCollectionSummaryWidget.cc:552
FWCollectionSummaryWidget::m_indexForColor
int m_indexForColor
Definition:
FWCollectionSummaryWidget.h:109
FWCollectionSummaryWidget::m_stateButton
FWCustomIconsButton * m_stateButton
Definition:
FWCollectionSummaryWidget.h:102
FWColorBoxIcon
Definition:
FWColorBoxIcon.h:28
FWCollectionSummaryWidget::~FWCollectionSummaryWidget
~FWCollectionSummaryWidget() override
Definition:
FWCollectionSummaryWidget.cc:316
FWCollectionSummaryWidget::infoClicked
void infoClicked()
Definition:
FWCollectionSummaryWidget.cc:559
Generated for CMSSW Reference Manual by
1.8.14