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

Go to the source code of this file.

Classes

class  HotstartSavesModel
 Row schema: {path relative to the .inp dir, OLE-Automation datetime sentinel}. An oaDate of 0.0 means "save at end of run" and renders as the QDateTimeEdit special-value text "(end of run)". More...
 
class  HotstartSavesDateTimeDelegate
 Delegate for the Datetime column. Editor is a QDateTimeEdit whose minimum date-time renders as the special value "(end of run)" so the user can pick a wall-clock time or leave it as the sentinel. More...
 

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

MVC backing for the scheduled-hot-start-saves table in the Simulation Options dialog ([FILES] SAVE HOTSTART). Pairs with the reusable PathBrowseDelegate (for the path column) and ships its own HotstartSavesDateTimeDelegate for the datetime picker.

The delegates are intended for use with QTableView::openPersistentEditor() so each row's path field, browse button, and date-time picker are visible without first clicking into the cell.