611 connect(ui->stmethodEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditProduct::yeast_method_changed); |
611 connect(ui->stmethodEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditProduct::yeast_method_changed); |
612 connect(ui->startersgEdit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditProduct::yeast_starter_sg_changed); |
612 connect(ui->startersgEdit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditProduct::yeast_starter_sg_changed); |
613 connect(ui->productionButton1, SIGNAL(clicked()), this, SLOT(yeast_prod_date_today())); |
613 connect(ui->productionButton1, SIGNAL(clicked()), this, SLOT(yeast_prod_date_today())); |
614 connect(ui->productionButton2, SIGNAL(clicked()), this, SLOT(yeast_prod_date_clear())); |
614 connect(ui->productionButton2, SIGNAL(clicked()), this, SLOT(yeast_prod_date_clear())); |
615 connect(ui->productionEdit, &QDateEdit::dateChanged, this, &EditProduct::yeast_prod_date_changed); |
615 connect(ui->productionEdit, &QDateEdit::dateChanged, this, &EditProduct::yeast_prod_date_changed); |
|
616 connect(ui->pitchrateButton, SIGNAL(clicked()), this, SLOT(yeast_pitchrate_button_clicked())); |
|
617 connect(ui->restartButton, SIGNAL(clicked()), this, SLOT(yeast_retry_button_clicked())); |
616 |
618 |
617 // All signals from tab "Mash" |
619 // All signals from tab "Mash" |
618 ui->mashsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
620 ui->mashsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
619 connect(ui->addMash, SIGNAL(clicked()), this, SLOT(addMashRow_clicked())); |
621 connect(ui->addMash, SIGNAL(clicked()), this, SLOT(addMashRow_clicked())); |
620 connect(ui->mash_pickEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditProduct::mash_select_changed); |
622 connect(ui->mash_pickEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditProduct::mash_select_changed); |