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

Public Member Functions

 PropertyEditorWidgetQt (Property *property, const std::string &widgetName)
 
 PropertyEditorWidgetQt (Property *property, const std::string &widgetName, const std::string &objName)
 
virtual PropertygetProperty () const override
 
virtual bool isVisible () const override
 
virtual void setVisible (bool visible) override
 
virtual ivec2 getPosition () const override
 
virtual void setPosition (const ivec2 &pos) override
 
virtual ivec2 getDimensions () const override
 
virtual void setDimensions (const ivec2 &dimensions) override
 
virtual void saveState () override
 
virtual void loadState () 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)
 
- Public Member Functions inherited from inviwo::PropertyObserver
virtual void onSetIdentifier (Property *property, const std::string &identifier)
 
virtual void onSetDisplayName (Property *property, const std::string &displayName)
 
virtual void onSetSemantics (Property *property, const PropertySemantics &semantics)
 
virtual void onSetVisible (Property *property, bool visible)
 
virtual void onSetUsageMode (Property *property, UsageMode usageMode)
 
- 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 *event) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void closeEvent (QCloseEvent *) override
 
virtual void moveEvent (QMoveEvent *event) override
 
virtual void onSetReadOnly (Property *property, bool readonly) override
 
virtual void setReadOnly (bool readonly)
 
- Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
 

Protected Attributes

Propertyproperty_
 
- Protected Attributes inherited from inviwo::Observer
ObservableSet observables_
 

Static Protected Attributes

static const std::string visibleKey = "PropertyEditorWidgetVisible"
 
static const std::string floatingKey = "PropertyEditorWidgetFloating"
 
static const std::string stickyKey = "PropertyEditorWidgetSticky"
 
static const std::string sizeKey = "PropertyEditorWidgetSize"
 
static const std::string positionKey = "PropertyEditorWidgetPosition"
 
static const std::string dockareaKey = "PropertyEditorWidgetDockStatus"
 

Additional Inherited Members

- Signals inherited from inviwo::InviwoDockWidget
void stickyFlagChanged (bool sticky)
 
- Protected Types inherited from inviwo::Observer
using ObservableSet = std::unordered_set< ObservableInterface * >
 

Member Function Documentation

◆ loadState()

void inviwo::PropertyEditorWidgetQt::loadState ( )
overridevirtual

Load state related to the dock widget, called in the constructor. If you overload this function you must also call it in your constructor. Uses the objectName as settings group

Reimplemented from inviwo::InviwoDockWidget.

◆ saveState()

void inviwo::PropertyEditorWidgetQt::saveState ( )
overridevirtual

Save state related to the dock widget, called in the close event. Uses the objectName as settings group

Reimplemented from inviwo::InviwoDockWidget.


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