Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ProcessorDockWidgetQt Class Reference

Base class for Qt processor widget using InviwoDockWidget. More...

#include <processordockwidgetqt.h>

+ Inheritance diagram for inviwo::ProcessorDockWidgetQt:

Public Member Functions

 ProcessorDockWidgetQt (Processor *p, const QString &title=QString("ProcessorDockWidgetQt"), QWidget *parent=nullptr)
 
virtual void setPosition (glm::ivec2 pos) override
 
virtual void setDimensions (ivec2 dimensions) override
 
- Public Member Functions inherited from inviwo::InviwoDockWidget
 InviwoDockWidget (QString title, QWidget *parent)
 
 InviwoDockWidget (QString title, QWidget *parent, QString objname)
 
virtual void keyPressEvent (QKeyEvent *keyEvent) override
 
void setSticky (bool sticky)
 
bool isSticky () const
 
void setContents (QWidget *widget)
 
void setContents (QLayout *layout)
 
virtual void saveState ()
 
virtual void loadState ()
 
- Public Member Functions inherited from inviwo::ProcessorWidget
 ProcessorWidget (Processor *p)
 
virtual ProcessorgetProcessor () const
 
virtual bool isVisible () const
 
virtual void setVisible (bool visible)
 
virtual glm::ivec2 getDimensions () const
 
virtual glm::ivec2 getPosition () const
 
virtual bool isFullScreen () const
 
virtual void setFullScreen (bool fullscreen)
 
virtual bool isOnTop () const
 
virtual void setOnTop (bool onTop)
 
- 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 resizeEvent (QResizeEvent *) override
 
virtual void moveEvent (QMoveEvent *) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void hideEvent (QHideEvent *) override
 
- Protected Member Functions inherited from inviwo::InviwoDockWidget
virtual void closeEvent (QCloseEvent *event) override
 
- Protected Member Functions inherited from inviwo::ProcessorWidget
virtual void updateVisible (bool visible)=0
 
virtual void updateDimensions (ivec2)=0
 
virtual void updatePosition (ivec2)=0
 
virtual void updateFullScreen (bool)=0
 
virtual void updateOnTop (bool)=0
 
- Protected Member Functions inherited from inviwo::ProcessorWidgetMetaDataObserver
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Protected Attributes

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

Additional Inherited Members

- Signals inherited from inviwo::InviwoDockWidget
void stickyFlagChanged (bool sticky)
 

Detailed Description

Base class for Qt processor widget using InviwoDockWidget.

This Qt widget provides the basic functionality and setup for creating a processor widget based on InviwoDockWidget. The content of the dock widget is set by calling setContent().

See also
InviwoDockWidget ProcessorWidget

Member Function Documentation

◆ setDimensions()

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

Reimplemented from inviwo::ProcessorWidget.

◆ setPosition()

virtual void inviwo::ProcessorDockWidgetQt::setPosition ( glm::ivec2 pos)
overridevirtual

Reimplemented from inviwo::ProcessorWidget.

◆ showEvent()

virtual void inviwo::ProcessorDockWidgetQt::showEvent ( QShowEvent * )
overrideprotectedvirtual

Reimplemented from inviwo::InviwoDockWidget.


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