C++ (Qt)model->setData(model->index(0, 0), name);model->setData(model->index(0, 0), name, Qt::ToolTipRole);QFont font (view->font ());font.setBold (true);model->setData(model->index(0, 0), font, Qt::FontRole);