grsandeep85
21st October 2009, 09:53
Hi All,
I have the treeeView which has 4 columns now the header label has set according to the string length but now i need to increase the size of the header label. How to do this and here is my code snippet
model = new QStandardItemModel( this );
model->setHorizontalHeaderLabels( QStringList() << "TOOL NUMBER" << "DIAMETER" << "LENGTH" << "UNITS" );
tooltreeView->setModel( model );
I have the treeeView which has 4 columns now the header label has set according to the string length but now i need to increase the size of the header label. How to do this and here is my code snippet
model = new QStandardItemModel( this );
model->setHorizontalHeaderLabels( QStringList() << "TOOL NUMBER" << "DIAMETER" << "LENGTH" << "UNITS" );
tooltreeView->setModel( model );