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>

Inheritance diagram for RLayerListener:
RPropertyEditor PropertyEditorImpl

Public Member Functions

virtual void clearLayers ()=0
 This method is called to signal that no document is currently active. More...
 
virtual void setCurrentLayer (RDocumentInterface *documentInterface)=0
 This method is called when a different layer becomes the new current layer. 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.

Implemented in RPropertyEditor.

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

This method is called when a different layer becomes the new current layer.

Implemented in RPropertyEditor.

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

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

Implemented in RPropertyEditor.


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