CMS 3D CMS Logo

List of all members | Public Member Functions
Vispa.Plugins.EdmBrowser.EventContentView.LabelItem Class Reference
Inheritance diagram for Vispa.Plugins.EdmBrowser.EventContentView.LabelItem:

Public Member Functions

def __init__ (self, argument, color=Qt.white)
 

Detailed Description

A QTableWidgetItem with a convenient constructor. 

Definition at line 130 of file EventContentView.py.

Constructor & Destructor Documentation

def Vispa.Plugins.EdmBrowser.EventContentView.LabelItem.__init__ (   self,
  argument,
  color = Qt.white 
)

Definition at line 133 of file EventContentView.py.

References FWDetailViewGL< T >.setBackgroundColor(), FWDetailViewGL< reco::Muon >.setBackgroundColor(), FWDetailViewGL< CaloTower >.setBackgroundColor(), FWDetailViewGL< reco::PFCandidate >.setBackgroundColor(), FWDetailViewGL< reco::Track >.setBackgroundColor(), FWDetailViewGL< reco::Photon >.setBackgroundColor(), FWDetailViewGL< reco::TrackBase >.setBackgroundColor(), FWDetailViewGL< reco::Candidate >.setBackgroundColor(), FWDetailViewGL< reco::GsfElectron >.setBackgroundColor(), FWDetailViewGL< reco::Conversion >.setBackgroundColor(), FWTrackHitsDetailView.setBackgroundColor(), FWEveLegoView.setBackgroundColor(), FWDetailViewBase.setBackgroundColor(), FWTriggerTableView.setBackgroundColor(), FWEveView.setBackgroundColor(), FWTableView.setBackgroundColor(), FWGeometryTableViewBase.setBackgroundColor(), EcalCleaningAlgo.setFlags(), CaloRecHit.setFlags(), HGCUncalibratedRecHit.setFlags(), EcalUncalibratedRecHit.setFlags(), reco::PFRecHit.setFlags(), QIE11DataFrame.setFlags(), QIE10DataFrame.setFlags(), reco::CaloCluster.setFlags(), CSGAction.setToolTip(), and Vispa.Views.PropertyView.TextEditWithButtonProperty.setToolTip().

133  def __init__(self, argument, color=Qt.white):
134  tooltip = argument
135  name = argument
136  QTableWidgetItem.__init__(self, name)
137  self.setToolTip(tooltip)
138  self.setFlags(Qt.ItemIsEnabled)
139  self.setBackgroundColor(color)
140 
def __init__(self, argument, color=Qt.white)