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>
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.
◆ HotstartSavesDateTimeDelegate()
| HotstartSavesDateTimeDelegate::HotstartSavesDateTimeDelegate |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ createEditor()
| QWidget * HotstartSavesDateTimeDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
opt, |
|
|
const QModelIndex & |
idx |
|
) |
| const |
|
override |
◆ setEditorData()
| void HotstartSavesDateTimeDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
idx |
|
) |
| const |
|
override |
◆ setModelData()
| void HotstartSavesDateTimeDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
idx |
|
) |
| const |
|
override |
The documentation for this class was generated from the following files: