Hi All,
I am designing an application using a Qt Designer. I have a table and I want to change its font. For this i use the setFont(....) Method.
It is perfectly changing the contents of table including headers.
But i don't want the header text to change font. Can some one help me in this regard.
The code segment is as follows.
QFont font = QFontDialog::getFont(
&ok, QFont( "Helvetica [Cronyx]", 10 ), this );
if ( ok ) {
// font is set to the font the user selected
table1->setFont(font);
}else {...........}
With Kind Regards
Kenny
Bookmarks