Mercurial > minori
view include/gui/widgets/poster.h @ 79:c489dd4434af
*: what did I do again?
I really forgot what I did here :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 12 Oct 2023 11:31:39 -0400 |
parents | 3364fadc8a36 |
children | d02fdf1d6708 |
line wrap: on
line source
#ifndef __gui__widgets__poster_h #define __gui__widgets__poster_h #include <QByteArray> #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; void ImageDownloadFinished(QByteArray arr); void RenderToLabel(); private: QImage img; ClickableLabel* label; }; #endif // __gui__widgets__poster_h