16#ifndef QGSDATETIMEEDITWRAPPER_H
17#define QGSDATETIMEEDITWRAPPER_H
22#include <QDateTimeEdit>
27class TestQgsDateTimeEdit;
60 void dateTimeChanged(
const QDateTime &dateTime );
63 QDateTimeEdit *mQDateTimeEdit =
nullptr;
69 QVariant
value()
const override;
72 bool valid()
const override;
79 void updateValues(
const QVariant &
value,
const QVariantList & = QVariantList() )
override;
friend class TestQgsDateTimeEdit
QgsDateTimeEditWrapper(QgsVectorLayer *layer, int fieldIdx, QWidget *editor, QWidget *parent=nullptr)
Constructor for QgsDateTimeEditWrapper.
QVariant value() const override
Will be used to access the widget's value.
A QDateTimeEdit with the capability of setting/reading null date/times.
Represents a vector layer which manages a vector based dataset.