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

Public Member Functions

 DemoNavigatorDockWidgetQt (DemoController &controller, const std::string &widgetName, QWidget *parent, InviwoApplication *app=util::getInviwoApplication())
virtual InviwoApplicationgetInviwoApplication () override
Public Member Functions inherited from inviwo::InviwoDockWidget
 InviwoDockWidget (QString title, QWidget *parent)
 InviwoDockWidget (QString title, QWidget *parent, QString objname)
virtual void showEvent (QShowEvent *showEvent) override
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::animation::DemoControllerObserver
virtual void onStateChanged (DemoController *)
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::PropertyOwner
virtual ~PropertyOwner ()
 Removes all properties and notifies its observers of the removal.
virtual void addProperty (Property *property, bool owner=true)
virtual void addProperty (Property &property)
virtual PropertyaddProperty (std::unique_ptr< Property > property)
template<typename... Ts>
void addProperties (Ts &... properties)
virtual void insertProperty (size_t index, Property *property, bool owner=true)
 insert property property at position index If index is not valid, the property is appended.
virtual void insertProperty (size_t index, Property &property)
 insert property property at position index If index is not valid, the property is appended.
virtual PropertyinsertProperty (size_t index, std::unique_ptr< Property > property)
 insert property property at position index If index is not valid, the property is appended.
virtual PropertyremoveProperty (std::string_view identifier)
virtual PropertyremoveProperty (Property *property)
virtual PropertyremoveProperty (Property &property)
virtual PropertyremoveProperty (size_t index)
 remove property referred to by index
virtual bool move (Property *property, size_t newIndex)
virtual void clear ()
 Remove all properties; Owned properties will be deleted.
virtual const std::string & getIdentifier () const
const std::vector< Property * > & getProperties () const
const std::vector< CompositeProperty * > & getCompositeProperties () const
std::vector< Property * > getPropertiesRecursive () const
std::vector< Property * > & getPropertiesRecursive (std::vector< Property * > &destination) const
PropertygetPropertyByIdentifier (std::string_view identifier, bool recursiveSearch=false) const
PropertygetPropertyByPath (std::string_view path) const
template<class T>
std::vector< T * > getPropertiesByType (bool recursiveSearch=false) const
bool empty () const
size_t size () const
Propertyoperator[] (size_t)
const Propertyoperator[] (size_t) const
const_iterator find (Property *property) const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
const_iterator cbegin () const
const_iterator cend () const
virtual bool isValid () const
virtual void setValid ()
InvalidationLevel getInvalidationLevel () const
virtual void invalidate (InvalidationLevel invalidationLevel, Property *modifiedProperty)
virtual ProcessorgetProcessor ()
virtual const ProcessorgetProcessor () const
virtual const PropertyOwnergetOwner () const
virtual PropertyOwnergetOwner ()
virtual void serialize (Serializer &s) const override
virtual void deserialize (Deserializer &d) override
virtual void setAllPropertiesCurrentStateAsDefault ()
virtual void resetAllProperties ()
virtual void invokeEvent (Event *event) override
Public Member Functions inherited from inviwo::PropertyOwnerObservable
void notifyObserversWillAddProperty (PropertyOwner *owner, Property *property, size_t index)
void notifyObserversDidAddProperty (Property *property, size_t index)
void notifyObserversWillRemoveProperty (Property *property, size_t index)
void notifyObserversDidRemoveProperty (PropertyOwner *owner, Property *property, size_t index)
Public Member Functions inherited from inviwo::Observable< PropertyOwnerObserver >
Observable< PropertyOwnerObserver > & operator= (const Observable< PropertyOwnerObserver > &other)
void addObserver (PropertyOwnerObserver *observer)
void removeObserver (PropertyOwnerObserver *observer)
virtual void startBlockingNotifications () override final
virtual void stopBlockingNotifications () override final

Protected Attributes

DemoControllercontroller_
InviwoApplicationapp_
QAction * btnLast_ {}
QAction * btnNext_ {}
QAction * btnBegin_ {}
QAction * btnEnd_ {}
Protected Attributes inherited from inviwo::Observer
std::unordered_set< ObservableInterface * > observables_
Protected Attributes inherited from inviwo::PropertyOwner
std::vector< Property * > properties_
std::vector< EventProperty * > eventProperties_
std::vector< CompositeProperty * > compositeProperties_
std::vector< std::unique_ptr< Property > > ownedProperties_

Additional Inherited Members

Public Types inherited from inviwo::PropertyOwner
using iterator = std::vector<Property*>::iterator
using const_iterator = std::vector<Property*>::const_iterator
Signals inherited from inviwo::InviwoDockWidget
void stickyFlagChanged (bool sticky)
Protected Member Functions inherited from inviwo::InviwoDockWidget
virtual void closeEvent (QCloseEvent *event) override
Protected Member Functions inherited from inviwo::Observer
void addObservation (ObservableInterface *observable)
Protected Member Functions inherited from inviwo::PropertyOwner
 PropertyOwner (const PropertyOwner &rhs)
PropertyOwneroperator= (const PropertyOwner &that)=delete
void forEachProperty (std::function< void(Property &)> callback, bool recursiveSearch=false) const
Protected Member Functions inherited from inviwo::Observable< PropertyOwnerObserver >
void forEachObserver (C callback)
Protected Member Functions inherited from inviwo::ObservableInterface
virtual void addObserver (Observer *observer)=0
virtual void removeObserver (Observer *observer)=0
void addObservationHelper (Observer *observer)
void removeObservationHelper (Observer *observer)

Member Function Documentation

◆ getInviwoApplication()

virtual InviwoApplication * inviwo::animation::DemoNavigatorDockWidgetQt::getInviwoApplication ( )
overridevirtual

Implements inviwo::PropertyOwner.


The documentation for this class was generated from the following file:
  • demonavigatordockwidgetqt.h