summaryrefslogtreecommitdiffstats
path: root/qt-ui/models.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r--qt-ui/models.cpp8
1 files changed, 8 insertions, 0 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();
}