TraceX
 
Loading...
Searching...
No Matches
qprogressbar_custom.h
Go to the documentation of this file.
1#ifndef QPROGRESSBAR_CUSTOM_H
2#define QPROGRESSBAR_CUSTOM_H
3
4#include <QProgressBar>
5#include <QLabel>
6#include <QVBoxLayout>
7
8class QProgressBar_custom : public QProgressBar
9{
10 Q_OBJECT
11
12public:
13 explicit QProgressBar_custom(QWidget *parent = nullptr);
14 void updateProgress(int pourcentage, const QString &taskName);
15
16private:
17 QProgressBar* progressBar;
18 QLabel* nomTache;
19};
20
21#endif // QPROGRESSBAR_CUSTOM_H
void updateProgress(int pourcentage, const QString &taskName)
Definition qprogressbar_custom.cpp:18
QProgressBar_custom(QWidget *parent=nullptr)
Definition qprogressbar_custom.cpp:5