class EMonitorGui(QtGui.QWidget):
    def __init__(self):
        #Init the base class
        QtGui.QWidget.__init__(self)
        
        self._depGraph = DotGraph()
        self._pnGraph = DotGraph()
        
        self._dep_view = QtGui.QGraphicsView(self._depGraph)
        self._pn_view = QtGui.QGraphicsView(self._pnGraph)
                     
        pass

    def setup(self, name, ros):
        self.setObjectName(name);
        pass
    
    def unload(self):
        pass

    def drawDepGraph(self,data):
        self._depGraph.drawDot(data)
        self._dep_view.show();
        
    def drawPNGraph(self,data):
        self._pnGraph.drawDot(data)
        self._pn_view.show();
 def __init__(self):
     #Init the base class
     QtGui.QWidget.__init__(self)
     
     self._depGraph = DotGraph()
     self._pnGraph = DotGraph()
     
     self._dep_view = QtGui.QGraphicsView(self._depGraph)
     self._pn_view = QtGui.QGraphicsView(self._pnGraph)
                  
     pass