Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ProcessorProgressGraphicsItem Class Reference
+ Inheritance diagram for inviwo::ProcessorProgressGraphicsItem:

Public Types

enum  { Type = static_cast<int>(UserType) + static_cast<int>(ProcessorProgressGraphicsType) }
 

Public Member Functions

 ProcessorProgressGraphicsItem (QGraphicsRectItem *parent, ProgressBar *processor)
 
int type () const override
 
- Public Member Functions inherited from inviwo::EditorGraphicsItem
 EditorGraphicsItem (QGraphicsItem *parent)
 
QPoint mapPosToSceen (QPointF pos) const
 
virtual void showToolTip (QGraphicsSceneHelpEvent *event)
 
void showPortInfo (QGraphicsSceneHelpEvent *e, Port *port) const
 
- Public Member Functions inherited from inviwo::ProgressBarObserver
- 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

void paint (QPainter *p, const QStyleOptionGraphicsItem *options, QWidget *widget) override
 
virtual void progressChanged (float progress) override
 
virtual void progressBarVisibilityChanged (bool visibility) override
 
- Protected Member Functions inherited from inviwo::EditorGraphicsItem
void showToolTipHelper (QGraphicsSceneHelpEvent *event, QString string) const
 
NetworkEditorgetNetworkEditor () const
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Member Function Documentation

◆ progressBarVisibilityChanged()

virtual void inviwo::ProcessorProgressGraphicsItem::progressBarVisibilityChanged ( bool visibility)
overrideprotectedvirtual

This method will be called when observed object changes.

Parameters
visibilitystate that ProgressBar changed into

Reimplemented from inviwo::ProgressBarObserver.

◆ progressChanged()

virtual void inviwo::ProcessorProgressGraphicsItem::progressChanged ( float progress)
overrideprotectedvirtual

This method will be called when observed object changes.

Parameters
progressNew progress between [0 1]

Reimplemented from inviwo::ProgressBarObserver.


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