#ifndef BIDDINGROUNDPROGRESSLAYOUT_H #define BIDDINGROUNDPROGRESSLAYOUT_H #include 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_nBiddingsLabel = nullptr; QLabel* m_nExpectedBiddingLabel = nullptr; QProgressBar* m_biddingRoundProgressBar = nullptr; void updateEnabledStatus(); }; #endif // BIDDINGROUNDPROGRESSLAYOUT_H