Mercurial > minori
view src/include/progress.h @ 7:07a9095eaeed
Update
Refactored some code, moved some around
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 24 Aug 2023 23:11:38 -0400 |
parents | 1d82f6e04d7d |
children |
line wrap: on
line source
#ifndef __progress_h #define __progress_h #include <QPainter> #include <QStyleOptionViewItem> #include <QString> #include <QProgressBar> class AnimeProgressBar { public: AnimeProgressBar(); void paint(QPainter *painter, const QStyleOptionViewItem &option, const QString &text, const int progress, const int episodes) const; private: QProgressBar dummy_progress; }; #endif // __progress_h