comparison include/gui/widgets/optional_date.h @ 63:3d2decf093bb

*: fix many clang warnings
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 06:39:47 -0400
parents 75c804f713b2
children c69230dc2b5d
comparison
equal deleted inserted replaced
62:4c6dd5999b39 63:3d2decf093bb
1 #ifndef __gui__widgets__optional_date_h 1 #ifndef __gui__widgets__optional_date_h
2 #define __gui__widgets__optional_date_h 2 #define __gui__widgets__optional_date_h
3 #include "core/date.h"
3 #include <QWidget> 4 #include <QWidget>
4 #include "core/date.h"
5 5
6 class QCheckBox; 6 class QCheckBox;
7 class QDateEdit; 7 class QDateEdit;
8 class QDate; 8 class QDate;
9 9
10 class OptionalDate : public QWidget { 10 class OptionalDate : public QWidget {
11 Q_OBJECT 11 Q_OBJECT
12 12
13 public: 13 public:
14 OptionalDate(QWidget* parent = nullptr); 14 OptionalDate(QWidget* parent = nullptr);
15 OptionalDate(bool enabled, QWidget* parent = nullptr); 15 OptionalDate(bool enabled, QWidget* parent = nullptr);
16 QDateEdit* GetDateEdit(); 16 QDateEdit* GetDateEdit();