SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::ui::IStyleEditorWidget Class Referenceabstract

Custom editor widget for one style subject. More...

#include <istyleeditorwidget.h>

Inheritance diagram for openswmmvis::ui::IStyleEditorWidget:
Collaboration diagram for openswmmvis::ui::IStyleEditorWidget:

Public Member Functions

 ~IStyleEditorWidget () override=default
 
virtual void refreshFromModel ()=0
 

Detailed Description

Custom editor widget for one style subject.

   Concrete editors derive from this and accept the property
   object pointer in their constructor. They read initial values
   in the ctor (or via a refresh() override) and write back to
   the property object on every user edit. The dialog's
   Apply/Cancel flow is handled at the subject level (via the
   ILayerStyleSubject::snapshot/restore round-trip), so editors
   only need to perform direct writes — no buffering required.

Constructor & Destructor Documentation

◆ ~IStyleEditorWidget()

openswmmvis::ui::IStyleEditorWidget::~IStyleEditorWidget ( )
overridedefault

Member Function Documentation

◆ refreshFromModel()


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