Ejemplo n.º 1
0
    def __init__(self, params=None):
        GenericPlotter.__init__(self, params)
        QtCore.QObject.__init__(self)
        self.nodes = {}
        self.links = {}
        self.nodeLinks = {}
        self.lineStyles = {}
        self.shapes = {}

        # each entry stores (node's pen, node's brush, label's pen)
        self.nodePens = {}

        self.qtScene = QtScene(0,0,500,500)
        self.qtScene.connect(self, QtCore.SIGNAL('invokeGui'),
                self.qtScene.invokeGui)
Ejemplo n.º 2
0
    def __init__(self, params=None):
        GenericPlotter.__init__(self, params)
        QtCore.QObject.__init__(self)
        self.nodes = {}
        self.links = {}
        self.nodeLinks = {}
        self.lineStyles = {}
        self.shapes = {}

        # each entry stores (node's pen, node's brush, label's pen)
        self.nodePens = {}

        self.qtScene = QtScene(0, 0, 500, 500)
        self.qtScene.connect(self, QtCore.SIGNAL('invokeGui'),
                             self.qtScene.invokeGui)
Ejemplo n.º 3
0
 def __init__(self, stream, params):
     GenericPlotter.__init__(self, params)
     self.stream = stream
     self.params = params
     self.page_count = 0