Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
class
FWCollectionSummaryWidgetConnectionHolder
;
48
49
class
FWCollectionSummaryWidget
:
public
TGCompositeFrame
50
{
51
52
public
:
53
FWCollectionSummaryWidget
(TGFrame* iParent,
FWEventItem
& iItem, TGLayoutHints*);
54
virtual
~FWCollectionSummaryWidget
();
55
56
// ---------- const member functions ---------------------
57
58
// ---------- static member functions --------------------
59
60
// ---------- member functions ---------------------------
61
void
displayChanged
();
62
void
itemChanged
();
63
64
//pass true if white or false if black
65
void
setBackgroundToWhite
(
bool
);
66
67
void
colorChangeRequested
(Color_t iColorIndex);
68
void
toggleItemVisible
();
69
void
toggleShowHide
();
70
void
colorClicked
();
71
72
void
requestForInfo
(
FWEventItem
*);
// *SIGNAL*
73
void
requestForFilter
(
FWEventItem
*);
// *SIGNAL*
74
void
requestForErrorInfo
(
FWEventItem
*);
// *SIGNAL*
75
void
requestForController
(
FWEventItem
*);
// *SIGNAL*
76
void
requestForModelContextMenu
(Int_t,Int_t);
// *SIGNAL*
77
78
void
infoClicked
();
79
void
stateClicked
();
80
void
labelClicked
();
81
82
ClassDef
(
FWCollectionSummaryWidget
,0);
83
84
void
itemColorClicked
(
int
iIndex, Int_t iRootX, Int_t iRootY);
85
void
modelSelected
(Int_t iRow,Int_t iButton,Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY);
86
87
private
:
88
FWCollectionSummaryWidget
(
const
FWCollectionSummaryWidget
&);
// stop default
89
90
const
FWCollectionSummaryWidget
&
operator=
(
const
FWCollectionSummaryWidget
&);
// stop default
91
92
void
createColorPopup
();
93
void
colorTable
();
94
// ---------- member data --------------------------------
95
FWEventItem
*
m_collection
;
96
TGLayoutHints*
m_hints
;
97
TGFrame*
m_parent
;
98
FWCustomIconsButton
*
m_showHideButton
;
99
FWBoxIconButton
*
m_isVisibleButton
;
100
FWCheckBoxIcon
*
m_isVisibleCheckBox
;
101
//FWColorSelect* m_colorSelectWidget;
102
FWBoxIconButton
*
m_colorSelectWidget
;
103
FWColorBoxIcon
*
m_colorSelectBox
;
104
FWCustomIconsButton
*
m_stateButton
;
105
FWCustomIconsButton
*
m_infoButton
;
106
TGTextButton*
m_label
;
107
TGFrame*
m_holder
;
108
bool
m_collectionShown
;
109
TGGC*
m_graphicsContext
;
110
TGGC*
m_tableContext
;
111
int
m_indexForColor
;
112
FWColorPopup
*
m_colorPopup
;
113
114
FWCollectionSummaryTableManager
*
m_tableManager
;
115
FWTableWidget
*
m_tableWidget
;
116
bool
m_backgroundIsWhite
;
117
118
FWCollectionSummaryWidgetConnectionHolder
*
m_connectionHolder
;
119
};
120
121
122
#endif
FWCollectionSummaryWidget::m_label
TGTextButton * m_label
Definition:
FWCollectionSummaryWidget.h:106
FWCollectionSummaryWidget::m_colorSelectBox
FWColorBoxIcon * m_colorSelectBox
Definition:
FWCollectionSummaryWidget.h:103
FWCollectionSummaryWidget::m_colorPopup
FWColorPopup * m_colorPopup
Definition:
FWCollectionSummaryWidget.h:112
FWTableWidget
Definition:
FWTableWidget.h:35
FWCollectionSummaryWidget::m_hints
TGLayoutHints * m_hints
Definition:
FWCollectionSummaryWidget.h:96
FWCollectionSummaryWidget::requestForInfo
void requestForInfo(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:586
FWCollectionSummaryWidget::FWCollectionSummaryWidget
FWCollectionSummaryWidget(TGFrame *iParent, FWEventItem &iItem, TGLayoutHints *)
Definition:
FWCollectionSummaryWidget.cc:252
FWCollectionSummaryWidget::m_tableWidget
FWTableWidget * m_tableWidget
Definition:
FWCollectionSummaryWidget.h:115
FWCollectionSummaryWidget::m_holder
TGFrame * m_holder
Definition:
FWCollectionSummaryWidget.h:107
Context
FWCollectionSummaryWidget::requestForErrorInfo
void requestForErrorInfo(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:598
FWCollectionSummaryWidget::toggleItemVisible
void toggleItemVisible()
Definition:
FWCollectionSummaryWidget.cc:447
FWCollectionSummaryTableManager
Definition:
FWCollectionSummaryTableManager.h:35
FWCollectionSummaryWidget::m_isVisibleCheckBox
FWCheckBoxIcon * m_isVisibleCheckBox
Definition:
FWCollectionSummaryWidget.h:100
FWCollectionSummaryWidget::colorTable
void colorTable()
Definition:
FWCollectionSummaryWidget.cc:709
FWCollectionSummaryWidgetConnectionHolder
Definition:
FWCollectionSummaryWidget.cc:39
FWCollectionSummaryWidget::ClassDef
ClassDef(FWCollectionSummaryWidget, 0)
FWCollectionSummaryWidget::m_collectionShown
bool m_collectionShown
Definition:
FWCollectionSummaryWidget.h:108
FWCollectionSummaryWidget::labelClicked
void labelClicked()
Definition:
FWCollectionSummaryWidget.cc:641
FWColorSelect
Definition:
FWColorSelect.h:116
FWCollectionSummaryWidget::createColorPopup
void createColorPopup()
Definition:
FWCollectionSummaryWidget.cc:522
FWCollectionSummaryWidget::m_colorSelectWidget
FWBoxIconButton * m_colorSelectWidget
Definition:
FWCollectionSummaryWidget.h:102
FWCollectionSummaryWidget::setBackgroundToWhite
void setBackgroundToWhite(bool)
Definition:
FWCollectionSummaryWidget.cc:652
FWCollectionSummaryWidget::m_infoButton
FWCustomIconsButton * m_infoButton
Definition:
FWCollectionSummaryWidget.h:105
FWCollectionSummaryWidget::m_collection
FWEventItem * m_collection
Definition:
FWCollectionSummaryWidget.h:95
FWCollectionSummaryWidget::itemColorClicked
void itemColorClicked(int iIndex, Int_t iRootX, Int_t iRootY)
Definition:
FWCollectionSummaryWidget.cc:555
FWCollectionSummaryWidget::m_showHideButton
FWCustomIconsButton * m_showHideButton
Definition:
FWCollectionSummaryWidget.h:98
FWCollectionSummaryWidget
Definition:
FWCollectionSummaryWidget.h:49
FWCollectionSummaryWidget::m_isVisibleButton
FWBoxIconButton * m_isVisibleButton
Definition:
FWCollectionSummaryWidget.h:99
FWCollectionSummaryWidget::m_connectionHolder
FWCollectionSummaryWidgetConnectionHolder * m_connectionHolder
Definition:
FWCollectionSummaryWidget.h:118
FWEventItem
Definition:
FWEventItem.h:56
FWCollectionSummaryWidget::colorClicked
void colorClicked()
Definition:
FWCollectionSummaryWidget.cc:536
FWCollectionSummaryWidget::itemChanged
void itemChanged()
Definition:
FWCollectionSummaryWidget.cc:406
FWCollectionSummaryWidget::m_parent
TGFrame * m_parent
Definition:
FWCollectionSummaryWidget.h:97
FWBoxIconButton
Definition:
FWBoxIconButton.h:29
FWCollectionSummaryWidget::m_graphicsContext
TGGC * m_graphicsContext
Definition:
FWCollectionSummaryWidget.h:109
FWCollectionSummaryWidget::requestForFilter
void requestForFilter(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:592
FWCollectionSummaryWidget::toggleShowHide
void toggleShowHide()
Definition:
FWCollectionSummaryWidget.cc:470
FWCollectionSummaryWidget::operator=
const FWCollectionSummaryWidget & operator=(const FWCollectionSummaryWidget &)
FWCollectionSummaryWidget::m_backgroundIsWhite
bool m_backgroundIsWhite
Definition:
FWCollectionSummaryWidget.h:116
FWColorPopup
Definition:
FWColorSelect.h:75
FWCollectionSummaryWidget::requestForController
void requestForController(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:604
FWCheckBoxIcon
Definition:
FWCheckBoxIcon.h:28
FWCollectionSummaryWidget::displayChanged
void displayChanged()
Definition:
FWCollectionSummaryWidget.cc:395
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:570
FWBoxIconBase
Definition:
FWBoxIconBase.h:28
FWCollectionSummaryWidget::stateClicked
void stateClicked()
Definition:
FWCollectionSummaryWidget.cc:630
FWCollectionSummaryWidget::m_tableContext
TGGC * m_tableContext
Definition:
FWCollectionSummaryWidget.h:110
FWCollectionSummaryWidget::colorChangeRequested
void colorChangeRequested(Color_t iColorIndex)
Definition:
FWCollectionSummaryWidget.cc:432
FWCollectionSummaryWidget::m_tableManager
FWCollectionSummaryTableManager * m_tableManager
Definition:
FWCollectionSummaryWidget.h:114
FWCollectionSummaryWidget::requestForModelContextMenu
void requestForModelContextMenu(Int_t, Int_t)
Definition:
FWCollectionSummaryWidget.cc:610
FWCollectionSummaryWidget::m_indexForColor
int m_indexForColor
Definition:
FWCollectionSummaryWidget.h:111
FWCollectionSummaryWidget::m_stateButton
FWCustomIconsButton * m_stateButton
Definition:
FWCollectionSummaryWidget.h:104
FWColorBoxIcon
Definition:
FWColorBoxIcon.h:28
FWCollectionSummaryWidget::infoClicked
void infoClicked()
Definition:
FWCollectionSummaryWidget.cc:619
FWCollectionSummaryWidget::~FWCollectionSummaryWidget
virtual ~FWCollectionSummaryWidget()
Definition:
FWCollectionSummaryWidget.cc:345
Generated for CMSSW Reference Manual by
1.8.5