text: #pragma once
  #include <QLCDNumber>
  
  class MineCounter : public QLCDNumber
  {
  public:
  	MineCounter(QWidget* parent = nullptr);
  
  	void setNumMines(int numMines);
  	void setFlagCount(unsigned int flagCount);
  	virtual QSize sizeHint() const override;
  
  private:
  
  	int m_totalMines;
  	unsigned int m_flagCount;
  };
  