CMS 3D CMS Logo

Classes | Functions | Variables
FWCollectionSummaryWidget.cc File Reference
#include <iostream>
#include <vector>
#include <boost/bind.hpp>
#include "TGButton.h"
#include "TGResourcePool.h"
#include "TVirtualX.h"
#include "Fireworks/Core/src/FWColorSelect.h"
#include "Fireworks/Core/src/FWBoxIconButton.h"
#include "Fireworks/Core/src/FWCheckBoxIcon.h"
#include "Fireworks/Core/src/FWColorBoxIcon.h"
#include "Fireworks/Core/src/FWCollectionSummaryWidget.h"
#include "Fireworks/Core/interface/FWEventItem.h"
#include "Fireworks/Core/interface/FWCustomIconsButton.h"
#include "Fireworks/Core/src/FWCollectionSummaryTableManager.h"
#include "Fireworks/TableWidget/interface/FWTableWidget.h"
#include "Fireworks/Core/interface/FWSelectionManager.h"
#include "Fireworks/Core/interface/FWModelChangeManager.h"
#include "Fireworks/Core/interface/FWColorManager.h"

Go to the source code of this file.

Classes

struct  FWCollectionSummaryWidgetConnectionHolder
 

Functions

static const TGPicture * alert (bool iBackgroundIsBlack)
 
