QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RBlockListener Class Referenceabstract

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

#include <RBlockListener.h>

Public Member Functions

virtual void clearBlocks ()=0
 This method is called to signal that no document is currently active.
 
virtual void setCurrentBlock (RDocumentInterface *documentInterface)=0
 This method is called when a different block becomes the new current block.
 
virtual void updateBlocks (RDocumentInterface *documentInterface)=0
 This method is called whenever at least one block in the given document has changed.
 
virtual ~RBlockListener ()
 

Detailed Description

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

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

Scriptable:\nThis class is available in script environments.\n

Constructor & Destructor Documentation

◆ ~RBlockListener()

virtual RBlockListener::~RBlockListener ( )
inlinevirtual

Member Function Documentation

◆ clearBlocks()

virtual void RBlockListener::clearBlocks ( )
pure virtual

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

◆ setCurrentBlock()

virtual void RBlockListener::setCurrentBlock ( RDocumentInterface * documentInterface)
pure virtual

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

◆ updateBlocks()

virtual void RBlockListener::updateBlocks ( RDocumentInterface * documentInterface)
pure virtual

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


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