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
pathbrowsedelegate.h File Reference
#include <QString>
#include <QStyledItemDelegate>
Include dependency graph for pathbrowsedelegate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PathBrowseDelegate
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Reusable QStyledItemDelegate that renders a {QLineEdit + "…" browse button} composite editor for a path column. Used by the Simulation Options dialog's hot-start-saves and [PLUGINS] tables, and any other MVC list / table where a row maps to a file path.

Each instance carries a fixed dialog title, file-filter string, and open/save mode — pass these in via the constructor (or the matching setters) so a single class can serve multiple columns with different file pickers.