572 memo.append("[/tabular]\n\n"); |
572 memo.append("[/tabular]\n\n"); |
573 |
573 |
574 memo.append("[u][b]Waterprofiel behandeld water[/b][/u]\n"); |
574 memo.append("[u][b]Waterprofiel behandeld water[/b][/u]\n"); |
575 memo.append("[tabular]\n"); |
575 memo.append("[tabular]\n"); |
576 memo.append("[head]Ca[/head][head]Mg[/head][head]Na[/head][head]HCO3[/head][head]Cl[/head][head]SO4[/head]\n"); |
576 memo.append("[head]Ca[/head][head]Mg[/head][head]Na[/head][head]HCO3[/head][head]Cl[/head][head]SO4[/head]\n"); |
577 memo.append("[row][data]" + QString::number(product->wb_calcium, 'f', 1) + "[/data]"); |
577 memo.append("[row][data]" + QString::number(product->fw_calcium, 'f', 1) + "[/data]"); |
578 memo.append("[data]" + QString::number(product->wb_magnesium, 'f', 1) + "[/data]"); |
578 memo.append("[data]" + QString::number(product->fw_magnesium, 'f', 1) + "[/data]"); |
579 memo.append("[data]" + QString::number(product->wb_sodium, 'f', 1) + "[/data]"); |
579 memo.append("[data]" + QString::number(product->fw_sodium, 'f', 1) + "[/data]"); |
580 memo.append("[data]" + QString::number(product->wb_total_alkalinity * 61 / 50, 'f', 1) + "[/data]"); |
580 memo.append("[data]" + QString::number(product->fw_total_alkalinity * 61 / 50, 'f', 1) + "[/data]"); |
581 memo.append("[data]" + QString::number(product->wb_chloride, 'f', 1) + "[/data]"); |
581 memo.append("[data]" + QString::number(product->fw_chloride, 'f', 1) + "[/data]"); |
582 memo.append("[data]" + QString::number(product->wb_sulfate, 'f', 1) + "[/data][/row]\n"); |
582 memo.append("[data]" + QString::number(product->fw_sulfate, 'f', 1) + "[/data][/row]\n"); |
583 memo.append("[/tabular]\n\n"); |
583 memo.append("[/tabular]\n\n"); |
584 |
584 |
585 qDebug().noquote() << memo; |
585 qDebug().noquote() << memo; |
586 QGuiApplication::clipboard()->setText(memo, QClipboard::Clipboard); |
586 QGuiApplication::clipboard()->setText(memo, QClipboard::Clipboard); |
587 QGuiApplication::clipboard()->setText(memo, QClipboard::Selection); |
587 QGuiApplication::clipboard()->setText(memo, QClipboard::Selection); |