Paint empty result cells gray

This commit is contained in:
Michael Mandl 2018-12-15 16:31:51 +01:00
parent 6eb585b08c
commit c8bd1bbdb8
6 changed files with 53 additions and 36 deletions

View file

@ -266,7 +266,11 @@ void V2SvkModel::printTableTo(QTextCursor &cursor) const
{
column++;
if (!item.getText().empty())
if (item.getText().empty())
{
setCellBackground(*table, row, column, QColor(92, 92, 92));
}
else
{
setCellChecked(*table, row, column, item.isChecked());
}