Mercurial > minori
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/include/progress.h Wed Aug 16 00:49:17 2023 -0400 @@ -0,0 +1,15 @@ +#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