PDA

View Full Version : Is there a way exist to add Floating button inside QWidget.



prasad_N
12th March 2016, 12:59
Hi,
I wanted to add floating button inside a widget (Right most bottom left) as shown in the attachment. is there a inbuilt feature/class available in Qt to achieve this ?

Environment : Qt4.8.5 , Linux.


Thanks.11789

anda_skoa
12th March 2016, 13:18
If you don't put the button into a layout, you can freely position it.
Make sure it is the last child of its parent, so it gets drawn over all its siblings in case there is overlap.

Cheers,
_