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

◆ __init__()

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

◆ _handle_hoverEnterEvent()

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

Definition at line 187 of file edge_item.py.

◆ _handle_hoverLeaveEvent()

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

Definition at line 207 of file edge_item.py.

◆ add_sibling_edge()

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

Definition at line 155 of file edge_item.py.

◆ add_to_scene()

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

Definition at line 141 of file edge_item.py.

◆ set_label_color()

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

Definition at line 177 of file edge_item.py.

◆ set_node_color()

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

Definition at line 158 of file edge_item.py.

◆ setToolTip()

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

Definition at line 148 of file edge_item.py.

Member Data Documentation

◆ _arrow

qt_dotgraph.edge_item.EdgeItem._arrow
private

Definition at line 117 of file edge_item.py.

◆ _default_color

qt_dotgraph.edge_item.EdgeItem._default_color
private

Definition at line 64 of file edge_item.py.

◆ _default_edge_color

qt_dotgraph.edge_item.EdgeItem._default_edge_color
private

Definition at line 59 of file edge_item.py.

◆ _default_text_color

qt_dotgraph.edge_item.EdgeItem._default_text_color
private

Definition at line 63 of file edge_item.py.

◆ _edge_pen

qt_dotgraph.edge_item.EdgeItem._edge_pen
private

Definition at line 72 of file edge_item.py.

◆ _label

qt_dotgraph.edge_item.EdgeItem._label
private

Definition at line 79 of file edge_item.py.

◆ _label_pen

qt_dotgraph.edge_item.EdgeItem._label_pen
private

Definition at line 69 of file edge_item.py.

◆ _path

qt_dotgraph.edge_item.EdgeItem._path
private

Definition at line 134 of file edge_item.py.

◆ _qt_pen_styles

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

Definition at line 43 of file edge_item.py.

◆ _shape_brush

qt_dotgraph.edge_item.EdgeItem._shape_brush
private

Definition at line 66 of file edge_item.py.

◆ _sibling_edges

qt_dotgraph.edge_item.EdgeItem._sibling_edges
private

Definition at line 77 of file edge_item.py.

◆ _text_brush

qt_dotgraph.edge_item.EdgeItem._text_brush
private

Definition at line 65 of file edge_item.py.

◆ from_node

qt_dotgraph.edge_item.EdgeItem.from_node

Definition at line 54 of file edge_item.py.

◆ to_node

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 Fri Jun 24 2022 02:42:36