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::LineFeatureStyleEditor Class Reference

#include <featurestyleeditor.h>

Inheritance diagram for openswmmvis::ui::LineFeatureStyleEditor:
Collaboration diagram for openswmmvis::ui::LineFeatureStyleEditor:

Public Member Functions

 LineFeatureStyleEditor (OpenSWMM::Render::LineFeatureSublayerStyle *style, QWidget *parent=nullptr)
 
void refreshFromModel () override
 
- Public Member Functions inherited from openswmmvis::ui::FeatureStyleEditorBase
 FeatureStyleEditorBase (OpenSWMM::Render::FeatureSublayerStyle *style, QWidget *parent=nullptr)
 
- Public Member Functions inherited from openswmmvis::ui::IStyleEditorWidget
 ~IStyleEditorWidget () override=default
 

Protected Member Functions

void updatePreview () override
 
- Protected Member Functions inherited from openswmmvis::ui::FeatureStyleEditorBase
void buildCommonRows ()
 
void addPreviewRow ()
 

Additional Inherited Members

- Protected Attributes inherited from openswmmvis::ui::FeatureStyleEditorBase
OpenSWMM::Render::FeatureSublayerStylem_style = nullptr
 
QComboBox * m_attributeCombo = nullptr
 
ColorButtonm_singleColorBtn = nullptr
 
QCheckBox * m_useRampBox = nullptr
 
StylePreviewSwatchm_preview = nullptr
 
LabelConfigEditorm_labelEditor = nullptr
 

Constructor & Destructor Documentation

◆ LineFeatureStyleEditor()

openswmmvis::ui::LineFeatureStyleEditor::LineFeatureStyleEditor ( OpenSWMM::Render::LineFeatureSublayerStyle style,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ refreshFromModel()

void openswmmvis::ui::LineFeatureStyleEditor::refreshFromModel ( )
overridevirtual

Re-read the property object's current values and update the widget's controls. Called after an external mutation (Cancel rollback, .oswp load) so the open dialog stays in sync.

Reimplemented from openswmmvis::ui::FeatureStyleEditorBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updatePreview()

void openswmmvis::ui::LineFeatureStyleEditor::updatePreview ( )
overrideprotectedvirtual

Subclass hook — repaint the preview swatch with whatever the archetype-specific state should look like.

Implements openswmmvis::ui::FeatureStyleEditorBase.

Here is the call graph for this function:
Here is the caller graph for this function:

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