PDA

View Full Version : how to paint qwidget



anbu01
19th August 2014, 13:22
hi,
I have custom widget which acts like a layout.So when i move a widget on this layout(custom widget) it should show a hover effect.I know to achive it using stylesheet or QPalette but the problem is i just want to show only part of my Custom widget(layout) the hover effect.How this can be done.
thanks,

aamer4yu
19th August 2014, 13:45
Just check if the mouse is in the desired rectangle of the widget or not :)