Compare commits
2 commits
42a1a3151f
...
271aac0914
Author | SHA1 | Date | |
---|---|---|---|
271aac0914 | |||
725bc8f04b |
2 changed files with 4 additions and 4 deletions
|
@ -20,20 +20,19 @@ QVariant BasketModel::data(const QModelIndex& index, int role) const
|
|||
{
|
||||
if (role == Qt::FontRole) {
|
||||
QFont myFont;
|
||||
myFont.setPointSize(14);
|
||||
|
||||
QFont myFixedFont = QFontDatabase::systemFont(QFontDatabase::FixedFont);
|
||||
myFixedFont.setPointSize(14);
|
||||
|
||||
switch (index.column()) {
|
||||
case 0:
|
||||
[[fallthrough]];
|
||||
case 1:
|
||||
myFixedFont.setPointSize(11);
|
||||
return myFixedFont;
|
||||
case 2:
|
||||
myFixedFont.setPointSize(myFixedFont.pointSize() + 3);
|
||||
return myFixedFont;
|
||||
case 3:
|
||||
myFixedFont.setPointSize(myFixedFont.pointSize() + 3);
|
||||
return myFixedFont;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -161,9 +161,10 @@ void ReportDialog::onPrintReportButtonClicked()
|
|||
(static_cast<double>(numArticlesSold) / static_cast<double>(numArticlesOffered)) * 100;
|
||||
content += QString("Registrierte Verkäufer: %1\n").arg(sellers.size() - 1, 6);
|
||||
content += QString("Angelieferte Artikel: %1\n").arg(numArticlesOffered, 6);
|
||||
content += QString("Verkaufte Artikel: %1 (%L2 %)\n\n")
|
||||
content += QString("Verkaufte Artikel: %1 (%L2 %)\n")
|
||||
.arg(numArticlesSold, 6)
|
||||
.arg(percentArticlesSold, 0, 'f', 2);
|
||||
content += QString("Anzahl Kunden: %1\n\n").arg(market_->getSales().size(), 6);
|
||||
content += QString("Gesamtumsatz: %1\n").arg(market_->getOverallSumAsString().c_str(), 10);
|
||||
content +=
|
||||
QString("Ausgezahlt: %1\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue