src/EditProductTab7.cpp

changeset 464
1fed3ff9a64e
parent 454
2dfead81c72f
equal deleted inserted replaced
463:98df69885455 464:1fed3ff9a64e
34 const QStringList labels({tr("Step name"), tr("Type"), tr("Start"), tr("End"), tr("Rest"), tr("Ramp"), 34 const QStringList labels({tr("Step name"), tr("Type"), tr("Start"), tr("End"), tr("Rest"), tr("Ramp"),
35 tr("Inf/dec"), tr("Inf/dec"), tr("Volume"), tr("W/G ratio"), tr("SG"), tr("pH"), "", "", "", "" }); 35 tr("Inf/dec"), tr("Inf/dec"), tr("Volume"), tr("W/G ratio"), tr("SG"), tr("pH"), "", "", "", "" });
36 36
37 ui->mashsTable->setColumnCount(16); 37 ui->mashsTable->setColumnCount(16);
38 ui->mashsTable->setColumnWidth(0, 189); /* Step name */ 38 ui->mashsTable->setColumnWidth(0, 189); /* Step name */
39 ui->mashsTable->setColumnWidth(1, 100); /* Type */ 39 ui->mashsTable->setColumnWidth(1, 110); /* Type */
40 ui->mashsTable->setColumnWidth(2, 70); /* Start temp */ 40 ui->mashsTable->setColumnWidth(2, 70); /* Start temp */
41 ui->mashsTable->setColumnWidth(3, 70); /* End temp */ 41 ui->mashsTable->setColumnWidth(3, 70); /* End temp */
42 ui->mashsTable->setColumnWidth(4, 70); /* Rest time */ 42 ui->mashsTable->setColumnWidth(4, 70); /* Rest time */
43 ui->mashsTable->setColumnWidth(5, 70); /* Ramp time */ 43 ui->mashsTable->setColumnWidth(5, 70); /* Ramp time */
44 ui->mashsTable->setColumnWidth(6, 70); /* Infusion vol */ 44 ui->mashsTable->setColumnWidth(6, 70); /* Infusion vol */
45 ui->mashsTable->setColumnWidth(7, 70); /* Infusion tmp */ 45 ui->mashsTable->setColumnWidth(7, 70); /* Infusion tmp */
46 ui->mashsTable->setColumnWidth(8, 70); /* Volume */ 46 ui->mashsTable->setColumnWidth(8, 70); /* Volume */
47 ui->mashsTable->setColumnWidth(9, 80); /* W/G ratio */ 47 ui->mashsTable->setColumnWidth(9, 80); /* W/G ratio */
48 ui->mashsTable->setColumnWidth(10, 50); /* SG */ 48 ui->mashsTable->setColumnWidth(10, 60); /* SG */
49 ui->mashsTable->setColumnWidth(11, 50); /* pH */ 49 ui->mashsTable->setColumnWidth(11, 60); /* pH */
50 ui->mashsTable->setColumnWidth(12, 30); /* Up button */ 50 ui->mashsTable->setColumnWidth(12, 30); /* Up button */
51 ui->mashsTable->setColumnWidth(13, 30); /* Down button */ 51 ui->mashsTable->setColumnWidth(13, 30); /* Down button */
52 ui->mashsTable->setColumnWidth(14, 30); /* Delete */ 52 ui->mashsTable->setColumnWidth(14, 30); /* Delete */
53 ui->mashsTable->setColumnWidth(15, 30); /* Edit */ 53 ui->mashsTable->setColumnWidth(15, 30); /* Edit */
54 ui->mashsTable->setHorizontalHeaderLabels(labels); 54 ui->mashsTable->setHorizontalHeaderLabels(labels);

mercurial