HI,

I have an issue with QLable. I am creating the QLable object dynamically and after that i am adding it in a QTableWidget's cell (row x, colum 0);

Before adding the QLable into the TableWidget i am doing the following things.

{
QString lblNumber;
int nIndex = 0;
lblNumber.setNum(nIndex+1);
QLable *lblNo = new QLable(frame1);
lblNo->setAlignment(Qt::AlignCenter);
lblNo->setText(lblNumber);

tblwdgt->setCellWidget(row, 0, lblNo);
}

If i execute the application the lable's text is not visible to me.

Kindly help me to identify the actual root cause of this issue.

Thanks
Ranna
}