Compare commits
No commits in common. "271aac0914da1cfb97a0e76a9b6ea4b3f235f340" and "42a1a3151ff1db279c6e905f75ce9ae75783f2c5" have entirely different histories.
271aac0914
...
42a1a3151f
2 changed files with 4 additions and 4 deletions
|
@ -20,19 +20,20 @@ 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,10 +161,9 @@ 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")
|
||||
content += QString("Verkaufte Artikel: %1 (%L2 %)\n\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