#include <CmsShowCommonPopup.h>
Public Member Functions | |
void | changeGeomColor (Color_t) |
void | changeGeomTransparency2D (int) |
void | changeGeomTransparency3D (int) |
void | changeSelectionColorSet (Color_t) |
ClassDef (CmsShowCommonPopup, 0) | |
virtual void | CloseWindow () |
CmsShowCommonPopup (CmsShowCommon *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1) | |
void | colorSetChanged () |
TGComboBox * | getCombo () |
void | permuteColors () |
void | randomizeColors () |
void | setPaletteGUI () |
void | switchBackground () |
virtual | ~CmsShowCommonPopup () |
Public Member Functions inherited from FWParameterSetterEditorBase | |
FWParameterSetterEditorBase () | |
virtual void | updateEditor () |
virtual | ~FWParameterSetterEditorBase () |
Private Member Functions | |
CmsShowCommonPopup (const CmsShowCommonPopup &) | |
void | getColorSetColors (int &hci, int &sci) |
TGFrame * | makeSetter (TGCompositeFrame *frame, FWParameterBase *param) |
const CmsShowCommonPopup & | operator= (const CmsShowCommonPopup &) |
Private Attributes | |
TGTextButton * | m_backgroundButton |
FWColorSelect * | m_colorRnrCtxHighlightWidget |
FWColorSelect * | m_colorRnrCtxSelectWidget |
FWColorSelect * | m_colorSelectWidget [kFWGeomColorSize] |
TGComboBox * | m_combo |
CmsShowCommon * | m_common |
TGTextButton * | m_gammaButton |
TGHSlider * | m_gammaSlider |
std::vector< std::shared_ptr< FWParameterSetterBase > > | m_setters |
Definition at line 25 of file CmsShowCommonPopup.h.
CmsShowCommonPopup::CmsShowCommonPopup | ( | CmsShowCommon * | model, |
const TGWindow * | p = 0 , |
||
UInt_t | w = 1 , |
||
UInt_t | h = 1 |
||
) |
Definition at line 31 of file CmsShowCommonPopup.cc.
References FWGenericParameter< T >::changed_, CmsShowCommon::colorManager(), f, FWColorManager::geomColor(), FWColorManager::geomTransparency(), getColorSetColors(), photonIsolationHIProducer_cfi::hf, mps_fire::i, gen::k, kFWGeomColorSize, kFWMuonBarrelLineColorIndex, kFWMuonEndcapLineColorIndex, kFWPixelBarrelColorIndex, kFWPixelEndcapColorIndex, kFWTrackerBarrelColorIndex, kFWTrackerEndcapColorIndex, diffTwoXMLs::label, m_backgroundButton, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_combo, m_common, CmsShowCommon::m_drawBreakPoints, CmsShowCommon::m_energyScale, CmsShowCommon::m_gamma, CmsShowCommon::m_palette, CmsShowCommon::m_trackBreak, makeSetter(), cscdqm::h::names, edmIntegrityCheck::pool, FWColorSelect::SetColorByIndex(), setPaletteGUI(), AlCaHLTBitMon_QueryRunRegistry::string, and geometryCSVtoXML::xx.
Referenced by getCombo().
|
virtual |
Definition at line 254 of file CmsShowCommonPopup.cc.
|
private |
void CmsShowCommonPopup::changeGeomColor | ( | Color_t | iColor | ) |
Definition at line 269 of file CmsShowCommonPopup.cc.
References fwrapper::cs, m_common, and CmsShowCommon::setGeomColor().
Referenced by CloseWindow().
void CmsShowCommonPopup::changeGeomTransparency2D | ( | int | iTransp | ) |
Definition at line 295 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::setGeomTransparency().
Referenced by CloseWindow().
void CmsShowCommonPopup::changeGeomTransparency3D | ( | int | iTransp | ) |
Definition at line 301 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::setGeomTransparency().
Referenced by CloseWindow().
void CmsShowCommonPopup::changeSelectionColorSet | ( | Color_t | idx | ) |
Definition at line 278 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), fwrapper::cs, FWColorManager::isColorSetDark(), m_common, and findQualityFiles::v.
Referenced by CloseWindow().
CmsShowCommonPopup::ClassDef | ( | CmsShowCommonPopup | , |
0 | |||
) |
Referenced by getCombo().
|
inlinevirtual |
Definition at line 34 of file CmsShowCommonPopup.h.
References changeGeomColor(), changeGeomTransparency2D(), changeGeomTransparency3D(), changeSelectionColorSet(), colorSetChanged(), permuteColors(), randomizeColors(), setPaletteGUI(), and switchBackground().
void CmsShowCommonPopup::colorSetChanged | ( | ) |
Definition at line 309 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), FWColorManager::geomColor(), getColorSetColors(), mps_fire::i, kFWGeomColorSize, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_common, and FWColorSelect::SetColorByIndex().
Referenced by CloseWindow(), and FWGUIManager::finishUpColorChange().
|
private |
Definition at line 321 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), glc, FWColorManager::isColorSetDark(), m_common, CmsShowCommon::m_darkColorSet, and CmsShowCommon::m_lightColorSet.
Referenced by CmsShowCommonPopup(), colorSetChanged(), and getCombo().
|
inline |
Definition at line 47 of file CmsShowCommonPopup.h.
References ClassDef(), CmsShowCommonPopup(), getColorSetColors(), m_combo, makeSetter(), and operator=().
Referenced by CmsShowCommon::loopPalettes().
|
private |
Definition at line 338 of file CmsShowCommonPopup.cc.
References m_setters, and FWParameterSetterBase::makeSetterFor().
Referenced by CmsShowCommonPopup(), and getCombo().
|
private |
Referenced by getCombo().
void CmsShowCommonPopup::permuteColors | ( | ) |
Definition at line 266 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::permuteColors().
Referenced by CloseWindow(), and CmsShowCommon::gamma().
void CmsShowCommonPopup::randomizeColors | ( | ) |
Definition at line 263 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::randomizeColors().
Referenced by CloseWindow(), and CmsShowCommon::gamma().
void CmsShowCommonPopup::setPaletteGUI | ( | ) |
Definition at line 353 of file CmsShowCommonPopup.cc.
References fireworks::Context::colorManager(), FWColorManager::geomColor(), mps_fire::i, kFWGeomColorSize, m_colorSelectWidget, m_common, CmsShowCommon::m_context, FWColorSelect::SetColorByIndex(), and CmsShowCommon::setPalette().
Referenced by CloseWindow(), and CmsShowCommonPopup().
void CmsShowCommonPopup::switchBackground | ( | ) |
Definition at line 260 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::switchBackground().
Referenced by CloseWindow(), and CmsShowCommon::gamma().
|
private |
Definition at line 60 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup().
|
private |
Definition at line 65 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 66 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 64 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), colorSetChanged(), and setPaletteGUI().
|
private |
Definition at line 69 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and getCombo().
|
private |
Definition at line 58 of file CmsShowCommonPopup.h.
Referenced by changeGeomColor(), changeGeomTransparency2D(), changeGeomTransparency3D(), changeSelectionColorSet(), CmsShowCommonPopup(), colorSetChanged(), getColorSetColors(), permuteColors(), randomizeColors(), setPaletteGUI(), and switchBackground().
|
private |
Definition at line 62 of file CmsShowCommonPopup.h.
|
private |
Definition at line 61 of file CmsShowCommonPopup.h.
|
private |
Definition at line 67 of file CmsShowCommonPopup.h.
Referenced by makeSetter().