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,
25
public
FWParameterSetterEditorBase
26
{
27
public
:
28
CmsShowCommonPopup
(
CmsShowCommon
*,
const
TGWindow*
p
= 0,
UInt_t
w
= 1,
UInt_t
h
= 1);
29
virtual
~CmsShowCommonPopup
();
30
31
// ---------- member functions ---------------------------
32
33
virtual
void
CloseWindow
() { UnmapWindow(); }
34
35
void
switchBackground
();
36
void
changeGeomColor
(Color_t);
37
void
changeGeomTransparency2D
(
int
);
38
void
changeGeomTransparency3D
(
int
);
39
void
changeSelectionColorSet
(Color_t);
40
void
colorSetChanged
();
41
42
ClassDef
(
CmsShowCommonPopup
, 0);
43
44
private
:
45
CmsShowCommonPopup
(
const
CmsShowCommonPopup
&);
46
const
CmsShowCommonPopup
&
operator=
(
const
CmsShowCommonPopup
&);
47
48
void
makeSetter
(TGCompositeFrame* frame,
FWParameterBase
* param);
49
void
getColorSetColors
(
int
& hci,
int
& sci);
50
// ---------- member data --------------------------------
51
52
CmsShowCommon
*
m_common
;
53
54
TGTextButton *
m_backgroundButton
;
55
TGHSlider *
m_gammaSlider
;
56
TGTextButton *
m_gammaButton
;
57
58
#ifndef __CINT__
59
FWColorSelect
*
m_colorSelectWidget
[
kFWGeomColorSize
];
60
FWColorSelect
*
m_colorRnrCtxHighlightWidget
;
61
FWColorSelect
*
m_colorRnrCtxSelectWidget
;
62
std::vector<boost::shared_ptr<FWParameterSetterBase> >
m_setters
;
63
#endif
64
};
65
66
67
#endif
CmsShowCommonPopup::colorSetChanged
void colorSetChanged()
Definition:
CmsShowCommonPopup.cc:272
CmsShowCommonPopup::changeSelectionColorSet
void changeSelectionColorSet(Color_t)
Definition:
CmsShowCommonPopup.cc:240
CmsShowCommonPopup::CmsShowCommonPopup
CmsShowCommonPopup(CmsShowCommon *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)
Definition:
CmsShowCommonPopup.cc:32
CmsShowCommonPopup::~CmsShowCommonPopup
virtual ~CmsShowCommonPopup()
Definition:
CmsShowCommonPopup.cc:219
CmsShowCommonPopup::m_colorSelectWidget
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
Definition:
CmsShowCommonPopup.h:59
FWParameterSetterBase
Definition:
FWParameterSetterBase.h:32
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:300
CmsShowCommonPopup::ClassDef
ClassDef(CmsShowCommonPopup, 0)
CmsShowCommonPopup::CloseWindow
virtual void CloseWindow()
Definition:
CmsShowCommonPopup.h:33
CmsShowCommonPopup::m_gammaButton
TGTextButton * m_gammaButton
Definition:
CmsShowCommonPopup.h:56
FWParameterSetterEditorBase.h
CmsShowCommonPopup::m_backgroundButton
TGTextButton * m_backgroundButton
Definition:
CmsShowCommonPopup.h:54
FWColorSelect
Definition:
FWColorSelect.h:116
CmsShowCommonPopup::changeGeomTransparency2D
void changeGeomTransparency2D(int)
Definition:
CmsShowCommonPopup.cc:258
CmsShowCommonPopup::changeGeomTransparency3D
void changeGeomTransparency3D(int)
Definition:
CmsShowCommonPopup.cc:264
CmsShowCommonPopup::changeGeomColor
void changeGeomColor(Color_t)
Definition:
CmsShowCommonPopup.cc:231
CmsShowCommonPopup::getColorSetColors
void getColorSetColors(int &hci, int &sci)
Definition:
CmsShowCommonPopup.cc:284
CmsShowCommonPopup::m_common
CmsShowCommon * m_common
Definition:
CmsShowCommonPopup.h:52
CmsShowCommonPopup::m_setters
std::vector< boost::shared_ptr< FWParameterSetterBase > > m_setters
Definition:
CmsShowCommonPopup.h:62
CmsShowCommon
Definition:
CmsShowCommon.h:41
evf::UInt_t
unsigned int UInt_t
Definition:
FUTypes.h:12
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
CmsShowCommonPopup::switchBackground
void switchBackground()
Definition:
CmsShowCommonPopup.cc:224
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
CmsShowCommonPopup::m_colorRnrCtxHighlightWidget
FWColorSelect * m_colorRnrCtxHighlightWidget
Definition:
CmsShowCommonPopup.h:60
FWColorManager
Definition:
FWColorManager.h:45
CmsShowCommonPopup::m_colorRnrCtxSelectWidget
FWColorSelect * m_colorRnrCtxSelectWidget
Definition:
CmsShowCommonPopup.h:61
FWParameterSetterEditorBase
Definition:
FWParameterSetterEditorBase.h:28
kFWGeomColorSize
Definition:
FWColorManager.h:41
CmsShowCommonPopup
Definition:
CmsShowCommonPopup.h:24
CmsShowCommonPopup::m_gammaSlider
TGHSlider * m_gammaSlider
Definition:
CmsShowCommonPopup.h:55
w
T w() const
Definition:
newBasic3DVector.h:234
Generated for CMSSW Reference Manual by
1.8.5