jeanremi
13th January 2012, 12:59
Hi
I have subclassed a qpushbutton (following this link: http://www.qtcentre.org/threads/44299-Widget-showing-up-without-a-transparent-background-in-QGraphicsView?highlight=pawn2-%26gt%3B)
and set its background-color to transparent via setStyleSheet("background-color: transparent;);
but this causes the tool tip of this button to appear as a black box. Without this, it works fine.
setAutoFillBackground is set to false (but I don't think this is the reason for this problem) - it doesn't affect the tooltip.
Any ideas?
Thanks,
Jean
I have subclassed a qpushbutton (following this link: http://www.qtcentre.org/threads/44299-Widget-showing-up-without-a-transparent-background-in-QGraphicsView?highlight=pawn2-%26gt%3B)
and set its background-color to transparent via setStyleSheet("background-color: transparent;);
but this causes the tool tip of this button to appear as a black box. Without this, it works fine.
setAutoFillBackground is set to false (but I don't think this is the reason for this problem) - it doesn't affect the tooltip.
Any ideas?
Thanks,
Jean