Abstract class to represent an observer. "View" part of MVC component. More...
#include <Observer.h>
Public Member Functions | |
virtual void | updateObserver (ContextItem context)=0 |
This method is called when a change has occurred in the state of the observable. Reimplement this function in a ItemObserver subclass to provide the item's updateObserver implementation. More... | |
virtual | ~Observer (void) |
Destructor. More... | |
Abstract class to represent an observer. "View" part of MVC component.
Definition at line 48 of file Observer.h.
|
inlinevirtual |
Destructor.
Definition at line 55 of file Observer.h.
|
pure virtual |
This method is called when a change has occurred in the state of the observable. Reimplement this function in a ItemObserver subclass to provide the item's updateObserver implementation.
context | maintaining the drawing context of a MVC component. |
Implemented in te::layout::ParentItem< T >, te::layout::ParentItem< QGraphicsTextItem >, te::layout::ParentItem< QGraphicsObject >, te::layout::ParentItem< QGraphicsProxyWidget >, te::layout::MapItem, te::layout::TextItem, te::layout::PropertiesOutside, te::layout::ToolbarOutside, te::layout::MapLayerChoiceOutside, te::layout::LegendItem, te::layout::ItemObserver, te::layout::OutsideObserver, te::layout::ItemGroup, te::layout::GridSettingsOutside, te::layout::TitleItem, te::layout::ObjectInspectorOutside, te::layout::TextGridSettingsOutside, te::layout::EditTemplateOutside, te::layout::PageSetupOutside, te::layout::SystematicScaleOutside, and te::layout::LineItem.