Public Member Functions | Public Attributes | Private Attributes | List of all members
qt_dotgraph.node_item.NodeItem Class Reference
Inheritance diagram for qt_dotgraph.node_item.NodeItem:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, highlight_level, bounding_box, label, shape, color=None, parent=None, label_pos=None, tooltip=None)
 
def add_incoming_edge (self, edge)
 
def add_outgoing_edge (self, edge)
 
def hoverEnterEvent (self, event)
 
def hoverLeaveEvent (self, event)
 
def parse_shape (self, shape, bounding_box)
 
def set_hovershape (self, newhovershape)
 
def set_node_color (self, color=None)
 
def shape (self)
 
- Public Member Functions inherited from qt_dotgraph.graph_item.GraphItem
def __init__ (self, highlight_level, parent=None)
 

Public Attributes

 hovershape
 

Private Attributes

 _brush
 
 _default_color
 
 _ellipse_pen
 
 _graphics_item
 
 _incoming_edges
 
 _label
 
 _label_pen
 
 _outgoing_edges
 

Detailed Description

Definition at line 45 of file node_item.py.

Constructor & Destructor Documentation

def qt_dotgraph.node_item.NodeItem.__init__ (   self,
  highlight_level,
  bounding_box,
  label,
  shape,
  color = None,
  parent = None,
  label_pos = None,
  tooltip = None 
)

Definition at line 49 of file node_item.py.

Member Function Documentation

def qt_dotgraph.node_item.NodeItem.add_incoming_edge (   self,
  edge 
)

Definition at line 106 of file node_item.py.

def qt_dotgraph.node_item.NodeItem.add_outgoing_edge (   self,
  edge 
)

Definition at line 109 of file node_item.py.

def qt_dotgraph.node_item.NodeItem.hoverEnterEvent (   self,
  event 
)

Definition at line 124 of file node_item.py.

def qt_dotgraph.node_item.NodeItem.hoverLeaveEvent (   self,
  event 
)

Definition at line 160 of file node_item.py.

def qt_dotgraph.node_item.NodeItem.parse_shape (   self,
  shape,
  bounding_box 
)

Definition at line 84 of file node_item.py.

def qt_dotgraph.node_item.NodeItem.set_hovershape (   self,
  newhovershape 
)

Definition at line 95 of file node_item.py.

def qt_dotgraph.node_item.NodeItem.set_node_color (   self,
  color = None 
)

Definition at line 112 of file node_item.py.

def qt_dotgraph.node_item.NodeItem.shape (   self)

Definition at line 98 of file node_item.py.

Member Data Documentation

qt_dotgraph.node_item.NodeItem._brush
private

Definition at line 53 of file node_item.py.

qt_dotgraph.node_item.NodeItem._default_color
private

Definition at line 52 of file node_item.py.

qt_dotgraph.node_item.NodeItem._ellipse_pen
private

Definition at line 57 of file node_item.py.

qt_dotgraph.node_item.NodeItem._graphics_item
private

Definition at line 86 of file node_item.py.

qt_dotgraph.node_item.NodeItem._incoming_edges
private

Definition at line 60 of file node_item.py.

qt_dotgraph.node_item.NodeItem._label
private

Definition at line 66 of file node_item.py.

qt_dotgraph.node_item.NodeItem._label_pen
private

Definition at line 54 of file node_item.py.

qt_dotgraph.node_item.NodeItem._outgoing_edges
private

Definition at line 61 of file node_item.py.

qt_dotgraph.node_item.NodeItem.hovershape

Definition at line 82 of file node_item.py.


The documentation for this class was generated from the following file:


qt_dotgraph
Author(s): Thibault Kruse, Dirk Thomas
autogenerated on Tue Apr 13 2021 03:03:12