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

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...

#include <hotstartsavesmodel.h>

Inheritance diagram for HotstartSavesDateTimeDelegate:
Collaboration diagram for HotstartSavesDateTimeDelegate:

Public Member Functions

 HotstartSavesDateTimeDelegate (QObject *parent=nullptr)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &opt, const QModelIndex &idx) const override
 
void setEditorData (QWidget *editor, const QModelIndex &idx) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &idx) const override
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ HotstartSavesDateTimeDelegate()

HotstartSavesDateTimeDelegate::HotstartSavesDateTimeDelegate ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ createEditor()

QWidget * HotstartSavesDateTimeDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  opt,
const QModelIndex &  idx 
) const
override
Here is the call graph for this function:

◆ setEditorData()

void HotstartSavesDateTimeDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  idx 
) const
override
Here is the call graph for this function:

◆ setModelData()

void HotstartSavesDateTimeDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  idx 
) const
override
Here is the call graph for this function:

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