CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
lumiQTWidget.LumiCanvas Class Reference
Inheritance diagram for lumiQTWidget.LumiCanvas:

Public Member Functions

def __init__
 

Detailed Description

this is a QWidget (as well as a FigureCanvasAgg, etc.).

Definition at line 6 of file lumiQTWidget.py.

Constructor & Destructor Documentation

def lumiQTWidget.LumiCanvas.__init__ (   self,
  parent = None,
  fig = None 
)

Definition at line 8 of file lumiQTWidget.py.

References DTBtiTrigData.setParent(), DTTracoTrigData.setParent(), DTTracoTrig.setParent(), DTBtiTrig.setParent(), edm::DocFormatHelper.setParent(), and DDXMLElement.setParent().

8 
9  def __init__(self, parent=None, fig=None):
10  FigureCanvas.__init__(self, fig)
11  self.setParent(parent)
12  FigureCanvas.setSizePolicy(self,
13  QtGui.QSizePolicy.Expanding,
14  QtGui.QSizePolicy.Expanding)
15  FigureCanvas.updateGeometry(self)