Mercurial > minori
comparison src/include/progress.h @ 6:1d82f6e04d7d
Update: add first parts to the settings dialog
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Wed, 16 Aug 2023 00:49:17 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 5:51ae25154b70 | 6:1d82f6e04d7d |
|---|---|
| 1 #ifndef __progress_h | |
| 2 #define __progress_h | |
| 3 #include <QPainter> | |
| 4 #include <QStyleOptionViewItem> | |
| 5 #include <QString> | |
| 6 #include <QProgressBar> | |
| 7 class AnimeProgressBar { | |
| 8 public: | |
| 9 AnimeProgressBar(); | |
| 10 void paint(QPainter *painter, const QStyleOptionViewItem &option, const QString &text, const int progress, const int episodes) const; | |
| 11 | |
| 12 private: | |
| 13 QProgressBar dummy_progress; | |
| 14 }; | |
| 15 #endif // __progress_h |
