QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
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.
 
virtual void updatePen (RDocumentInterface *documentInterface)=0
 This method is called whenever the current pen has changed.
 
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:\nThis class is available in script environments.\n

Constructor & Destructor Documentation

◆ ~RPenListener()

virtual RPenListener::~RPenListener ( )
inlinevirtual

Member Function Documentation

◆ clearPen()

virtual void RPenListener::clearPen ( )
pure virtual

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

◆ updatePen()

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: