src/EditProductTab2.cpp

changeset 176
69a033e099a2
parent 175
f1ed3a2a94e9
child 184
da148d6b4c95
equal deleted inserted replaced
175:f1ed3a2a94e9 176:69a033e099a2
16 * You should have received a copy of the GNU General Public License 16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */ 18 */
19 19
20 20
21 void EditProduct::showEquipment()
22 {
23 ui->eq_nameEdit->setText(product->eq_name);
24 ui->eq_notesEdit->setPlainText(product->eq_notes);
25
26 /* Mashing */
27 ui->tun_volumeEdit->setValue(product->eq_tun_volume);
28 ui->tun_materialEdit->setText(tun_materials[product->eq_tun_material]);
29 ui->mash_volumeEdit->setValue(product->eq_mash_volume);
30 ui->mash_maxEdit->setValue(product->eq_mash_max);
31
32 /* Lautering */
33 ui->lauter_volumeEdit->setValue(product->eq_lauter_volume);
34 ui->lauter_deadspaceEdit->setValue(product->eq_lauter_deadspace);
35
36 /* Boiling */
37 ui->kettle_volumeEdit->setValue(product->eq_kettle_volume);
38 ui->eqboil_sizeEdit->setValue(product->eq_boil_size);
39 ui->evap_rateEdit->setValue(product->eq_evap_rate);
40 ui->eqboil_timeEdit->setValue(product->eq_boil_time);
41 ui->topup_kettleEdit->setValue(product->eq_top_up_kettle);
42 ui->hop_utilizationEdit->setValue(product->eq_hop_utilization);
43 ui->eqbatch_sizeEdit->setValue(product->eq_batch_size);
44 ui->efficiencyEdit->setValue(product->eq_efficiency);
45
46 /* Chilling */
47 ui->trub_chillerlossEdit->setValue(product->eq_trub_chiller_loss);
48 ui->topup_waterEdit->setValue(product->eq_top_up_water);
49 }
50
51

mercurial