Hello Lykurg your example helped me solve my problem.. This is what i did to display the Header Labels which i have defined.

Qt Code:
  1. for(int i=0; i<thermoNames.count(); i++)
  2. {
  3. model->setHeaderData( i, Qt::Horizontal,thermoNames.at(i));
  4. }
To copy to clipboard, switch view to plain text mode 

thank you