src/EditRecipe.cpp

changeset 395
7212b980a527
parent 365
4bc746c65650
child 408
1c913473e4dd
equal deleted inserted replaced
394:f41d02c129e5 395:7212b980a527
217 ui->est_carbEdit->setValue(recipe->est_carb); 217 ui->est_carbEdit->setValue(recipe->est_carb);
218 ui->est_carbShow->setPrecision(1); 218 ui->est_carbShow->setPrecision(1);
219 ui->est_carbShow->setMarkerTextIsValue(true); 219 ui->est_carbShow->setMarkerTextIsValue(true);
220 ui->est_carbShow->setRange(recipe->st_carb_min, recipe->st_carb_max); 220 ui->est_carbShow->setRange(recipe->st_carb_min, recipe->st_carb_max);
221 ui->est_carbShow->setValue(recipe->est_carb); 221 ui->est_carbShow->setValue(recipe->est_carb);
222 calcStyle();
223 ui->est_buguShow->setPrecision(2);
224 ui->est_buguShow->setMarkerTextIsValue(true);
225 ui->est_bufguShow->setPrecision(2);
226 ui->est_bufguShow->setMarkerTextIsValue(true);
222 227
223 // Tab fermentables. 228 // Tab fermentables.
224 ui->est_og2Edit->setValue(recipe->est_og); 229 ui->est_og2Edit->setValue(recipe->est_og);
225 ui->est_color2Edit->setValue(recipe->est_color); 230 ui->est_color2Edit->setValue(recipe->est_color);
226 ui->est_color2Edit->setStyleSheet(Utils::ebc_to_style(recipe->est_color)); 231 ui->est_color2Edit->setStyleSheet(Utils::ebc_to_style(recipe->est_color));

mercurial