mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1830 AppFwk : Use bold on header items
This commit is contained in:
parent
5079171647
commit
8e8c735fe6
@ -209,6 +209,16 @@ QVariant caf::PdmUiTreeSelectionQModel::data(const QModelIndex &index, int role
|
||||
|
||||
return Qt::Unchecked;
|
||||
}
|
||||
else if (role == Qt::FontRole)
|
||||
{
|
||||
if (m_options[opIndex].isHeading())
|
||||
{
|
||||
QFont font;
|
||||
font.setBold(true);
|
||||
|
||||
return font;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return QVariant();
|
||||
|
Loading…
Reference in New Issue
Block a user