QVariant MyStandardItemModel::headerData(int section, Qt::Orientation orientation, int role) const { if(section==0 && orientation==Qt::Horizontal){ if(role==Qt::DecorationRole) return QIcon(":/favourite.png"); if(role==Qt::DisplayRole) return ""; if(role==Qt::ToolTipRole) return tr(...