1043 // All signals from tab "Miscs" |
1041 // All signals from tab "Miscs" |
1044 ui->miscsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
1042 ui->miscsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
1045 connect(ui->addMisc, SIGNAL(clicked()), this, SLOT(addMiscRow_clicked())); |
1043 connect(ui->addMisc, SIGNAL(clicked()), this, SLOT(addMiscRow_clicked())); |
1046 |
1044 |
1047 // All signals from tab "Yeasts" |
1045 // All signals from tab "Yeasts" |
1048 ui->yeastsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
|
1049 connect(ui->addYeast, SIGNAL(clicked()), this, SLOT(addYeastRow_clicked())); |
1046 connect(ui->addYeast, SIGNAL(clicked()), this, SLOT(addYeastRow_clicked())); |
|
1047 connect(ui->stmethodEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditProduct::yeast_method_changed); |
|
1048 connect(ui->startersgEdit, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this, &EditProduct::yeast_starter_sg_changed); |
1050 |
1049 |
1051 // All signals from tab "Mash" |
1050 // All signals from tab "Mash" |
1052 ui->mashsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
1051 ui->mashsTable->setEditTriggers(QAbstractItemView::NoEditTriggers); |
1053 connect(ui->addMash, SIGNAL(clicked()), this, SLOT(addMashRow_clicked())); |
1052 connect(ui->addMash, SIGNAL(clicked()), this, SLOT(addMashRow_clicked())); |
1054 connect(ui->mash_pickEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditProduct::mash_select_changed); |
1053 connect(ui->mash_pickEdit, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &EditProduct::mash_select_changed); |