can't you connect a signal to the child's QWidget::showMinimized() slot? have the parent emit some signal when it minimizes so that the child widget (even if it is a separate window) knows when to minimize....
can't you connect a signal to the child's QWidget::showMinimized() slot? have the parent emit some signal when it minimizes so that the child widget (even if it is a separate window) knows when to minimize....
Prashant Kumar (21st August 2019)
hi,
Thanks a lot for the reply.
To place a widget on top of another widget, i set the setWindowFlags(Qt::ToolTip);
If this is not the way how can i place a widget on top of anpther so that the top window is a child of below window and the child window should be frame less (with no minimize, maximize etc buttons).
Please post any code if possible.
Thank you
regards,
sreed
So you want two separate windows one over another or two widgets in a single window?Originally Posted by sreedhar
thanks a lot,
if we set the setWindowFlags(Qt::SubWindow); for the child widget its working as expected
regards,
sreedhar
Bookmarks