view 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
line wrap: on
line source

#ifndef __gui__dialog__information_h
#define __gui__dialog__information_h
#include <QDialog>
#include <functional>
namespace Anime {
class Anime;
}

class InformationDialog : public QDialog {
		Q_OBJECT

	public:
		InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr);

	private:
		int id;
		void SaveData();
};
#endif // __gui__dialog__information_h