Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef DATE_TIME_DELEGATE_H
|
||||
#define DATE_TIME_DELEGATE_H
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
class DateTimeDelegate : public QStyledItemDelegate {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DateTimeDelegate(QObject *parent = nullptr);
|
||||
|
||||
QString displayText(const QVariant &value,
|
||||
const QLocale &locale) const override;
|
||||
};
|
||||
|
||||
#endif // DATE_TIME_DELEGATE_H
|
||||
Reference in New Issue
Block a user