Classes | Public Member Functions | Public Attributes | Private Attributes
diarc.qt_view.qt_view.BlockItem Class Reference
Inheritance diagram for diarc.qt_view.qt_view.BlockItem:
Inheritance graph
[legend]

List of all members.

Classes

class  HorizontalSpacer
class  MiddleSpacer

Public Member Functions

def __init__
def isUsed
def itemA
def itemB
def link
def mouseMoveEvent
def mousePressEvent
def paint
def release
def set_attributes

Public Attributes

 block_index
 left_block
 myCollector
 myEmitter
 right_block

Private Attributes

 _adapter
 _botMargin
 _layout_manager
 _middleSpacer
 _topMargin
 _view

Detailed Description

This is a QGraphicsWidget for a Diarc Block. 

Definition at line 454 of file qt_view.py.


Constructor & Destructor Documentation

def diarc.qt_view.qt_view.BlockItem.__init__ (   self,
  parent,
  block_index 
)

Definition at line 456 of file qt_view.py.


Member Function Documentation

Definition at line 521 of file qt_view.py.

We use itemA for the BlockItem to the left. 

Definition at line 511 of file qt_view.py.

We use itemB for the BlockItem to the right. 

Definition at line 516 of file qt_view.py.

Link to other objects around you. In addition to linking to other 
blocks, we need to link to our top and bottom margins, and the emitter
and collector containers 

Definition at line 524 of file qt_view.py.

Creates a drag event with the block information 

Definition at line 560 of file qt_view.py.

Definition at line 557 of file qt_view.py.

def diarc.qt_view.qt_view.BlockItem.paint (   self,
  painter,
  option,
  widget 
)

Definition at line 571 of file qt_view.py.

Definition at line 491 of file qt_view.py.

Definition at line 485 of file qt_view.py.


Member Data Documentation

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.

Definition at line 456 of file qt_view.py.


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


rqt_graphprofiler
Author(s): Dan Brooks
autogenerated on Thu Jun 6 2019 20:29:31