RPenListener
Class in Core Module
Header: #include <src/core/RPenListener.h>
Description
Section titled “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.
Public Functions
Section titled “Public Functions”| virtual | ~RPenListener() |
| virtual void | clearPen()=0 = 0This method is called to signal that no document is currently active. |
| virtual void | updatePen(RDocumentInterface *documentInterface)=0 = 0This method is called whenever the current pen has changed. |
Member Documentation
Section titled “Member Documentation”~RPenListener
Section titled “~RPenListener”virtual RPenListener::~RPenListener()virtual inline
clearPen
Section titled “clearPen”virtual void RPenListener::clearPen()=0 = 0pure virtual
This method is called to signal that no document is currently active.
updatePen
Section titled “updatePen”virtual void RPenListener::updatePen(RDocumentInterface *documentInterface)=0 = 0pure virtual
This method is called whenever the current pen has changed.