src/EditProduct.cpp

changeset 456
6b10c34f74f5
parent 454
2dfead81c72f
child 457
5028c1c4c526
equal deleted inserted replaced
455:deea5047be32 456:6b10c34f74f5
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);

mercurial