55 tr("IBU"), tr("Amount"), tr("Delete"), tr("Edit") }); |
55 tr("IBU"), tr("Amount"), tr("Delete"), tr("Edit") }); |
56 |
56 |
57 ui->hopsTable->setColumnCount(11); |
57 ui->hopsTable->setColumnCount(11); |
58 ui->hopsTable->setColumnWidth(0, 150); /* Origin */ |
58 ui->hopsTable->setColumnWidth(0, 150); /* Origin */ |
59 ui->hopsTable->setColumnWidth(1, 225); /* Hop */ |
59 ui->hopsTable->setColumnWidth(1, 225); /* Hop */ |
60 ui->hopsTable->setColumnWidth(2, 75); /* Type */ |
60 ui->hopsTable->setColumnWidth(2, 84); /* Type */ |
61 ui->hopsTable->setColumnWidth(3, 75); /* Form */ |
61 ui->hopsTable->setColumnWidth(3, 84); /* Form */ |
62 ui->hopsTable->setColumnWidth(4, 75); /* Alpha% */ |
62 ui->hopsTable->setColumnWidth(4, 75); /* Alpha% */ |
63 ui->hopsTable->setColumnWidth(5, 75); /* Added */ |
63 ui->hopsTable->setColumnWidth(5, 75); /* Added */ |
64 ui->hopsTable->setColumnWidth(6, 75); /* Time */ |
64 ui->hopsTable->setColumnWidth(6, 75); /* Time */ |
65 ui->hopsTable->setColumnWidth(7, 60); /* IBU */ |
65 ui->hopsTable->setColumnWidth(7, 60); /* IBU */ |
66 ui->hopsTable->setColumnWidth(8, 75); /* Amount */ |
66 ui->hopsTable->setColumnWidth(8, 90); /* Amount */ |
67 ui->hopsTable->setColumnWidth(9, 80); /* Delete */ |
67 ui->hopsTable->setColumnWidth(9, 80); /* Delete */ |
68 ui->hopsTable->setColumnWidth(10, 80); /* Edit */ |
68 ui->hopsTable->setColumnWidth(10, 80); /* Edit */ |
69 ui->hopsTable->setHorizontalHeaderLabels(labels); |
69 ui->hopsTable->setHorizontalHeaderLabels(labels); |
70 ui->hopsTable->verticalHeader()->hide(); |
70 ui->hopsTable->verticalHeader()->hide(); |
71 ui->hopsTable->setRowCount(recipe->hops.size()); |
71 ui->hopsTable->setRowCount(recipe->hops.size()); |