Inviwo  0.9.10.1
Inviwo documentation
inviwo::LinkDialogPropertyGraphicsItem Class Reference
+ Inheritance diagram for inviwo::LinkDialogPropertyGraphicsItem:

Public Types

enum  { Type = UserType + LinkDialogPropertyGraphicsItemType }
 
- Public Types inherited from inviwo::LinkDialogTreeItem
enum  Side { Left, Right }
 

Public Member Functions

 LinkDialogPropertyGraphicsItem (LinkDialogTreeItem *parent, Property *prop)
 
QSizeF sizeHint (Qt::SizeHint which, const QSizeF &constraint=QSizeF()) const
 
virtual int type () const override
 
QPointF getConnectionPoint ()
 
bool propertyVisible () const
 
bool hasSubProperties () const
 
virtual int getLevel () const override
 
QPointF calculateArrowCenter (size_t curPort) const
 
void prepareGeometryChange ()
 
void addConnectionGraphicsItem (DialogConnectionGraphicsItem *)
 
size_t getConnectionGraphicsItemCount () const
 
size_t getConnectionIndex (const DialogConnectionGraphicsItem *item) const
 
void removeConnectionGraphicsItem (DialogConnectionGraphicsItem *)
 
const std::vector< DialogConnectionGraphicsItem * > & getConnectionGraphicsItems () const
 
std::vector< LinkDialogPropertyGraphicsItem * > getSubPropertyItemList (bool recursive=false) const
 
virtual void updatePositions () override
 
void showToolTip (QGraphicsSceneHelpEvent *event)
 
- Public Member Functions inherited from inviwo::GraphicsItemData< Property >
 GraphicsItemData (LinkDialogTreeItem *parent, Side side, Property *item)
 
PropertygetItem ()
 
void setItem (Property *item)
 
virtual LinkDialogTreeItem::Side getSide () const override
 
virtual QPointF treeItemScenePos () const override
 
virtual QRectF treeItemRect () const override
 
void showToolTipHelper (QGraphicsSceneHelpEvent *e, QString string) const
 
- Public Member Functions inherited from inviwo::LinkDialogTreeItem
 LinkDialogTreeItem (LinkDialogTreeItem *parent)
 
void setPrev (LinkDialogTreeItem *prev)
 
void setNext (LinkDialogTreeItem *next)
 
LinkDialogTreeItemparent () const
 
LinkDialogTreeItemnext () const
 
LinkDialogTreeItemprev () const
 
void setExpanded (bool expand)
 
bool isExpanded () const
 

Protected Member Functions

QPointF calculateArrowCenterLocal (size_t curPort) const
 
QRectF calculateArrowRect (size_t curPort) const
 
QRectF calculateArrowRect (DialogConnectionGraphicsItem *cItem) const
 
virtual void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override
 
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::GraphicsItemData< Property >
Propertyitem_
 
const Side side_
 

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