Mercurial > minori
annotate include/gui/dialog/information.h @ 47:d8eb763e6661
information.cpp: add widgets to the list tab, and add an
"optional date" widget like taiga has so users can specify whether to
set the date or not
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 25 Sep 2023 00:43:38 -0400 |
parents | d0adc4aedfc8 |
children | 75c804f713b2 |
rev | line source |
---|---|
9 | 1 #ifndef __gui__dialog__information_h |
2 #define __gui__dialog__information_h | |
3 #include <QDialog> | |
4 #include <functional> | |
5 namespace Anime { | |
6 class Anime; | |
7 } | |
8 | |
9 class InformationDialog : public QDialog { | |
10 Q_OBJECT | |
11 | |
12 public: | |
46 | 13 InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr); |
47
d8eb763e6661
information.cpp: add widgets to the list tab, and add an
Paper <mrpapersonic@gmail.com>
parents:
46
diff
changeset
|
14 |
d8eb763e6661
information.cpp: add widgets to the list tab, and add an
Paper <mrpapersonic@gmail.com>
parents:
46
diff
changeset
|
15 private: |
d8eb763e6661
information.cpp: add widgets to the list tab, and add an
Paper <mrpapersonic@gmail.com>
parents:
46
diff
changeset
|
16 int id; |
d8eb763e6661
information.cpp: add widgets to the list tab, and add an
Paper <mrpapersonic@gmail.com>
parents:
46
diff
changeset
|
17 void SaveData(); |
9 | 18 }; |
46 | 19 #endif // __gui__dialog__information_h |