111 ui->st_guideEdit->setText(product->st_guide); |
111 ui->st_guideEdit->setText(product->st_guide); |
112 ui->st_catEdit->setText(product->st_category); |
112 ui->st_catEdit->setText(product->st_category); |
113 ui->st_catnrEdit->setText(QString("%1").arg(product->st_category_number)); |
113 ui->st_catnrEdit->setText(QString("%1").arg(product->st_category_number)); |
114 ui->st_typeEdit->setText(QCoreApplication::translate("BeerType", g_style_types[product->st_type])); |
114 ui->st_typeEdit->setText(QCoreApplication::translate("BeerType", g_style_types[product->st_type])); |
115 |
115 |
116 ui->est_ogShow->setRange(query.value(7).toDouble(), query.value(8).toDouble()); |
116 ui->est_ogShow->setRange(product->st_og_min, product->st_og_max); |
117 ui->est_fgShow->setRange(query.value(9).toDouble(), query.value(10).toDouble()); |
117 ui->est_fgShow->setRange(product->st_fg_min, product->st_fg_max); |
118 ui->est_ibuShow->setRange(query.value(11).toDouble(), query.value(12).toDouble()); |
118 ui->est_ibuShow->setRange(product->st_ibu_min, product->st_ibu_max); |
119 ui->est_colorShow->setRange(query.value(13).toDouble(), query.value(14).toDouble()); |
119 ui->est_colorShow->setRange(product->st_color_min, product->st_color_max); |
120 ui->est_bottle_co2Show->setRange(query.value(15).toDouble(), query.value(16).toDouble()); |
120 ui->est_bottle_co2Show->setRange(product->st_carb_min, product->st_carb_max); |
121 ui->est_kegs_co2Show->setRange(query.value(15).toDouble(), query.value(16).toDouble()); |
121 ui->est_kegs_co2Show->setRange(product->st_carb_min, product->st_carb_max); |
122 ui->est_abvShow->setRange(query.value(17).toDouble(), query.value(18).toDouble()); |
122 ui->pack_carbloShow->setValue(product->st_carb_min); |
|
123 ui->pack_carbhiShow->setValue(product->st_carb_max); |
|
124 ui->est_abvShow->setRange(product->st_abv_min, product->st_abv_max); |
123 |
125 |
124 calcStyle(); |
126 calcStyle(); |
125 is_changed(); |
127 is_changed(); |
126 } |
128 } |
127 |
129 |