Migrated old visualization of the bidding round statuses with donut charts from the legacy BeetRound project.
This commit is contained in:
28
UIs/BeetRoundWidgets/widgets/biddingroundprogresslayout.h
Normal file
28
UIs/BeetRoundWidgets/widgets/biddingroundprogresslayout.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef BIDDINGROUNDPROGRESSLAYOUT_H
|
||||
#define BIDDINGROUNDPROGRESSLAYOUT_H
|
||||
|
||||
#include <QHBoxLayout>
|
||||
|
||||
class QLabel;
|
||||
class QProgressBar;
|
||||
|
||||
class BiddingRoundProgressLayout : public QHBoxLayout {
|
||||
Q_OBJECT
|
||||
public:
|
||||
BiddingRoundProgressLayout(const int nCurrentBiddings,
|
||||
const int nExpectedBiddings,
|
||||
QWidget* parent = nullptr);
|
||||
|
||||
void setCurrentBiddings(const int value);
|
||||
void setExpectedBiddings(const int value);
|
||||
|
||||
private:
|
||||
int m_nCurrentBiddings;
|
||||
int m_nExpectedBiddings;
|
||||
|
||||
QLabel* m_nBiddings1Label = nullptr;
|
||||
QLabel* m_nExpectedBidding1Label = nullptr;
|
||||
QProgressBar* m_biddingRound1ProgressBar = nullptr;
|
||||
};
|
||||
|
||||
#endif // BIDDINGROUNDPROGRESSLAYOUT_H
|
||||
Reference in New Issue
Block a user