static const TGPicture * alert_over (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_down (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_down_disabled (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_right (bool iBackgroundIsBlack)
 
static const TGPicture * arrow_right_disabled (bool iBackgroundIsBlack)
 
 ClassImp (FWCollectionSummaryWidget)
 
static const TGPicture * filtered (bool iBackgroundIsBlack)
 
static const TGPicture * filtered_over (bool iBackgroundIsBlack)
 
static const TGPicture * info (bool iBackgroundIsBlack)
 
static const TGPicture * info_disabled (bool iBackgroundIsBlack)
 
static const TGPicture * info_over (bool iBackgroundIsBlack)
 
static TGGC * selectContext ()
 
static void setLabelBackgroundColor (TGTextButton *iLabel, bool iIsSelected, bool iBackgroundIsWhite)
 
static const TGPicture * unfiltered (bool iBackgroundIsBlack)
 
static const TGPicture * unfiltered_over (bool iBackgroundIsBlack)
 

Variables

static const unsigned long kWidgetColor = 0x2f2f2f
 
static const unsigned long kWidgetColorLight = 0xdfdfdf
 

Function Documentation

◆ alert()

static const TGPicture* alert ( bool  iBackgroundIsBlack)
static

Definition at line 126 of file FWCollectionSummaryWidget.cc.

126  {
127  if (iBackgroundIsBlack) {
128  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-blackbg.png");
129  return s;
130  }
131  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-whitebg.png");
132  return s;
133 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::itemChanged().

◆ alert_over()

static const TGPicture* alert_over ( bool  iBackgroundIsBlack)
static

Definition at line 117 of file FWCollectionSummaryWidget.cc.

117  {
118  if (iBackgroundIsBlack) {
119  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-blackbg-over.png");
120  return s;
121  }
122  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "icon-alert-whitebg-over.png");
123  return s;
124 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::itemChanged().

◆ arrow_down()

static const TGPicture* arrow_down ( bool  iBackgroundIsBlack)
static

Definition at line 199 of file FWCollectionSummaryWidget.cc.

199  {
200  if (iBackgroundIsBlack) {
201  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-down-blackbg.png");
202  return s;
203  }
204  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-down-whitebg.png");
205  return s;
206 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

◆ arrow_down_disabled()

static const TGPicture* arrow_down_disabled ( bool  iBackgroundIsBlack)
static

Definition at line 208 of file FWCollectionSummaryWidget.cc.

208  {
209  if (iBackgroundIsBlack) {
210  static const TGPicture* s =
211  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-down-disabled-blackbg.png");
212  return s;
213  }
214  static const TGPicture* s =
215  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-down-disabled-whitebg.png");
216  return s;
217 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

◆ arrow_right()

static const TGPicture* arrow_right ( bool  iBackgroundIsBlack)
static

Definition at line 179 of file FWCollectionSummaryWidget.cc.

179  {
180  if (iBackgroundIsBlack) {
181  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-right-blackbg.png");
182  return s;
183  }
184  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-right-whitebg.png");
185  return s;
186 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

◆ arrow_right_disabled()

static const TGPicture* arrow_right_disabled ( bool  iBackgroundIsBlack)
static

Definition at line 188 of file FWCollectionSummaryWidget.cc.

188  {
189  if (iBackgroundIsBlack) {
190  static const TGPicture* s =
191  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-white-right-disabled-blackbg.png");
192  return s;
193  }
194  static const TGPicture* s =
195  gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "arrow-black-right-disabled-whitebg.png");
196  return s;
197 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

◆ ClassImp()

ClassImp ( FWCollectionSummaryWidget  )

◆ filtered()

static const TGPicture* filtered ( bool  iBackgroundIsBlack)
static

◆ filtered_over()

static const TGPicture* filtered_over ( bool  iBackgroundIsBlack)
static

Definition at line 108 of file FWCollectionSummaryWidget.cc.

108  {
109  if (iBackgroundIsBlack) {
110  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "filtered-whitebg-over.png");
111  return s;
112  }
113  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "filtered-whitebg-over.png");
114  return s;
115 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::itemChanged().

◆ info()

static const TGPicture* info ( bool  iBackgroundIsBlack)
static

Definition at line 152 of file FWCollectionSummaryWidget.cc.

152  {
153  if (iBackgroundIsBlack) {
154  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-blackbg.png");
155  return s;
156  }
157  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-whitebg.png");
158  return s;
159 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWTypeToRepresentations::add(), o2olib.O2OJobMgr::add(), cms::Exception::addAdditionalInfo(), edm::RootTree::addBranch(), hgc_digi_utils::addCellMetadata(), BetaCalculatorECAL::addInfoToCandidate(), cms::Phase2TrackerDigitizer::addOuterTrackerCollection(), cms::Phase2TrackerDigitizer::addPixelCollection(), SimAnalyzerMinbias::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorMC::analyze(), HLTBTagPerformanceAnalyzer::analyze(), EopTreeWriter::analyze(), ValidIsoTrkCalib::analyze(), EcalCosmicsHists::analyze(), HcalHBHEMuonAnalyzer::analyze(), RecAnalyzerHF::analyzeHcal(), AnalyzerMinbias::analyzeHcal(), RecAnalyzerMinbias::analyzeHcal(), FFTJetPileupAnalyzer::analyzePileup(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), TrackDetectorAssociator::associate(), HTrackAssociator::associate(), HTrackAssociator::associateEcal(), HTrackAssociator::associateHcal(), edmplugin::PluginCapabilities::available(), FWSiStripClusterProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalClusterRPZProxyBuilder::build(), FWPFHcalClusterRPZProxyBuilder::build(), cmsHarvester::build_dataset_ignore_list(), cmsHarvester::build_dataset_list(), cmsHarvester::build_dataset_use_list(), cmsHarvester::build_runs_ignore_list(), cmsHarvester::build_runs_list(), cmsHarvester::build_runs_use_list(), CommissioningHistosUsingDb::buildDetInfo(), BPHDecayToV0Builder::buildFromV0(), spr::cGenSimInfo(), CmsShowModelPopup::changeModelColor(), CmsShowModelPopup::changeModelOpacity(), spr::chargeIsolationEcal(), spr::chargeIsolationHcal(), DavixStorageMaker::check(), cmsHarvester::check_dataset_list(), cmsHarvester::check_globaltag_contains_ref_hist_key(), cmsHarvester::check_globaltag_exists(), cmsHarvester::check_input_status(), cmsHarvester::check_ref_hist_mappings(), crabFunctions.CrabController::checkwrite(), SensitiveDetector::cmsTrackInformation(), CmsShowModelPopup::colorSetChanged(), GsfElectronAlgo::ElectronData::computeCharge(), edm::service::CPU::cpuInfo(), cmsHarvester::create_and_check_castor_dirs(), cmsHarvester::create_multicrab_config(), MuonSensitiveDetector::createHit(), TGeoFromDddService::createManager(), DTTrig::createTUs(), pdg::cTau(), cms::MuonMETValueMapProducer::determine_deltax_deltay(), XrdAdaptor::Source::determineHostExcludeString(), CommissioningHistosUsingDb::deviceIsPresent(), CSCAnodeLCTAnalyzer::digiSimHitAssociator(), CSCCathodeLCTAnalyzer::digiSimHitAssociator(), Phase2TrackerDigitizerAlgorithm::digitize(), MuonTagger::discriminator(), LeptonTaggerByPt::discriminator(), CombinedMVAV2JetTagComputer::discriminator(), ElectronTagger::discriminator(), MuonTaggerNoIP::discriminator(), GenericMVAJetTagComputer::discriminator(), LeptonTaggerByIP::discriminator(), LeptonTaggerDistance::discriminator(), TemplatedSimpleSecondaryVertexComputer< IPTI, VTX >::discriminator(), JetTagComputer::discriminator(), EveService::display(), personalPlayback.Playback::do_create_lumi(), personalPlayback.Playback::do_exec(), personalPlayback.FrameworkJob::do_exec(), PFEGammaAlgo::dumpCurrentRefinableObjects(), spr::eGenSimInfo(), SimAnalyzerMinbias::endJob(), RecAnalyzerHF::endJob(), AnalyzerMinbias::endJob(), RecAnalyzerMinbias::endJob(), o2olib.O2ORunMgr::endJob(), analyzer.Analyzer::endLoop(), FWRPZViewGeometry::estimateProjectionSizeDT(), o2olib.O2ORunMgr::executeJob(), edm::storage::StatisticsSenderService::filePreCloseEvent(), CaloCleaner< T >::fill_correction_map(), edmplugin::PluginFactoryBase::fillAvailable(), FWHGCalMultiClusterLegoProxyBuilder::fillCaloData(), FWCandidateTowerProxyBuilder::fillCaloData(), FWPFCandidateTowerProxyBuilder::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWHFTowerProxyBuilderBase::fillCaloData(), FWHGTowerProxyBuilderBase::fillCaloData(), TrackDetectorAssociator::fillCaloTowers(), HTrackAssociator::fillCaloTowers(), TrackDetectorAssociator::fillCaloTruth(), l1t::PackingSetupFactory::fillDescription(), TrackDetectorAssociator::fillEcal(), HTrackAssociator::fillEcal(), TrackDetectorAssociator::fillHcal(), HTrackAssociator::fillHcal(), HTrackAssociator::fillHcalTowers(), TrackDetectorAssociator::fillHO(), HFPreReconstructor::fillInfos(), CmsShowModelPopup::fillModelPopup(), TrackDetectorAssociator::fillMuon(), MuonIdProducer::fillMuonId(), lhef::LHEEvent::fillPdfInfo(), TrackDetectorAssociator::fillPreshower(), CSCDigiToRaw::findEventData(), FWDetailViewManager::findViewersFor(), reco::FormulaEvaluator::FormulaEvaluator(), FWCollectionSummaryWidget::FWCollectionSummaryWidget(), JetTagComputer::TagInfoHelper::get(), edm::service::CPU::getAverageSpeed(), JetTagComputer::TagInfoHelper::getBase(), HTrackAssociator::getEcalEnergy(), FWGeometry::getEveShape(), HTrackAssociator::getHcalEnergy(), FWGeometry::getHGCScintillatorEveShape(), FWGeometry::getHGCSiliconEveShape(), HitInfo::getInfo(), TFitConstraintMGaus::getInfoString(), TAbsFitConstraint::getInfoString(), TAbsFitParticle::getInfoString(), TFitConstraintEp::getInfoString(), TFitConstraintM::getInfoString(), cond::service::OnlineDBOutputService::getLastLumiProcessed(), getLatestLumiFromDAQ(), FWGeometry::getMatrix(), edm::service::CPU::getModels(), MuonMETAlgo::GetMuDepDeltas(), TStorageFactorySystem::GetPathInfo(), o2olib.O2OMgr::getSession(), FWGeometry::getShape(), TimingSD::getStepInfo(), cond::payloadInspector::PlotBase::getTagInfo(), GlobalTrackerMuonAlignment::gradientGlobal(), GlobalTrackerMuonAlignment::gradientLocal(), HFShowerLibrary::HFShowerLibrary(), spr::hGenSimInfo(), popcon::EcalSRPHandler::importDccConfigFile(), edm::EDConsumerBase::indexFrom(), Herwig6Hadronizer::initialize(), reco::GhostTrackVertexFinder::initialVertices(), reco::ElectronSeed::initTwoHitSeed(), edm::RootOutputFile::insertAncestors(), TotemRPSD::isPrimary(), PPSDiamondSD::isPrimary(), FWInteractionList::itemChanged(), o2olib.O2OJobMgr::listConfig(), cmsHarvester::load_ref_hist_mappings(), FWGeometry::localToGlobal(), looper.Looper::loop(), SimpleHBHEPhase1Algo::m0Energy(), SimpleHBHEPhase1Algo::m0Time(), SiPixelDigitizerAlgorithm::make_digis(), DeepBoostedJetONNXJetTagsProducer::make_inputs(), BoostedJetMXNetJetTagsProducer::make_inputs(), makeParticle(), pdg::mass(), L1TMuonBarrelKalmanAlgo::matchAbs(), spr::matchedSimTrackInfo(), reco::GhostTrackVertexFinder::mergeVertices(), o2olib.O2OJobMgr::migrateConfig(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), GlobalTrackerMuonAlignment::muonFitter(), ShallowClustersProducer::NearDigis::NearDigis(), FWEveViewManager::newItem(), edmplugin::PluginFactoryBase::newPlugin(), lhef::LHEReader::next(), JetTagComputer::operator()(), cand::parser::operator<<(), operator<<(), cmsHarvester.CMSHarvester::option_handler_book_keeping_file(), cmsHarvester.CMSHarvester::option_handler_globaltag(), cmsHarvester.CMSHarvester::option_handler_harvesting_mode(), cmsHarvester.CMSHarvester::option_handler_harvesting_type(), cmsHarvester.CMSHarvester::option_handler_ref_hist_mapping_file(), edm::service::CPU::parseCPUInfo(), PFClusterTimeSelector::PFClusterTimeSelector(), cmsHarvester::pick_a_site(), ThroughputService::postEndJob(), edm::service::CPU::postEndJob(), edm::service::Tracer::preBeginJob(), File::prefetch(), edm::PluginDescription< T >::printNestedContent_(), cmsHarvester::process_dataset_ignore_list(), cmsHarvester::process_runs_use_and_ignore_lists(), DDLMap::processElement(), ShallowClustersProducer::produce(), PFClusterTimeSelector::produce(), LHECOMWeightProducer::produce(), edm::MCFileSource::produce(), HcalRawToDigi::produce(), CaloCleaner< T >::produce(), InterestingTrackEcalDetIdProducer::produce(), HighPtTrackEcalDetIdProducer::produce(), TGeoMgrFromDdd::produce(), ReduceHcalRecHitCollectionProducer::produce(), ProduceIsolationMap::produce(), spr::propagateCALO(), spr::propagateCosmicCALO(), spr::propagateHCALBack(), spr::propagateIdECAL(), LowPtGsfElectronSeedProducer::propagateTrackToCalo(), edmplugin::CacheParser::read(), edm::VectorInputSource::readOneSpecified(), edm::FullProvenanceReader::readProvenance(), edm::OldProvenanceReader::readProvenance(), Herwig6Hadronizer::readSettings(), reco::GhostTrackVertexFinder::reassignTracks(), KDTreeLinkerAlgo< reco::PFRecHit const * >::recBuild(), SimpleHBHEPhase1Algo::reconstruct(), reco::tau::RecoTauBuilderCombinatoricPlugin::RecoTauBuilderCombinatoricPlugin(), reco::GhostTrackVertexFinder::recursiveMerge(), reco::GhostTrackVertexFinder::refitGhostTrack(), edm::ESProxyFactoryProducer::registerFactoryWithKey(), FWTypeToRepresentations::representationsForType(), crabFunctions.CrabController::resubmit(), cmsHarvester::run(), HBHEPhase1Reconstructor::runHBHENegativeEFilter(), DQMFileSaver::saveJobReport(), dqm::DQMFileSaverBase::saveJobReport(), o2olib.O2OJobMgr::set(), cms::Exception::setAdditionalInfo(), HBHEPhase1Reconstructor::setAsicSpecificBits(), HBHERecHitAuxSetter::setAux(), FWCollectionSummaryWidget::setBackgroundToWhite(), HcalSimpleRecAlgo::setBXInfo(), o2olib.O2OJobMgr::setConfig(), l1tp2::CaloCrystalCluster::setCrystalPtInfo(), o2olib.O2OJobMgr::setInterval(), FWPathsPopup::setup(), cmsHarvester::show_exit_message(), File::size(), HFPreReconstructor::sortDataByPmt(), personalPlayback.FrameworkJob::start_run(), FWFFLooper::startingNewLoop(), o2olib.O2ORunMgr::startJob(), crabFunctions.CrabController::status(), crabFunctions.CrabController::submit(), FWEveViewManager::supportedTypesAndRepresentations(), swap(), SoftLepton::tag(), GenericMVAJetTagComputer::taggingVariables(), GenericMVAJetTagComputerWrapper< Provider, TI1, ti1, TI2, ti2, TI3, ti3, TI4, ti4 >::taggingVariables(), GenericMVAJetTagComputerWrapper< Provider, TI1, ti1, TI2, ti2, TI3, ti3, btau_dummy::Null, btau_dummy::none >::taggingVariables(), GenericMVAJetTagComputerWrapper< Provider, TI1, ti1, TI2, ti2, btau_dummy::Null, btau_dummy::none, btau_dummy::Null, btau_dummy::none >::taggingVariables(), GenericMVAJetTagComputerWrapper< Provider, TI1, ti1, btau_dummy::Null, btau_dummy::none, btau_dummy::Null, btau_dummy::none, btau_dummy::Null, btau_dummy::none >::taggingVariables(), GenericMVAJetTagComputerWrapper< Provider, TI1, btau_dummy::none, btau_dummy::Null, btau_dummy::none, btau_dummy::Null, btau_dummy::none, btau_dummy::Null, btau_dummy::none >::taggingVariables(), CmsShowModelPopup::toggleModelVisible(), GlobalTrackerMuonAlignment::trackFitter(), edmplugin::PluginCapabilities::tryToFind(), TkAccumulatingSensitiveDetector::update(), CmsShowModelPopup::updateDisplay(), edm::ESProducer::updateFromMayConsumes(), DQMBasicNet::updateLocalObject(), edm::EDConsumerBase::updateLookup(), edm::ESProducer::updateLookup(), FWPSetTableManager::updateSchedule(), reco::GhostTrackVertexFinder::vertices(), FWTrackProxyBuilderFullFramework::visibilityModelChanges(), FWSimpleProxyBuilder::visibilityModelChanges(), DQMNet::waitForData(), WeightManager::weight(), ProvenanceDumper::work_(), cmsHarvester::write_crab_config(), and cmsHarvester::write_multicrab_config().

◆ info_disabled()

static const TGPicture* info_disabled ( bool  iBackgroundIsBlack)
static

Definition at line 170 of file FWCollectionSummaryWidget.cc.

170  {
171  if (iBackgroundIsBlack) {
172  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-blackbg-disabled.png");
173  return s;
174  }
175  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-whitebg-disabled.png");
176  return s;
177 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::setBackgroundToWhite().

◆ info_over()

static const TGPicture* info_over ( bool  iBackgroundIsBlack)
static

Definition at line 161 of file FWCollectionSummaryWidget.cc.

161  {
162  if (iBackgroundIsBlack) {
163  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-blackbg-over.png");
164  return s;
165  }
166  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "info2-whitebg-over.png");
167  return s;
168 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::setBackgroundToWhite().

◆ selectContext()

static TGGC* selectContext ( )
static

Definition at line 414 of file FWCollectionSummaryWidget.cc.

414  {
415  static TGGC* s_context = nullptr;
416  if (nullptr == s_context) {
417  GCValues_t hT = *(gClient->GetResourcePool()->GetSelectedGC()->GetAttributes());
418  s_context = gClient->GetResourcePool()->GetGCPool()->GetGC(&hT, kTRUE);
419  s_context->SetForeground(s_context->GetBackground());
420  //s_context->SetForeground(gVirtualX->GetPixel(kBlue+2));
421  }
422  return s_context;
423 }

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite(), and FWCollectionSummaryWidget::toggleShowHide().

◆ setLabelBackgroundColor()

static void setLabelBackgroundColor ( TGTextButton *  iLabel,
bool  iIsSelected,
bool  iBackgroundIsWhite 
)
static

Definition at line 344 of file FWCollectionSummaryWidget.cc.

344  {
345  if (iIsSelected) {
346  if (iBackgroundIsWhite) {
347  iLabel->SetBackgroundColor(0x7777FF);
348  } else {
349  iLabel->SetBackgroundColor(0x0000FF);
350  }
351  } else {
352  if (iBackgroundIsWhite) {
353  iLabel->SetBackgroundColor(0xFFFFFF);
354  } else {
355  iLabel->SetBackgroundColor(0x000000);
356  }
357  }
358 }

Referenced by FWCollectionSummaryWidget::displayChanged(), and FWCollectionSummaryWidget::setBackgroundToWhite().

◆ unfiltered()

static const TGPicture* unfiltered ( bool  iBackgroundIsBlack)
static

Definition at line 135 of file FWCollectionSummaryWidget.cc.

135  {
136  if (iBackgroundIsBlack) {
137  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-blackbg.png");
138  return s;
139  }
140  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-whitebg.png");
141  return s;
142 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::itemChanged().

◆ unfiltered_over()

static const TGPicture* unfiltered_over ( bool  iBackgroundIsBlack)
static

Definition at line 143 of file FWCollectionSummaryWidget.cc.

143  {
144  if (iBackgroundIsBlack) {
145  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-blackbg-over.png");
146  return s;
147  }
148  static const TGPicture* s = gClient->GetPicture(FWCheckBoxIcon::coreIcondir() + "unfiltered-whitebg-over.png");
149  return s;
150 }

References FWCheckBoxIcon::coreIcondir(), and alignCSCRings::s.

Referenced by FWCollectionSummaryWidget::FWCollectionSummaryWidget(), and FWCollectionSummaryWidget::itemChanged().

Variable Documentation

◆ kWidgetColor

const unsigned long kWidgetColor = 0x2f2f2f
static

◆ kWidgetColorLight

const unsigned long kWidgetColorLight = 0xdfdfdf
static
FWCheckBoxIcon::coreIcondir
static const TString & coreIcondir()
Definition: FWCheckBoxIcon.cc:76
alignCSCRings.s
s
Definition: alignCSCRings.py:92