Hi All,
I m using qt 4.2.2 on my mac intel.
I have created a tablewidget and using this code to show Icon in a vertical header to its original size
QSize size1(48,48);
QIcon a(":/images/nikon_logo.png");
a.actualSize(size1,QIcon::Active,QIcon::Off);
QTableWidgetItem *item=new QTableWidgetItem(a,"1",0);//set Icon a and string 1
tableWidget->setVerticalHeaderItem(0,item);
tableWidget->verticalHeaderItem(0)->setSizeHint(QSize(70,tableWidget->verticalHeaderItem(0)->sizeHint().height()));
but actually this is showing very small icon.
If anybode know how I can show largeIcon in VerticalHeader then plz tell me.
Thanks.
Bookmarks