Files
BeetRound/UIs/BeetRoundWidgets/widgets/biddingroundprogresslayout.h

29 lines
743 B
C++

#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