Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
Fireworks
Core
interface
CmsShowCommonPopup.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_CmsShowCommonPopup_h
2
#define Fireworks_Core_CmsShowCommonPopup_h
3
4
#ifndef __CINT__
5
#include <boost/shared_ptr.hpp>
6
#endif
7
#include "GuiTypes.h"
8
#include "TGFrame.h"
9
#include "
Fireworks/Core/interface/FWParameterSetterEditorBase.h
"
10
#ifndef __CINT__
11
#include "
Fireworks/Core/interface/FWColorManager.h
"
12
#endif
13
14
class
TGHSlider;
15
class
TGLabel;
16
class
TGTextButton;
17
class
TGCheckButton;
18
class
CmsShowCommon
;
19
class
FWColorManager
;
20
class
FWColorSelect
;
21
class
FWParameterBase
;
22
class
FWParameterSetterBase
;
23
24
class
CmsShowCommonPopup
:
public
TGTransientFrame,
public
FWParameterSetterEditorBase
25
{
26
public
:
27
CmsShowCommonPopup
(
CmsShowCommon
*,
const
TGWindow*
p
= 0,
UInt_t
w = 1,
UInt_t
h
= 1);
28
virtual
~CmsShowCommonPopup
();
29
30
// ---------- member functions ---------------------------
31
32
virtual
void
CloseWindow
() { UnmapWindow(); }
33
34
void
switchBackground
();
35
void
changeGeomColor
(Color_t);
36
void
changeGeomTransparency2D
(
int
);
37
void
changeGeomTransparency3D
(
int
);
38
void
colorSetChanged
();
39
40
ClassDef
(
CmsShowCommonPopup
, 0);
41
42
private
:
43
CmsShowCommonPopup
(
const
CmsShowCommonPopup
&);
44
const
CmsShowCommonPopup
&
operator=
(
const
CmsShowCommonPopup
&);
45
46
void
makeSetter
(TGCompositeFrame* frame,
FWParameterBase
* param);
47
// ---------- member data --------------------------------
48
49
CmsShowCommon
*
m_common
;
50
51
TGTextButton *
m_backgroundButton
;
52
TGHSlider *
m_gammaSlider
;
53
TGTextButton *
m_gammaButton
;
54
55
#ifndef __CINT__
56
FWColorSelect
*
m_colorSelectWidget
[
kFWGeomColorSize
];
57
std::vector<boost::shared_ptr<FWParameterSetterBase> >
m_setters
;
58
#endif
59
};
60
61
62
#endif
CmsShowCommonPopup::colorSetChanged
void colorSetChanged()
Definition:
CmsShowCommonPopup.cc:200
CmsShowCommonPopup::CmsShowCommonPopup
CmsShowCommonPopup(CmsShowCommon *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)
Definition:
CmsShowCommonPopup.cc:21
CmsShowCommonPopup::~CmsShowCommonPopup
virtual ~CmsShowCommonPopup()
Definition:
CmsShowCommonPopup.cc:166
CmsShowCommonPopup::m_colorSelectWidget
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
Definition:
CmsShowCommonPopup.h:56
FWParameterSetterBase
Definition:
FWParameterSetterBase.h:33
CmsShowCommonPopup::operator=
const CmsShowCommonPopup & operator=(const CmsShowCommonPopup &)
FWParameterBase
Definition:
FWParameterBase.h:32
FWColorManager.h
CmsShowCommonPopup::makeSetter
void makeSetter(TGCompositeFrame *frame, FWParameterBase *param)
Definition:
CmsShowCommonPopup.cc:209
CmsShowCommonPopup::ClassDef
ClassDef(CmsShowCommonPopup, 0)
CmsShowCommonPopup::CloseWindow
virtual void CloseWindow()
Definition:
CmsShowCommonPopup.h:32
CmsShowCommonPopup::m_gammaButton
TGTextButton * m_gammaButton
Definition:
CmsShowCommonPopup.h:53
FWParameterSetterEditorBase.h
CmsShowCommonPopup::m_backgroundButton
TGTextButton * m_backgroundButton
Definition:
CmsShowCommonPopup.h:51
FWColorSelect
Definition:
FWColorSelect.h:116
CmsShowCommonPopup::changeGeomTransparency2D
void changeGeomTransparency2D(int)
Definition:
CmsShowCommonPopup.cc:186
CmsShowCommonPopup::changeGeomTransparency3D
void changeGeomTransparency3D(int)
Definition:
CmsShowCommonPopup.cc:192
CmsShowCommonPopup::changeGeomColor
void changeGeomColor(Color_t)
Definition:
CmsShowCommonPopup.cc:178
CmsShowCommonPopup::m_common
CmsShowCommon * m_common
Definition:
CmsShowCommonPopup.h:49
CmsShowCommonPopup::m_setters
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
Definition:
CmsShowCommonPopup.h:57
CmsShowCommon
Definition:
CmsShowCommon.h:41
evf::UInt_t
unsigned int UInt_t
Definition:
FUTypes.h:12
L1TEmulatorMonitor_cff.p
tuple p
Definition:
L1TEmulatorMonitor_cff.py:48
CmsShowCommonPopup::switchBackground
void switchBackground()
Definition:
CmsShowCommonPopup.cc:171
FWColorManager
Definition:
FWColorManager.h:45
FWParameterSetterEditorBase
Definition:
FWParameterSetterEditorBase.h:28
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
kFWGeomColorSize
Definition:
FWColorManager.h:41
CmsShowCommonPopup
Definition:
CmsShowCommonPopup.h:24
CmsShowCommonPopup::m_gammaSlider
TGHSlider * m_gammaSlider
Definition:
CmsShowCommonPopup.h:52
Generated for CMSSW Reference Manual by
1.8.5