hi all
i m using QT4.2 on MacOs .
i can add image directly by designer
but i actully wanna this view(attached) by coding..so than i can resize the pixmap which is placed there ...means i want to add image more large on this verticalHeader
i have code for this row items
int row=0;
int RowCount=0;
row=tableWidget->rowCount();
tableWidget->setRowCount(row+1);
item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsUserCheckable);
item->setCheckState(Qt::Unchecked);
tableWidget->setItem(RowCount,0,item);
tableWidget->setItem(RowCount,1,item1);
int row=0;
int RowCount=0;
row=tableWidget->rowCount();
tableWidget->setRowCount(row+1);
QTableWidgetItem *item=new QTableWidgetItem("Nikon");
item->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled | Qt::ItemIsUserCheckable);
item->setCheckState(Qt::Unchecked);
tableWidget->setItem(RowCount,0,item);
QTableWidgetItem *item1=new QTableWidgetItem("Png ");
tableWidget->setItem(RowCount,1,item1);
To copy to clipboard, switch view to plain text mode
plz do suggest me as soon as possible,its urgent
Bookmarks