16#ifndef QGSDATETIMEEDITWRAPPER_H
17#define QGSDATETIMEEDITWRAPPER_H
22#include <QDateTimeEdit>
27class TestQgsDateTimeEdit;
61 void dateTimeChanged(
const QDateTime &dateTime );
64 QDateTimeEdit *mQDateTimeEdit =
nullptr;
70 QVariant
value()
const override;
73 bool valid()
const override;
80 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.