QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RViewListener Class Reference

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

#include <RViewListener.h>

List of all members.

Public Member Functions

virtual void clearViews ()=0
 This method is called to signal that no document is currently active.
virtual void updateViews (RDocumentInterface *documentInterface)=0
 This method is called whenever at least one view in the given document has changed.
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 wrapped for 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: