PDA

View Full Version : Inserting Integer Values to table.



kenny_isles
21st February 2007, 13:04
Hi,

Can anyone please tell me how to give integer values to a tables cell.

What function are we to use there?

setText is QString and giving integer gives a Error.

So how to set it.

Regards
Kenny

jacek
21st February 2007, 14:16
Use QString::number() to convert that integer to QString.

PS. Your question has nothing to do with Qt Designer, so you shouldn't post it in Qt Designer section.

kenny_isles
22nd February 2007, 07:17
Sorry for posting it in the wrong Place