I use a QTable object and want to set multiline horizontal headers, such as
a line,
a second line
So, I use the following code:

QHeader * header=myTable->horizontalHeader();
header->setLabel(0,QString("a line, \n a second line"));
QMessageBox::information(0,"Your Label is...",header->label(0));

The result is: the Label of my table is:
a line, a second line
(all in _one_ line), whereas the MessageBox shows me:
a line
a second line.

I really want multiple lines within the header of my table. So what can I

Thanks for help, Uwe.