src/EditProduct.cpp

changeset 397
877420a13815
parent 395
7212b980a527
child 401
583148eb6e01
equal deleted inserted replaced
396:c9a1d85c1487 397:877420a13815
332 ui->est_ibuShow->setPrecision(0); 332 ui->est_ibuShow->setPrecision(0);
333 ui->est_ibuShow->setMarkerTextIsValue(true); 333 ui->est_ibuShow->setMarkerTextIsValue(true);
334 ui->est_ibuShow->setRange(product->st_ibu_min, product->st_ibu_max); 334 ui->est_ibuShow->setRange(product->st_ibu_min, product->st_ibu_max);
335 ui->est_ibuShow->setValue(product->est_ibu); 335 ui->est_ibuShow->setValue(product->est_ibu);
336 ui->ibu_methodEdit->setCurrentIndex(product->ibu_method); 336 ui->ibu_methodEdit->setCurrentIndex(product->ibu_method);
337 ui->est_carbEdit->setValue(product->est_carb); 337 ui->est_bottle_co2Edit->setValue(product->bottle_carbonation);
338 ui->est_carbShow->setPrecision(1); 338 ui->est_bottle_co2Show->setPrecision(1);
339 ui->est_carbShow->setMarkerTextIsValue(true); 339 ui->est_bottle_co2Show->setMarkerTextIsValue(true);
340 ui->est_carbShow->setRange(product->st_carb_min, product->st_carb_max); 340 ui->est_bottle_co2Show->setRange(product->st_carb_min, product->st_carb_max);
341 ui->est_carbShow->setValue(product->est_carb); 341 ui->est_bottle_co2Show->setValue(product->bottle_carbonation);
342 ui->est_kegs_co2Edit->setValue(product->keg_carbonation);
343 ui->est_kegs_co2Show->setPrecision(1);
344 ui->est_kegs_co2Show->setMarkerTextIsValue(true);
345 ui->est_kegs_co2Show->setRange(product->st_carb_min, product->st_carb_max);
346 ui->est_kegs_co2Show->setValue(product->keg_carbonation);
342 calcStyle(); 347 calcStyle();
343 ui->est_buguShow->setPrecision(2); 348 ui->est_buguShow->setPrecision(2);
344 ui->est_buguShow->setMarkerTextIsValue(true); 349 ui->est_buguShow->setMarkerTextIsValue(true);
345 ui->est_bufguShow->setPrecision(2); 350 ui->est_bufguShow->setPrecision(2);
346 ui->est_bufguShow->setMarkerTextIsValue(true); 351 ui->est_bufguShow->setMarkerTextIsValue(true);

mercurial