QCAD
Open Source 2D CAD
RPenListener Class Referenceabstract

Abstract base class for classes that are interested in being notified whenever the current pen changes. More...

#include <RPenListener.h>

Public Member Functions

virtual void clearPen ()=0
 This method is called to signal that no document is currently active. More...
 
virtual void updatePen (RDocumentInterface *documentInterface)=0
 This method is called whenever the current pen has changed. More...
 
virtual ~RPenListener ()
 

Detailed Description

Abstract base class for classes that are interested in being notified whenever the current pen changes.

This can for example be a widget that displays the current pen.

Scriptable:
This class is available in script environments.

Constructor & Destructor Documentation

virtual RPenListener::~RPenListener ( )
inlinevirtual

Member Function Documentation

virtual void RPenListener::clearPen ( )
pure virtual

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

virtual void RPenListener::updatePen ( RDocumentInterface documentInterface)
pure virtual

This method is called whenever the current pen has changed.


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