#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 () |
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) |
void | 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] |
CmsShowCommon * | m_common |
TGTextButton * | m_gammaButton |
TGHSlider * | m_gammaSlider |
std::vector< boost::shared_ptr < FWParameterSetterBase > > | m_setters |
Definition at line 24 of file CmsShowCommonPopup.h.
CmsShowCommonPopup::CmsShowCommonPopup | ( | CmsShowCommon * | model, |
const TGWindow * | p = 0 , |
||
UInt_t | w = 1 , |
||
UInt_t | h = 1 |
||
) |
Definition at line 32 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), FWColorManager::geomColor(), FWColorManager::geomTransparency(), getColorSetColors(), i, j, relval_steps::k, kFWGeomColorSize, kFWMuonBarrelLineColorIndex, kFWMuonEndcapLineColorIndex, kFWPixelBarrelColorIndex, kFWPixelEndcapColorIndex, kFWTrackerBarrelColorIndex, kFWTrackerEndcapColorIndex, diffTwoXMLs::label, m_backgroundButton, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_common, CmsShowCommon::m_drawBreakPoints, CmsShowCommon::m_energyScale, CmsShowCommon::m_gamma, CmsShowCommon::m_trackBreak, makeSetter(), cscdqm::h::names, fetchall_from_DQM_v2::pool, FWColorSelect::SetColorByIndex(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 224 of file CmsShowCommonPopup.cc.
|
private |
void CmsShowCommonPopup::changeGeomColor | ( | Color_t | iColor | ) |
Definition at line 236 of file CmsShowCommonPopup.cc.
References fwrapper::cs, m_common, and CmsShowCommon::setGeomColor().
void CmsShowCommonPopup::changeGeomTransparency2D | ( | int | iTransp | ) |
Definition at line 263 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::setGeomTransparency().
void CmsShowCommonPopup::changeGeomTransparency3D | ( | int | iTransp | ) |
Definition at line 269 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::setGeomTransparency().
void CmsShowCommonPopup::changeSelectionColorSet | ( | Color_t | idx | ) |
Definition at line 245 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), fwrapper::cs, FWColorManager::isColorSetDark(), m_common, and findQualityFiles::v.
CmsShowCommonPopup::ClassDef | ( | CmsShowCommonPopup | , |
0 | |||
) |
|
inlinevirtual |
Definition at line 33 of file CmsShowCommonPopup.h.
void CmsShowCommonPopup::colorSetChanged | ( | ) |
Definition at line 277 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), FWColorManager::geomColor(), getColorSetColors(), i, kFWGeomColorSize, m_colorRnrCtxHighlightWidget, m_colorRnrCtxSelectWidget, m_colorSelectWidget, m_common, and FWColorSelect::SetColorByIndex().
Referenced by FWGUIManager::finishUpColorChange().
|
private |
Definition at line 289 of file CmsShowCommonPopup.cc.
References CmsShowCommon::colorManager(), glc, FWColorManager::isColorSetDark(), m_common, CmsShowCommon::m_darkColorSet, and CmsShowCommon::m_lightColorSet.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 306 of file CmsShowCommonPopup.cc.
References m_setters, and FWParameterSetterBase::makeSetterFor().
Referenced by CmsShowCommonPopup().
|
private |
void CmsShowCommonPopup::switchBackground | ( | ) |
Definition at line 229 of file CmsShowCommonPopup.cc.
References m_common, and CmsShowCommon::switchBackground().
|
private |
Definition at line 54 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup().
|
private |
Definition at line 60 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 61 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 59 of file CmsShowCommonPopup.h.
Referenced by CmsShowCommonPopup(), and colorSetChanged().
|
private |
Definition at line 52 of file CmsShowCommonPopup.h.
Referenced by changeGeomColor(), changeGeomTransparency2D(), changeGeomTransparency3D(), changeSelectionColorSet(), CmsShowCommonPopup(), colorSetChanged(), getColorSetColors(), and switchBackground().
|
private |
Definition at line 56 of file CmsShowCommonPopup.h.
|
private |
Definition at line 55 of file CmsShowCommonPopup.h.
|
private |
Definition at line 62 of file CmsShowCommonPopup.h.
Referenced by makeSetter().