view 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 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