QStringList strLt;strLt<< "Привет"<< "Пока" ;ui->tbTable->setColumnCount(2); ui->tbTable->setVerticalHeaderLabels(strLt);