#include <CmsShowCommonPopup.h>
Public Member Functions | |
void | changeGeomColor (Color_t) |
void | changeGeomTransparency2D (int) |
void | changeGeomTransparency3D (int) |
void | changeSelectionColorSet (Color_t) |
ClassDefOverride (CmsShowCommonPopup, 0) | |
void | CloseWindow () override |
CmsShowCommonPopup (CmsShowCommon *, const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1) | |
void | colorSetChanged () |
TGComboBox * | getCombo () |
void | permuteColors () |
void | randomizeColors () |
void | setPaletteGUI () |
void | switchBackground () |
~CmsShowCommonPopup () override | |
Public Member Functions inherited from FWParameterSetterEditorBase | |
FWParameterSetterEditorBase () | |
FWParameterSetterEditorBase (const FWParameterSetterEditorBase &)=delete | |
const FWParameterSetterEditorBase & | operator= (const FWParameterSetterEditorBase &)=delete |
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 = nullptr , |
||
UInt_t | w = 1 , |
||
UInt_t | h = 1 |
||
) |
Definition at line 32 of file CmsShowCommonPopup.cc.
References FWGenericParameter< T >::changed_, CmsShowCommon::colorManager(), f, FWColorManager::geomColor(), FWColorManager::geomTransparency(), getColorSetColors(), CmsShowCommon::getEnergyScale(), photonIsolationHIProducer_cfi::hf, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, kFWGeomColorSize, kFWMuonBarrelLineColorIndex, kFWMuonEndcapLineColorIndex, kFWPixelBarrelColorIndex, kFWPixelEndcapColorIndex, kFWTrackerBarrelColorIndex, kFWTrackerEndcapColorIndex, label, m_backgroundButton, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_combo, m_common, CmsShowCommon::m_drawBreakPoints, CmsShowCommon::m_gamma, CmsShowCommon::m_palette, CmsShowCommon::m_trackBreak, makeSetter(), names, submitPVResolutionJobs::pool, FWColorSelect::SetColorByIndex(), setPaletteGUI(), AlCaHLTBitMon_QueryRunRegistry::string, and geometryCSVtoXML::xx.
|
override |
Definition at line 247 of file CmsShowCommonPopup.cc.
|
private |
void CmsShowCommonPopup::changeGeomColor | ( | Color_t | iColor | ) |
Definition at line 257 of file CmsShowCommonPopup.cc.
References callgraph::cs, m_common, and CmsShowCommon::setGeomColor().
void CmsShowCommonPopup::changeGeomTransparency2D | ( | int | iTransp | ) |
Definition at line 276 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::setGeomTransparency().
void CmsShowCommonPopup::changeGeomTransparency3D | ( | int | iTransp | ) |
Definition at line 278 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::setGeomTransparency().
void CmsShowCommonPopup::changeSelectionColorSet | ( | Color_t | idx | ) |
Definition at line 263 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), callgraph::cs, heavyIonCSV_trainingSettings::idx, FWColorManager::isColorSetDark(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_common, and findQualityFiles::v.
CmsShowCommonPopup::ClassDefOverride | ( | CmsShowCommonPopup | , |
0 | |||
) |
|
inlineoverride |
Definition at line 32 of file CmsShowCommonPopup.h.
void CmsShowCommonPopup::colorSetChanged | ( | ) |
Definition at line 281 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 FWGUIManager::finishUpColorChange().
|
private |
Definition at line 292 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), FWColorManager::isColorSetDark(), m_common, CmsShowCommon::m_darkColorSet, and CmsShowCommon::m_lightColorSet.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
inline |
Definition at line 45 of file CmsShowCommonPopup.h.
References m_combo.
Referenced by CmsShowCommon::loopPalettes().
|
private |
Definition at line 307 of file CmsShowCommonPopup.cc.
References m_setters, and FWParameterSetterBase::makeSetterFor().
Referenced by CmsShowCommonPopup().
|
private |
void CmsShowCommonPopup::permuteColors | ( | ) |
Definition at line 255 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::permuteColors().
void CmsShowCommonPopup::randomizeColors | ( | ) |
Definition at line 253 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::randomizeColors().
void CmsShowCommonPopup::setPaletteGUI | ( | ) |
Definition at line 318 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 CmsShowCommonPopup().
void CmsShowCommonPopup::switchBackground | ( | ) |
Definition at line 251 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::switchBackground().
|
private |
Definition at line 58 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup().
|
private |
Definition at line 63 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 64 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 62 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), colorSetChanged(), and setPaletteGUI().
|
private |
Definition at line 67 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and getCombo().
|
private |
Definition at line 56 of file CmsShowCommonPopup.h.
Referenced by changeGeomColor(), changeGeomTransparency2D(), changeGeomTransparency3D(), changeSelectionColorSet(), CmsShowCommonPopup(), colorSetChanged(), getColorSetColors(), permuteColors(), randomizeColors(), setPaletteGUI(), and switchBackground().
|
private |
Definition at line 60 of file CmsShowCommonPopup.h.
|
private |
Definition at line 59 of file CmsShowCommonPopup.h.
|
private |
Definition at line 65 of file CmsShowCommonPopup.h.
Referenced by makeSetter().