//
if (role == Qt::FontRole) {
QFont font;
- font.setBold(true);
- font.setPointSize(26);
+ font.setPointSize(fontSize);
+ if (row == ROW_HOLE || row == ROW_HOLE_2) {
+ font.setBold(true);
+ }
return font;
}
if (orientation == Qt::Horizontal)
return QVariant();
+ if (role == Qt::FontRole) {
+ QFont font;
+ font.setPointSize(fontSize);
+ return font;
+ }
if (role == Qt::DisplayRole) {
switch(section) {
case ROW_HOLE:
// FONT
//
if (role == Qt::FontRole) {
+ QFont font;
+ font.setPointSize(fontSize);
if (row == ROW_HOLE || row == ROW_HOLE_2) {
- QFont font;
font.setBold(true);
- return font;
}
+ return font;
}
//
// COLORS
if (orientation == Qt::Horizontal)
return QVariant();
+ if (role == Qt::FontRole) {
+ QFont font;
+ font.setPointSize(fontSize);
+ return font;
+ }
if (role == Qt::DisplayRole) {
switch(section) {
case ROW_HOLE: