693 |
693 |
694 // All signals from tab "Mash" |
694 // All signals from tab "Mash" |
695 ui->mashsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
695 ui->mashsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
696 connect(ui->addMash, SIGNAL(clicked()), this, SLOT(addMashRow_clicked())); |
696 connect(ui->addMash, SIGNAL(clicked()), this, SLOT(addMashRow_clicked())); |
697 connect(ui->mash_pickEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditRecipe::mash_select_changed); |
697 connect(ui->mash_pickEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditRecipe::mash_select_changed); |
|
698 connect(ui->mash_nameEdit, &QLineEdit::textChanged, this, &EditRecipe::mash_name_changed); |
698 |
699 |
699 // All signals from tab "Water" |
700 // All signals from tab "Water" |
700 connect(ui->bs_cacl2Edit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditRecipe::wb_cacl2_changed); |
701 connect(ui->bs_cacl2Edit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditRecipe::wb_cacl2_changed); |
701 connect(ui->bs_caso4Edit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditRecipe::wb_caso4_changed); |
702 connect(ui->bs_caso4Edit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditRecipe::wb_caso4_changed); |
702 connect(ui->bs_mgso4Edit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditRecipe::wb_mgso4_changed); |
703 connect(ui->bs_mgso4Edit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditRecipe::wb_mgso4_changed); |