view include/gui/widgets/poster.h @ 69:27a19dd6cba1

*: fix up some stuff settings: due to my own incompetence OnOK caused the entire program to crash, now that's fixed :)
author Paper <mrpapersonic@gmail.com>
date Tue, 03 Oct 2023 03:38:25 -0400
parents 442065432549
children d3e9310598b1
line wrap: on
line source

#ifndef __gui__widgets__poster_h
#define __gui__widgets__poster_h
#include <QFrame>
#include <QImage>

class QWidget;
class ClickableLabel;

class Poster : public QFrame {
		Q_OBJECT

	public:
		Poster(int id, QWidget* parent = nullptr);

	protected:
		void resizeEvent(QResizeEvent*) override;

	private:
		QImage img;
		ClickableLabel* label;
};

#endif // __gui__widgets__poster_h