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 <memory>
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
TGComboBox;
17
class
TGTextButton;
18
class
TGCheckButton;
19
class
CmsShowCommon
;
20
class
FWColorManager
;
21
class
FWColorSelect
;
22
class
FWParameterBase
;
23
class
FWParameterSetterBase
;
24
25
class
CmsShowCommonPopup
:
public
TGTransientFrame,
public
FWParameterSetterEditorBase
{
26
public
:
27
CmsShowCommonPopup
(
CmsShowCommon
*,
const
TGWindow*
p
=
nullptr
, UInt_t
w
= 1, UInt_t
h
= 1);
28
~CmsShowCommonPopup
()
override
;
29
30
// ---------- member functions ---------------------------
31
32
void
CloseWindow
()
override
{ UnmapWindow(); }
33
34
void
switchBackground
();
35
void
permuteColors
();
36
void
randomizeColors
();
37
38
void
changeGeomColor
(Color_t);
39
void
changeGeomTransparency2D
(
int
);
40
void
changeGeomTransparency3D
(
int
);
41
void
changeSelectionColorSet
(Color_t);
42
void
colorSetChanged
();
43
void
setPaletteGUI
();
44
45
TGComboBox*
getCombo
() {
return
m_combo
; }
46
ClassDefOverride
(
CmsShowCommonPopup
, 0);
47
48
private
:
49
CmsShowCommonPopup
(
const
CmsShowCommonPopup
&);
50
const
CmsShowCommonPopup
&
operator=
(
const
CmsShowCommonPopup
&);
51
52
TGFrame*
makeSetter
(TGCompositeFrame*
frame
,
FWParameterBase
* param);
53
void
getColorSetColors
(
int
& hci,
int
& sci);
54
// ---------- member data --------------------------------
55
56
CmsShowCommon
*
m_common
;
57
58
TGTextButton*
m_backgroundButton
;
59
TGHSlider*
m_gammaSlider
;
60
TGTextButton*
m_gammaButton
;
61
#ifndef __CINT__
62
FWColorSelect
*
m_colorSelectWidget
[
kFWGeomColorSize
];
63
FWColorSelect
*
m_colorRnrCtxHighlightWidget
;
64
FWColorSelect
*
m_colorRnrCtxSelectWidget
;
65
std::vector<std::shared_ptr<FWParameterSetterBase> >
m_setters
;
66
#endif
67
TGComboBox*
m_combo
;
68
};
69
70
#endif
CmsShowCommonPopup::colorSetChanged
void colorSetChanged()
Definition:
CmsShowCommonPopup.cc:281
CmsShowCommonPopup::randomizeColors
void randomizeColors()
Definition:
CmsShowCommonPopup.cc:253
CmsShowCommonPopup::changeSelectionColorSet
void changeSelectionColorSet(Color_t)
Definition:
CmsShowCommonPopup.cc:263
CmsShowCommonPopup::CmsShowCommonPopup
CmsShowCommonPopup(CmsShowCommon *, const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1)
Definition:
CmsShowCommonPopup.cc:32
CmsShowCommonPopup::m_colorSelectWidget
FWColorSelect * m_colorSelectWidget[kFWGeomColorSize]
Definition:
CmsShowCommonPopup.h:62
FWParameterSetterBase
Definition:
FWParameterSetterBase.h:31
CmsShowCommonPopup::operator=
const CmsShowCommonPopup & operator=(const CmsShowCommonPopup &)
frame
Definition:
G4muDarkBremsstrahlungModel.h:27
FWParameterBase
Definition:
FWParameterBase.h:31
FWColorManager.h
w
T w() const
Definition:
extBasic3DVector.h:225
CmsShowCommonPopup::permuteColors
void permuteColors()
Definition:
CmsShowCommonPopup.cc:255
CmsShowCommonPopup::m_gammaButton
TGTextButton * m_gammaButton
Definition:
CmsShowCommonPopup.h:60
CmsShowCommonPopup::~CmsShowCommonPopup
~CmsShowCommonPopup() override
Definition:
CmsShowCommonPopup.cc:247
FWParameterSetterEditorBase.h
CmsShowCommonPopup::m_backgroundButton
TGTextButton * m_backgroundButton
Definition:
CmsShowCommonPopup.h:58
FWColorSelect
Definition:
FWColorSelect.h:107
CmsShowCommonPopup::changeGeomTransparency2D
void changeGeomTransparency2D(int)
Definition:
CmsShowCommonPopup.cc:276
CmsShowCommonPopup::changeGeomTransparency3D
void changeGeomTransparency3D(int)
Definition:
CmsShowCommonPopup.cc:278
CmsShowCommonPopup::changeGeomColor
void changeGeomColor(Color_t)
Definition:
CmsShowCommonPopup.cc:257
CmsShowCommonPopup::getColorSetColors
void getColorSetColors(int &hci, int &sci)
Definition:
CmsShowCommonPopup.cc:292
CmsShowCommonPopup::m_setters
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
Definition:
CmsShowCommonPopup.h:65
CmsShowCommonPopup::m_common
CmsShowCommon * m_common
Definition:
CmsShowCommonPopup.h:56
CmsShowCommon
Definition:
CmsShowCommon.h:43
CmsShowCommonPopup::getCombo
TGComboBox * getCombo()
Definition:
CmsShowCommonPopup.h:45
CmsShowCommonPopup::CloseWindow
void CloseWindow() override
Definition:
CmsShowCommonPopup.h:32
CmsShowCommonPopup::m_combo
TGComboBox * m_combo
Definition:
CmsShowCommonPopup.h:67
CmsShowCommonPopup::setPaletteGUI
void setPaletteGUI()
Definition:
CmsShowCommonPopup.cc:318
CmsShowCommonPopup::makeSetter
TGFrame * makeSetter(TGCompositeFrame *frame, FWParameterBase *param)
Definition:
CmsShowCommonPopup.cc:307
CmsShowCommonPopup::switchBackground
void switchBackground()
Definition:
CmsShowCommonPopup.cc:251
CmsShowCommonPopup::m_colorRnrCtxHighlightWidget
FWColorSelect * m_colorRnrCtxHighlightWidget
Definition:
CmsShowCommonPopup.h:63
FWColorManager
Definition:
FWColorManager.h:45
CmsShowCommonPopup::m_colorRnrCtxSelectWidget
FWColorSelect * m_colorRnrCtxSelectWidget
Definition:
CmsShowCommonPopup.h:64
FWParameterSetterEditorBase
Definition:
FWParameterSetterEditorBase.h:27
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::ClassDefOverride
ClassDefOverride(CmsShowCommonPopup, 0)
kFWGeomColorSize
Definition:
FWColorManager.h:42
CmsShowCommonPopup
Definition:
CmsShowCommonPopup.h:25
CmsShowCommonPopup::m_gammaSlider
TGHSlider * m_gammaSlider
Definition:
CmsShowCommonPopup.h:59
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14