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

Public Member Functions

 CanvasWithPropertiesProcessorWidgetQt (Processor *p)
 
virtual CanvasgetCanvas () const override
 
virtual void setVisible (bool visible) override
 
virtual void setDimensions (ivec2 dimensions) override
 
virtual void setPosition (ivec2 position) override
 
virtual void setFullScreen (bool fullScreen) override
 
virtual void setOnTop (bool onTop) override
 
virtual void resizeEvent (QResizeEvent *event) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void hideEvent (QHideEvent *) override
 
virtual void moveEvent (QMoveEvent *) override
 
virtual void changeEvent (QEvent *) override
 
void setProperties (std::string_view paths)
 
- Public Member Functions inherited from inviwo::CanvasProcessorWidget
 CanvasProcessorWidget (Processor *p)
 
- Public Member Functions inherited from inviwo::ProcessorWidget
 ProcessorWidget (Processor *p)
 
virtual ProcessorgetProcessor () const
 
virtual bool isVisible () const
 
virtual glm::ivec2 getDimensions () const
 
virtual glm::ivec2 getPosition () const
 
virtual bool isFullScreen () const
 
virtual bool isOnTop () const
 
- 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 ()
 
- 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 onProcessorNetworkWillRemoveProcessor (Processor *)
 
virtual void onProcessorNetworkDidRemoveProcessor (Processor *)
 
virtual void onProcessorNetworkWillAddConnection (const PortConnection &)
 
virtual void onProcessorNetworkWillRemoveConnection (const PortConnection &)
 
virtual void onProcessorNetworkWillAddLink (const PropertyLink &)
 
virtual void onProcessorNetworkDidAddLink (const PropertyLink &)
 
virtual void onProcessorNetworkWillRemoveLink (const PropertyLink &)
 
virtual void onProcessorNetworkDidRemoveLink (const PropertyLink &)
 
virtual void onProcessorBackgroundJobsChanged (Processor *, int, int)
 

Protected Types

using Super = QMainWindow
 

Protected Member Functions

virtual void propagateResizeEvent () override
 
bool contextMenu (QMenu &menu)
 
virtual void updateVisible (bool visible) override
 
virtual void updateDimensions (ivec2) override
 
virtual void updatePosition (ivec2) override
 
virtual void updateFullScreen (bool) override
 
virtual void updateOnTop (bool) override
 
- Protected Member Functions inherited from inviwo::CanvasProcessorWidget
- Protected Member Functions inherited from inviwo::ProcessorWidget
- Protected Member Functions inherited from inviwo::ProcessorWidgetMetaDataObserver
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Protected Attributes

std::unique_ptr< CanvasQOpenGLWidget, std::function< void(CanvasQOpenGLWidget *)> > canvas_
 
Processor::NameDispatcherHandle nameChange_
 
size2_t canvasDimensions_ {0}
 
PropertyListFrameframe_
 
std::vector< std::string > addedPaths_
 
- Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
 

Additional Inherited Members

- Public Attributes inherited from inviwo::ProcessorNetworkObserver
friend ProcessorNetworkObservable
 

Member Function Documentation

◆ getCanvas()

virtual Canvas * inviwo::CanvasWithPropertiesProcessorWidgetQt::getCanvas ( ) const
overridevirtual

◆ propagateResizeEvent()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::propagateResizeEvent ( )
overrideprotectedvirtual

Propagated an event with the physical (pixel) dimensions of the canvas Note: QWidget::size() will return logical dimensions

Implements inviwo::CanvasProcessorWidget.

◆ setDimensions()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::setDimensions ( ivec2 dimensions)
overridevirtual

Set the dimensions of the widget, i.e both canvas and properties, not just the canvas This uses logical dimension, to be consistent with other widget

Reimplemented from inviwo::ProcessorWidget.

◆ setFullScreen()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::setFullScreen ( bool fullScreen)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ setOnTop()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::setOnTop ( bool onTop)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ setPosition()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::setPosition ( ivec2 position)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ setProperties()

void inviwo::CanvasWithPropertiesProcessorWidgetQt::setProperties ( std::string_view paths)

A list of processor ids and/or property paths, separated by new lines to show in the property list in the widget

◆ setVisible()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::setVisible ( bool visible)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ updateDimensions()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::updateDimensions ( ivec2 )
overrideprotectedvirtual

◆ updateFullScreen()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::updateFullScreen ( bool )
overrideprotectedvirtual

◆ updateOnTop()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::updateOnTop ( bool )
overrideprotectedvirtual

◆ updatePosition()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::updatePosition ( ivec2 )
overrideprotectedvirtual

◆ updateVisible()

virtual void inviwo::CanvasWithPropertiesProcessorWidgetQt::updateVisible ( bool visible)
overrideprotectedvirtual

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