PDA

View Full Version : how to add a image to table column header



nageshvk
8th November 2010, 11:45
hi

I need to add a image to the table column header. When user sorts data based on particular column...i want to show a image on the sorted column.

And also want to know how to increase the cell size in a table.

Regards
Nagesh

somnathbanik
8th November 2010, 12:14
Use QLabel

wladek
9th November 2010, 07:29
And you shouldn't be posting the same question both under Newbie and Qt Programming sections.
Pick the one the suits you better and stick with it.

Thanks,
Wladek

nageshvk
9th November 2010, 08:47
My apologies for posting in both sites.

Could you please explain in steps how to proceed in adding a image to the table header columns.

I have a table with 5 header columns (Eno, Ename, Sal, Designation, Address). when user sorts data in ascending order on ename column i need to add customized image( customized Up arrow image) next to Ename header column

I hope i have cleared addressed my issue..

please help me with a solution,

Regards
Nagesh