diff options
-rw-r--r-- | qt-ui/models.cpp | 8 | ||||
-rw-r--r-- | qt-ui/printlayout.cpp | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index 52ba40d9c..03c95b070 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1777,6 +1777,14 @@ QVariant TablePrintModel::data(const QModelIndex &index, int role) const case 6: return list.at(index.row())->location; } + if (role == Qt::FontRole) { + QFont font; + font.setPointSizeF(7.5); + if (index.row() == 0 && index.column() == 0) { + font.setBold(true); + } + return QVariant::fromValue(font); + } return QVariant(); } diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index dd23d1004..735e410ab 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -32,9 +32,9 @@ PrintLayout::PrintLayout(PrintDialog *dialogPtr, QPrinter *printerPtr, struct op tablePrintColumnNames.append(tr("Buddy")); tablePrintColumnNames.append(tr("Location")); tablePrintColumnWidths.append(7); - tablePrintColumnWidths.append(10); - tablePrintColumnWidths.append(10); - tablePrintColumnWidths.append(10); + tablePrintColumnWidths.append(14); + tablePrintColumnWidths.append(8); + tablePrintColumnWidths.append(8); tablePrintColumnWidths.append(15); tablePrintColumnWidths.append(15); tablePrintColumnWidths.append(33); |