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

Signals

void closeDialog ()
 

Public Member Functions

 LinkDialogGraphicsScene (QWidget *parent, ProcessorNetwork *network, Processor *srcProcessor, Processor *dstProcessor)
 
template<typename T >
T * getItemAt (const QPointF pos, const Qt::ItemSelectionMode mode=Qt::IntersectsItemShape, Qt::SortOrder order=Qt::DescendingOrder) const
 
ProcessorNetworkgetNetwork () const
 
void removeAllPropertyLinks ()
 
void addPropertyLink (Property *srcProperty, Property *dstProperty, bool bidirectional)
 
void toggleExpand ()
 
void showHidden (bool val)
 
bool isPropertyExpanded (Property *property) const
 
virtual void onProcessorNetworkDidAddLink (const PropertyLink &propertyLink) override
 
virtual void onProcessorNetworkDidRemoveLink (const PropertyLink &propertyLink) override
 
virtual void onProcessorNetworkWillRemoveProcessor (Processor *processor) override
 
void makePropertyLinkBidirectional (DialogConnectionGraphicsItem *propertyLink, bool isBidirectional)
 
void switchPropertyLinkDirection (DialogConnectionGraphicsItem *propertyLink)
 
bool isShowingHidden () const
 
- Public Member Functions inherited from inviwo::ProcessorNetworkObserver
virtual void onProcessorNetworkChange ()
 
virtual void onProcessorNetworkEvaluateRequest ()
 
virtual void onProcessorNetworkUnlocked ()
 
virtual void onProcessorNetworkWillAddProcessor (Processor *)
 
virtual void onProcessorNetworkDidAddProcessor (Processor *)
 
virtual void onProcessorNetworkDidRemoveProcessor (Processor *)
 
virtual void onProcessorNetworkWillAddConnection (const PortConnection &)
 
virtual void onProcessorNetworkDidAddConnection (const PortConnection &)
 
virtual void onProcessorNetworkWillRemoveConnection (const PortConnection &)
 
virtual void onProcessorNetworkDidRemoveConnection (const PortConnection &)
 
virtual void onProcessorNetworkWillAddLink (const PropertyLink &)
 
virtual void onProcessorNetworkWillRemoveLink (const PropertyLink &)
 
- Public Member Functions inherited from inviwo::Observer
 Observer (const Observer &other)
 
 Observer (Observer &&other)
 
Observeroperator= (Observer &&other)
 
Observeroperator= (const Observer &other)
 
virtual ~Observer ()
 
void removeObservation (ObservableInterface *observable)
 
void removeObservations ()
 

Protected Member Functions

virtual void mousePressEvent (QGraphicsSceneMouseEvent *e) override
 
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *e) override
 
virtual void mouseReleaseEvent (QGraphicsSceneMouseEvent *e) override
 
virtual void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *e) override
 
virtual void wheelEvent (QGraphicsSceneWheelEvent *e) override
 
virtual void keyPressEvent (QKeyEvent *keyEvent) override
 
virtual void contextMenuEvent (QGraphicsSceneContextMenuEvent *e) override
 
virtual void helpEvent (QGraphicsSceneHelpEvent *helpEvent) override
 
void removePropertyLink (DialogConnectionGraphicsItem *propertyLink)
 
void updateAll ()
 
bool isPropertyLinkBidirectional (DialogConnectionGraphicsItem *propertyLink) const
 
DialogConnectionGraphicsIteminitializePropertyLinkRepresentation (const PropertyLink &propLink)
 
void removePropertyLinkRepresentation (const PropertyLink &propLink)
 
DialogConnectionGraphicsItemgetConnectionGraphicsItem (LinkDialogPropertyGraphicsItem *, LinkDialogPropertyGraphicsItem *) const
 
void offsetItems (double yIncrement, bool scrollLeft)
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Additional Inherited Members

- Public Attributes inherited from inviwo::ProcessorNetworkObserver
friend ProcessorNetworkObservable
 
- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 
- Protected Attributes inherited from inviwo::Observer
ObservableSet observables_
 

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