Main Page
Namespaces
Classes
Package Documentation
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 <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,
26
public
FWParameterSetterEditorBase
27
{
28
public
:
29
CmsShowCommonPopup
(
CmsShowCommon
*,
const
TGWindow*
p
=
nullptr
, UInt_t
w
= 1, UInt_t
h
= 1);
30
~CmsShowCommonPopup
()
override
;
31
32
// ---------- member functions ---------------------------
33
34
void
CloseWindow
()
override
{ UnmapWindow(); }
35
36
void
switchBackground
();
37
void
permuteColors
();
38
void
randomizeColors
();
39
40
void
changeGeomColor
(Color_t);
41
void
changeGeomTransparency2D
(
int
);
42
void
changeGeomTransparency3D
(
int
);
43
void
changeSelectionColorSet
(Color_t);
44
void
colorSetChanged
();
45
void
setPaletteGUI
();
46
47
TGComboBox*
getCombo
() {
return
m_combo
;}
48
ClassDefOverride
(
CmsShowCommonPopup
, 0);
49
50
private
:
51
CmsShowCommonPopup
(
const
CmsShowCommonPopup
&);
52
const
CmsShowCommonPopup
&
operator=
(
const
CmsShowCommonPopup
&);
53
54
TGFrame*
makeSetter
(TGCompositeFrame*
frame
,
FWParameterBase
* param);
55
void
getColorSetColors
(
int
& hci,
int
& sci);
56
// ---------- member data --------------------------------
57
58
CmsShowCommon
*
m_common
;
59
60
TGTextButton *
m_backgroundButton
;
61
TGHSlider *
m_gammaSlider
;
62
TGTextButton *
m_gammaButton
;
63
#ifndef __CINT__
64
FWColorSelect
*
m_colorSelectWidget
[
kFWGeomColorSize
];
65
FWColorSelect
*
m_colorRnrCtxHighlightWidget
;
66
FWColorSelect
*
m_colorRnrCtxSelectWidget
;
67
std::vector<std::shared_ptr<FWParameterSetterBase> >
m_setters
;
68
#endif
69
TGComboBox *
m_combo
;
70
};
71
72
73
74
#endif
CmsShowCommonPopup::colorSetChanged
void colorSetChanged()
Definition:
CmsShowCommonPopup.cc:310
CmsShowCommonPopup::randomizeColors
void randomizeColors()
Definition:
CmsShowCommonPopup.cc:264
CmsShowCommonPopup::changeSelectionColorSet
void changeSelectionColorSet(Color_t)
Definition:
CmsShowCommonPopup.cc:279
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:64
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
FWParameterSetterBase
Definition:
FWParameterSetterBase.h:31
CmsShowCommonPopup::operator=
const CmsShowCommonPopup & operator=(const CmsShowCommonPopup &)
w
const double w
Definition:
UKUtility.cc:23
h
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
Definition:
L1TUtmAlgorithmRcd.h:4
frame
Definition:
G4muDarkBremsstrahlungModel.h:27
FWParameterBase
Definition:
FWParameterBase.h:31
FWColorManager.h
CmsShowCommonPopup::permuteColors
void permuteColors()
Definition:
CmsShowCommonPopup.cc:267
CmsShowCommonPopup::m_gammaButton
TGTextButton * m_gammaButton
Definition:
CmsShowCommonPopup.h:62
CmsShowCommonPopup::~CmsShowCommonPopup
~CmsShowCommonPopup() override
Definition:
CmsShowCommonPopup.cc:255
FWParameterSetterEditorBase.h
CmsShowCommonPopup::m_backgroundButton
TGTextButton * m_backgroundButton
Definition:
CmsShowCommonPopup.h:60
FWColorSelect
Definition:
FWColorSelect.h:116
CmsShowCommonPopup::changeGeomTransparency2D
void changeGeomTransparency2D(int)
Definition:
CmsShowCommonPopup.cc:296
CmsShowCommonPopup::changeGeomTransparency3D
void changeGeomTransparency3D(int)
Definition:
CmsShowCommonPopup.cc:302
CmsShowCommonPopup::changeGeomColor
void changeGeomColor(Color_t)
Definition:
CmsShowCommonPopup.cc:270
CmsShowCommonPopup::getColorSetColors
void getColorSetColors(int &hci, int &sci)
Definition:
CmsShowCommonPopup.cc:322
CmsShowCommonPopup::m_setters
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
Definition:
CmsShowCommonPopup.h:67
CmsShowCommonPopup::m_common
CmsShowCommon * m_common
Definition:
CmsShowCommonPopup.h:58
CmsShowCommon
Definition:
CmsShowCommon.h:44
CmsShowCommonPopup::getCombo
TGComboBox * getCombo()
Definition:
CmsShowCommonPopup.h:47
CmsShowCommonPopup::CloseWindow
void CloseWindow() override
Definition:
CmsShowCommonPopup.h:34
CmsShowCommonPopup::m_combo
TGComboBox * m_combo
Definition:
CmsShowCommonPopup.h:69
CmsShowCommonPopup::setPaletteGUI
void setPaletteGUI()
Definition:
CmsShowCommonPopup.cc:354
CmsShowCommonPopup::makeSetter
TGFrame * makeSetter(TGCompositeFrame *frame, FWParameterBase *param)
Definition:
CmsShowCommonPopup.cc:339
CmsShowCommonPopup::switchBackground
void switchBackground()
Definition:
CmsShowCommonPopup.cc:261
CmsShowCommonPopup::m_colorRnrCtxHighlightWidget
FWColorSelect * m_colorRnrCtxHighlightWidget
Definition:
CmsShowCommonPopup.h:65
FWColorManager
Definition:
FWColorManager.h:47
CmsShowCommonPopup::m_colorRnrCtxSelectWidget
FWColorSelect * m_colorRnrCtxSelectWidget
Definition:
CmsShowCommonPopup.h:66
FWParameterSetterEditorBase
Definition:
FWParameterSetterEditorBase.h:27
CmsShowCommonPopup::ClassDefOverride
ClassDefOverride(CmsShowCommonPopup, 0)
kFWGeomColorSize
Definition:
FWColorManager.h:43
CmsShowCommonPopup
Definition:
CmsShowCommonPopup.h:25
CmsShowCommonPopup::m_gammaSlider
TGHSlider * m_gammaSlider
Definition:
CmsShowCommonPopup.h:61
Generated for CMSSW Reference Manual by
1.8.11