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

Public Member Functions

def __init__ (self, highlight_level, spline, label_center, label, from_node, to_node, parent=None, penwidth=1, edge_color=None, style='solid')
 
def add_sibling_edge (self, edge)
 
def add_to_scene (self, scene)
 
def set_label_color (self, color=None)
 
def set_node_color (self, color=None)
 
def setToolTip (self, tool_tip)
 
- Public Member Functions inherited from qt_dotgraph.graph_item.GraphItem
def __init__ (self, highlight_level, parent=None)
 

Public Attributes

 from_node
 
 to_node
 

Private Member Functions

def _handle_hoverEnterEvent (self, event)
 
def _handle_hoverLeaveEvent (self, event)
 

Private Attributes

 _arrow
 
 _default_color
 
 _default_edge_color
 
 _default_text_color
 
 _edge_pen
 
 _label
 
 _label_pen
 
 _path
 
 _shape_brush
 
 _sibling_edges
 
 _text_brush
 

Static Private Attributes

dictionary _qt_pen_styles
 

Detailed Description

Definition at line 41 of file edge_item.py.

Constructor & Destructor Documentation

def qt_dotgraph.edge_item.EdgeItem.__init__ (   self,
  highlight_level,
  spline,
  label_center,
  label,
  from_node,
  to_node,
  parent = None,
  penwidth = 1,
  edge_color = None,
  style = 'solid' 
)

Definition at line 51 of file edge_item.py.

Member Function Documentation

def qt_dotgraph.edge_item.EdgeItem._handle_hoverEnterEvent (   self,
  event 
)
private

Definition at line 187 of file edge_item.py.

def qt_dotgraph.edge_item.EdgeItem._handle_hoverLeaveEvent (   self,
  event 
)
private

Definition at line 207 of file edge_item.py.

def qt_dotgraph.edge_item.EdgeItem.add_sibling_edge (   self,
  edge 
)

Definition at line 155 of file edge_item.py.

def qt_dotgraph.edge_item.EdgeItem.add_to_scene (   self,
  scene 
)

Definition at line 141 of file edge_item.py.

def qt_dotgraph.edge_item.EdgeItem.set_label_color (   self,
  color = None 
)

Definition at line 177 of file edge_item.py.

def qt_dotgraph.edge_item.EdgeItem.set_node_color (   self,
  color = None 
)

Definition at line 158 of file edge_item.py.

def qt_dotgraph.edge_item.EdgeItem.setToolTip (   self,
  tool_tip 
)

Definition at line 148 of file edge_item.py.

Member Data Documentation

qt_dotgraph.edge_item.EdgeItem._arrow
private

Definition at line 117 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._default_color
private

Definition at line 64 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._default_edge_color
private

Definition at line 59 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._default_text_color
private

Definition at line 63 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._edge_pen
private

Definition at line 72 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._label
private

Definition at line 79 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._label_pen
private

Definition at line 69 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._path
private

Definition at line 134 of file edge_item.py.

dictionary qt_dotgraph.edge_item.EdgeItem._qt_pen_styles
staticprivate
Initial value:
1 = {
2  'dashed': Qt.DashLine,
3  'dotted': Qt.DotLine,
4  'solid': Qt.SolidLine,
5  }

Definition at line 43 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._shape_brush
private

Definition at line 66 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._sibling_edges
private

Definition at line 77 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem._text_brush
private

Definition at line 65 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem.from_node

Definition at line 54 of file edge_item.py.

qt_dotgraph.edge_item.EdgeItem.to_node

Definition at line 56 of file edge_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