QCAD
Open Source 2D CAD
RLayerListener Class Referenceabstract

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

#include <RLayerListener.h>

Public Member Functions

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

Detailed Description

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

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

Scriptable:
This class is available in script environments.

Constructor & Destructor Documentation

virtual RLayerListener::~RLayerListener ( )
inlinevirtual

Member Function Documentation

virtual void RLayerListener::clearLayers ( )
pure virtual

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

virtual void RLayerListener::updateLayers ( RDocumentInterface documentInterface)
pure virtual

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


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