![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Path-picker that displays paths relative to a project anchor. More...
#include <QFileDialog>#include <QString>#include <QWidget>Go to the source code of this file.
Classes | |
| class | openswmmvis::ui::RelativePathPicker |
| A QLineEdit + browse-button widget that normalises display paths against a project anchor. More... | |
Namespaces | |
| namespace | openswmmvis |
| namespace | openswmmvis::ui |
Path-picker that displays paths relative to a project anchor.
Slice IO-10. The GUI counterpart to the engine's
openswmm::io::PathResolver. The widget stores paths internally
in their absolute form so the engine's `fopen` paths keep
working, but displays them relative to a project-supplied
anchor directory whenever that's possible. A tooltip surfaces
the resolved absolute form for power users.
Used by every editor that today exposes an external-file slot:
SimulationOptionsDialog (Files / Climate / Hot-Start tabs),
TimeSeriesEditorDialog (external panel), and any property
adapter that needs to capture a file reference. See
IO_PORTABILITY_PLAN.md ยง3.7.