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
ProfileOptionsDialog Class Reference

#include <profileoptionsdialog.h>

Inheritance diagram for ProfileOptionsDialog:
Collaboration diagram for ProfileOptionsDialog:

Public Slots

void refreshSources ()
 

Signals

void sourcesChanged ()
 Emitted when the user toggles visibility, edits a colour, or renames a source. The host dialog should call rebindSources()
 
void addOutputFileRequested (const QString &path)
 Emitted when the user picks an external .out file. The host should construct an SWMMResultsLayer for the file and register it on the AnimationController as a secondary layer.
 

Public Member Functions

 ProfileOptionsDialog (ProfilePlotOptions *options, AnimationController *anim=nullptr, SWMMVisProjectWindow *projectWindow=nullptr, QWidget *parent=nullptr)
 
void setTrackOptions (ProfileAttributeTrackOptions *trackOptions)
 

Constructor & Destructor Documentation

◆ ProfileOptionsDialog()

ProfileOptionsDialog::ProfileOptionsDialog ( ProfilePlotOptions options,
AnimationController anim = nullptr,
SWMMVisProjectWindow projectWindow = nullptr,
QWidget *  parent = nullptr 
)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ addOutputFileRequested

void ProfileOptionsDialog::addOutputFileRequested ( const QString &  path)
signal

Emitted when the user picks an external .out file. The host should construct an SWMMResultsLayer for the file and register it on the AnimationController as a secondary layer.

◆ refreshSources

void ProfileOptionsDialog::refreshSources ( )
slot

Refresh the Sources tab to mirror the AnimationController's current layer list. Call after the host adds/removes a layer.

Here is the caller graph for this function:

◆ setTrackOptions()

void ProfileOptionsDialog::setTrackOptions ( ProfileAttributeTrackOptions trackOptions)

Adds an "Attribute Tracks" tab editing the given options object through the same QPropertyModel machinery as the Display tab. Call once, right after construction; null is a no-op.

Here is the call graph for this function:

◆ sourcesChanged

void ProfileOptionsDialog::sourcesChanged ( )
signal

Emitted when the user toggles visibility, edits a colour, or renames a source. The host dialog should call rebindSources()

  • populateSourcesPanel() to update the plot + toolbar.

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