The calculation of how many harvest shares are expected in total.

This commit is contained in:
2026-02-21 22:54:59 +01:00
parent 6b383b8f55
commit d800ecfed7
7 changed files with 71 additions and 3 deletions

View File

@ -18,6 +18,7 @@ class SummaryWidget : public QWidget {
private slots:
void onFinancialNeedChanged(int newFinancialNeed);
void onNExpectedBiddingChanged(int newNExpected);
void onNTotalExpectedSharesChanged(qreal newNExpected);
void onNPlacedBiddingsChanged(const int roundNumber);
void onBiddingSumChanged(const int roundNumber);
@ -31,8 +32,9 @@ class SummaryWidget : public QWidget {
std::unique_ptr<BiddingRoundStatusWidget> m_biddingStatus3;
// TODO read from settings (maybe via model/core; maybe set in constructor)
const int m_financialNeed = 13942;
QSpinBox* m_financialNeedBox = nullptr;
const int m_financialNeed = 13942;
QSpinBox* m_financialNeedBox = nullptr;
QLabel* m_nTotalExpectedShares = nullptr;
QLabel* m_rowCountValueLabel;
QLabel* m_nExpectedBiddingsValueLabel;