Files
cinema-ticket-management-sy…/ui/delegates/date_time_delegate.h
T
2026-07-12 14:34:52 +04:00

18 lines
384 B
C++

#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