QCAD
Open Source 2D CAD
RViewListener Class Referenceabstract

Abstract base class for classes that are interested in being notified whenever a view has been added or changed. More...

#include <RViewListener.h>

Public Member Functions

virtual void clearViews ()=0
 This method is called to signal that no document is currently active. More...
 
virtual void updateViews (RDocumentInterface *documentInterface)=0
 This method is called whenever at least one view in the given document has changed. More...
 
virtual ~RViewListener ()
 

Detailed Description

Abstract base class for classes that are interested in being notified whenever a view has been added or changed.

This can for example be a widget that lists all views.

Scriptable:
This class is available in script environments.

Constructor & Destructor Documentation

virtual RViewListener::~RViewListener ( )
inlinevirtual

Member Function Documentation

virtual void RViewListener::clearViews ( )
pure virtual

This method is called to signal that no document is currently active.

virtual void RViewListener::updateViews ( RDocumentInterface documentInterface)
pure virtual

This method is called whenever at least one view in the given document has changed.


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