Well, then just create the "top" widget to be a child of your form (like your "background" widget) and set its Z order to be in front of your "background" widget, and don't place it in a layout, rather position it manually.