src/PrinterDialog.cpp

changeset 83
6f744c602139
parent 55
2d8dbbc1ffab
child 88
64cf5468fd22
equal deleted inserted replaced
82:84e5dcab868f 83:6f744c602139
63 const QStringList y_unit({tr("pkg"), tr("gr"), tr("ml"), tr("ml"), tr("ml"), tr("ml"), tr("gr")}); 63 const QStringList y_unit({tr("pkg"), tr("gr"), tr("ml"), tr("ml"), tr("ml"), tr("ml"), tr("gr")});
64 const QStringList y_types({tr("Lager"), tr("Ale"), tr("Wheat"), tr("Wine"), tr("Champagne"), tr("Brett"), tr("Kveik"), tr("Hybrid")}); 64 const QStringList y_types({tr("Lager"), tr("Ale"), tr("Wheat"), tr("Wine"), tr("Champagne"), tr("Brett"), tr("Kveik"), tr("Hybrid")});
65 const QStringList y_form({tr("Liquid"), tr("Dry"), tr("Slant"), tr("Culture"), tr("Frozen"), tr("Bottle"), tr("Dried")}); 65 const QStringList y_form({tr("Liquid"), tr("Dry"), tr("Slant"), tr("Culture"), tr("Frozen"), tr("Bottle"), tr("Dried")});
66 66
67 painter.begin(printer); 67 painter.begin(printer);
68 bool firstPage = true;
69 qreal y = 0; 68 qreal y = 0;
70 69
71 if (p_job == PR_SUPPLIES) { 70 if (p_job == PR_SUPPLIES) {
72 /* 71 /*
73 * Print supplies in stock 72 * Print supplies in stock

mercurial