LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IF_GraphicsLayerObserver Class Referenceabstract

The IF_GraphicsLayerOblayerHighlightColorChangedserver class defines an interface for classes which can receive updates from graphics layer attributes. More...

#include <graphicslayer.h>

+ Inheritance diagram for IF_GraphicsLayerObserver:
+ Collaboration diagram for IF_GraphicsLayerObserver:

Public Member Functions

virtual ~IF_GraphicsLayerObserver ()
 
virtual void layerColorChanged (const GraphicsLayer &layer, const QColor &newColor) noexcept=0
 
virtual void layerHighlightColorChanged (const GraphicsLayer &layer, const QColor &newColor) noexcept=0
 
virtual void layerVisibleChanged (const GraphicsLayer &layer, bool newVisible) noexcept=0
 
virtual void layerEnabledChanged (const GraphicsLayer &layer, bool newEnabled) noexcept=0
 
virtual void layerDestroyed (const GraphicsLayer &layer) noexcept=0
 

Detailed Description

The IF_GraphicsLayerOblayerHighlightColorChangedserver class defines an interface for classes which can receive updates from graphics layer attributes.

Constructor & Destructor Documentation

virtual ~IF_GraphicsLayerObserver ( )
inlinevirtual

Member Function Documentation

virtual void layerColorChanged ( const GraphicsLayer layer,
const QColor &  newColor 
)
pure virtualnoexcept
virtual void layerHighlightColorChanged ( const GraphicsLayer layer,
const QColor &  newColor 
)
pure virtualnoexcept
virtual void layerVisibleChanged ( const GraphicsLayer layer,
bool  newVisible 
)
pure virtualnoexcept
virtual void layerEnabledChanged ( const GraphicsLayer layer,
bool  newEnabled 
)
pure virtualnoexcept
virtual void layerDestroyed ( const GraphicsLayer layer)
pure virtualnoexcept

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