dotprogressbarwidget.h
649 Bytes
#ifndef DOTPROGRESSBARWIDGET_H
#define DOTPROGRESSBARWIDGET_H
#include <QWidget>
#include <QLabel>
namespace Ui {
class DotProgressBarWidget;
}
class DotProgressBarWidget : public QWidget
{
Q_OBJECT
public:
explicit DotProgressBarWidget(QWidget *parent = 0);
~DotProgressBarWidget();
void setMaxProgress(int curProgress, int maxProgress);
void setCurrentProgress(int progress);
private:
void reloadUi(void);
Ui::DotProgressBarWidget *ui;
QPixmap basePixmap;
QPixmap coverPixmap;
QList<QLabel *>m_ctrLabelList;
int m_nCurProgress;
int m_nMaximumProgress;
};
#endif // DOTPROGRESSBARWIDGET_H