How would I go about making a overlay widget
问题 How would I go about making a overlay widget with qt? I've considered using a QPaintEvent or a QGraphicsScene, but I want to be able to add widgets and for the widget to not occupy space in a layout, causing other widgets to shift when the popup appears. 回答1: I believe the best solution is to parent the so called overlay widget to the window or even have the overlay widget be in its own window. The first solution might be easier to do, but the overlay widget is bound to the inside of the