Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
// $Id: FWCollectionSummaryWidget.h,v 1.8 2010/06/16 14:04:40 matevz Exp $
20
//
21
22
// system include files
23
#include "TGFrame.h"
24
25
// user include files
26
27
// forward declarations
28
class
TGPictureButton;
29
class
TGCheckButton;
30
class
TGLayoutHints;
31
class
FWEventItem
;
32
class
FWColorSelect
;
33
class
FWBoxIconButton
;
34
class
FWBoxIconBase
;
35
class
FWCheckBoxIcon
;
36
class
FWColorBoxIcon
;
37
class
FWCustomIconsButton
;
38
class
FWColorPopup
;
39
class
FWCollectionSummaryTableManager
;
40
class
FWTableWidget
;
41
class
TGGC;
42
class
TGTextButton;
43
44
namespace
fireworks {
45
class
Context
;
46
}
47
48
class
FWCollectionSummaryWidgetConnectionHolder
;
49
50
class
FWCollectionSummaryWidget
:
public
TGCompositeFrame
51
{
52
53
public
:
54
FWCollectionSummaryWidget
(TGFrame* iParent,
FWEventItem
& iItem, TGLayoutHints*);
55
virtual
~FWCollectionSummaryWidget
();
56
57
// ---------- const member functions ---------------------
58
59
// ---------- static member functions --------------------
60
61
// ---------- member functions ---------------------------
62
void
displayChanged
();
63
void
itemChanged
();
64
65
//pass true if white or false if black
66
void
setBackgroundToWhite
(
bool
);
67
68
void
colorChangeRequested
(Color_t iColorIndex);
69
void
toggleItemVisible
();
70
void
toggleShowHide
();
71
void
colorClicked
();
72
73
void
requestForInfo
(
FWEventItem
*);
// *SIGNAL*
74
void
requestForFilter
(
FWEventItem
*);
// *SIGNAL*
75
void
requestForErrorInfo
(
FWEventItem
*);
// *SIGNAL*
76
void
requestForController
(
FWEventItem
*);
// *SIGNAL*
77
void
requestForModelContextMenu
(Int_t,Int_t);
// *SIGNAL*
78
79
void
infoClicked
();
80
void
stateClicked
();
81
void
labelClicked
();
82
83
ClassDef
(
FWCollectionSummaryWidget
,0);
84
85
void
itemColorClicked
(
int
iIndex, Int_t iRootX, Int_t iRootY);
86
void
modelSelected
(Int_t iRow,Int_t iButton,Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY);
87
88
private
:
89
FWCollectionSummaryWidget
(
const
FWCollectionSummaryWidget
&);
// stop default
90
91
const
FWCollectionSummaryWidget
&
operator=
(
const
FWCollectionSummaryWidget
&);
// stop default
92
93
void
createColorPopup
();
94
void
colorTable
();
95
// ---------- member data --------------------------------
96
FWEventItem
*
m_collection
;
97
TGLayoutHints*
m_hints
;
98
TGFrame*
m_parent
;
99
FWCustomIconsButton
*
m_showHideButton
;
100
FWBoxIconButton
*
m_isVisibleButton
;
101
FWCheckBoxIcon
*
m_isVisibleCheckBox
;
102
//FWColorSelect* m_colorSelectWidget;
103
FWBoxIconButton
*
m_colorSelectWidget
;
104
FWColorBoxIcon
*
m_colorSelectBox
;
105
FWCustomIconsButton
*
m_stateButton
;
106
FWCustomIconsButton
*
m_infoButton
;
107
TGTextButton*
m_label
;
108
TGFrame*
m_holder
;
109
bool
m_collectionShown
;
110
TGGC*
m_graphicsContext
;
111
TGGC*
m_tableContext
;
112
int
m_indexForColor
;
113
FWColorPopup
*
m_colorPopup
;
114
115
FWCollectionSummaryTableManager
*
m_tableManager
;
116
FWTableWidget
*
m_tableWidget
;
117
bool
m_backgroundIsWhite
;
118
119
FWCollectionSummaryWidgetConnectionHolder
*
m_connectionHolder
;
120
};
121
122
123
#endif
FWCollectionSummaryWidget::m_label
TGTextButton * m_label
Definition:
FWCollectionSummaryWidget.h:107
FWCollectionSummaryWidget::m_colorSelectBox
FWColorBoxIcon * m_colorSelectBox
Definition:
FWCollectionSummaryWidget.h:104
FWCollectionSummaryWidget::m_colorPopup
FWColorPopup * m_colorPopup
Definition:
FWCollectionSummaryWidget.h:113
FWTableWidget
Definition:
FWTableWidget.h:36
FWCollectionSummaryWidget::m_hints
TGLayoutHints * m_hints
Definition:
FWCollectionSummaryWidget.h:97
FWCollectionSummaryWidget::requestForInfo
void requestForInfo(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:587
FWCollectionSummaryWidget::FWCollectionSummaryWidget
FWCollectionSummaryWidget(TGFrame *iParent, FWEventItem &iItem, TGLayoutHints *)
Definition:
FWCollectionSummaryWidget.cc:253
FWCollectionSummaryWidget::m_tableWidget
FWTableWidget * m_tableWidget
Definition:
FWCollectionSummaryWidget.h:116
FWCollectionSummaryWidget::m_holder
TGFrame * m_holder
Definition:
FWCollectionSummaryWidget.h:108
Context
FWCollectionSummaryWidget::requestForErrorInfo
void requestForErrorInfo(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:599
FWCollectionSummaryWidget::toggleItemVisible
void toggleItemVisible()
Definition:
FWCollectionSummaryWidget.cc:448
FWCollectionSummaryTableManager
Definition:
FWCollectionSummaryTableManager.h:36
FWCollectionSummaryWidget::m_isVisibleCheckBox
FWCheckBoxIcon * m_isVisibleCheckBox
Definition:
FWCollectionSummaryWidget.h:101
FWCollectionSummaryWidget::colorTable
void colorTable()
Definition:
FWCollectionSummaryWidget.cc:710
FWCollectionSummaryWidgetConnectionHolder
Definition:
FWCollectionSummaryWidget.cc:40
FWCollectionSummaryWidget::ClassDef
ClassDef(FWCollectionSummaryWidget, 0)
FWCollectionSummaryWidget::m_collectionShown
bool m_collectionShown
Definition:
FWCollectionSummaryWidget.h:109
FWCollectionSummaryWidget::labelClicked
void labelClicked()
Definition:
FWCollectionSummaryWidget.cc:642
FWColorSelect
Definition:
FWColorSelect.h:116
FWCollectionSummaryWidget::createColorPopup
void createColorPopup()
Definition:
FWCollectionSummaryWidget.cc:523
FWCollectionSummaryWidget::m_colorSelectWidget
FWBoxIconButton * m_colorSelectWidget
Definition:
FWCollectionSummaryWidget.h:103
FWCollectionSummaryWidget::setBackgroundToWhite
void setBackgroundToWhite(bool)
Definition:
FWCollectionSummaryWidget.cc:653
FWCollectionSummaryWidget::m_infoButton
FWCustomIconsButton * m_infoButton
Definition:
FWCollectionSummaryWidget.h:106
FWCollectionSummaryWidget::m_collection
FWEventItem * m_collection
Definition:
FWCollectionSummaryWidget.h:96
FWCollectionSummaryWidget::itemColorClicked
void itemColorClicked(int iIndex, Int_t iRootX, Int_t iRootY)
Definition:
FWCollectionSummaryWidget.cc:556
FWCollectionSummaryWidget::m_showHideButton
FWCustomIconsButton * m_showHideButton
Definition:
FWCollectionSummaryWidget.h:99
FWCollectionSummaryWidget
Definition:
FWCollectionSummaryWidget.h:50
FWCollectionSummaryWidget::m_isVisibleButton
FWBoxIconButton * m_isVisibleButton
Definition:
FWCollectionSummaryWidget.h:100
FWCollectionSummaryWidget::m_connectionHolder
FWCollectionSummaryWidgetConnectionHolder * m_connectionHolder
Definition:
FWCollectionSummaryWidget.h:119
FWEventItem
Definition:
FWEventItem.h:57
FWCollectionSummaryWidget::colorClicked
void colorClicked()
Definition:
FWCollectionSummaryWidget.cc:537
FWCollectionSummaryWidget::itemChanged
void itemChanged()
Definition:
FWCollectionSummaryWidget.cc:407
FWCollectionSummaryWidget::m_parent
TGFrame * m_parent
Definition:
FWCollectionSummaryWidget.h:98
FWBoxIconButton
Definition:
FWBoxIconButton.h:30
FWCollectionSummaryWidget::m_graphicsContext
TGGC * m_graphicsContext
Definition:
FWCollectionSummaryWidget.h:110
FWCollectionSummaryWidget::requestForFilter
void requestForFilter(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:593
FWCollectionSummaryWidget::toggleShowHide
void toggleShowHide()
Definition:
FWCollectionSummaryWidget.cc:471
FWCollectionSummaryWidget::operator=
const FWCollectionSummaryWidget & operator=(const FWCollectionSummaryWidget &)
FWCollectionSummaryWidget::m_backgroundIsWhite
bool m_backgroundIsWhite
Definition:
FWCollectionSummaryWidget.h:117
FWColorPopup
Definition:
FWColorSelect.h:75
FWCollectionSummaryWidget::requestForController
void requestForController(FWEventItem *)
Definition:
FWCollectionSummaryWidget.cc:605
FWCheckBoxIcon
Definition:
FWCheckBoxIcon.h:29
FWCollectionSummaryWidget::displayChanged
void displayChanged()
Definition:
FWCollectionSummaryWidget.cc:396
FWCustomIconsButton
Definition:
FWCustomIconsButton.h:30
FWCollectionSummaryWidget::modelSelected
void modelSelected(Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY)
Definition:
FWCollectionSummaryWidget.cc:571
FWBoxIconBase
Definition:
FWBoxIconBase.h:29
FWCollectionSummaryWidget::stateClicked
void stateClicked()
Definition:
FWCollectionSummaryWidget.cc:631
FWCollectionSummaryWidget::m_tableContext
TGGC * m_tableContext
Definition:
FWCollectionSummaryWidget.h:111
FWCollectionSummaryWidget::colorChangeRequested
void colorChangeRequested(Color_t iColorIndex)
Definition:
FWCollectionSummaryWidget.cc:433
FWCollectionSummaryWidget::m_tableManager
FWCollectionSummaryTableManager * m_tableManager
Definition:
FWCollectionSummaryWidget.h:115
FWCollectionSummaryWidget::requestForModelContextMenu
void requestForModelContextMenu(Int_t, Int_t)
Definition:
FWCollectionSummaryWidget.cc:611
FWCollectionSummaryWidget::m_indexForColor
int m_indexForColor
Definition:
FWCollectionSummaryWidget.h:112
FWCollectionSummaryWidget::m_stateButton
FWCustomIconsButton * m_stateButton
Definition:
FWCollectionSummaryWidget.h:105
FWColorBoxIcon
Definition:
FWColorBoxIcon.h:29
FWCollectionSummaryWidget::infoClicked
void infoClicked()
Definition:
FWCollectionSummaryWidget.cc:620
FWCollectionSummaryWidget::~FWCollectionSummaryWidget
virtual ~FWCollectionSummaryWidget()
Definition:
FWCollectionSummaryWidget.cc:346
Generated for CMSSW Reference Manual by
1.8.5