PDA

View Full Version : How i can place two icon in QtableWidget vertical header ( Decoration Role )



advseo32
6th August 2013, 13:01
Hi, every body

i have a QtableWidget, when the user changed the selection of row an icon showed , up to now there is no probleme

i want to place another icon in verticalheader togother with the existing one,(not removing the exist icon), when the user start typing, or editing any cell in that

QtableWidget!!

is this possible , if so , how ?

ChrisW67
6th August 2013, 21:44
You have two icons. You can only return a sngle image in the decoration role.
Seems obviuos enough... Paint the two icon images into a single pixmap and return that.