
Originally Posted by
nupul
Yes, but if I focus on the parent won't the parent window show (i.e. overlap the children)? I don't want the child to be modal, i just want the parent window to be at the bottom of the stacking order!
#include <QApplication>
#include <QDialog>
int main(int argc, char **argv){
dlg1.show();
dlg2.show();
return app.exec();
}
#include <QApplication>
#include <QDialog>
int main(int argc, char **argv){
QApplication app(argc, argv);
QDialog dlg1;
QDialog dlg2(&dlg1);
dlg1.show();
dlg2.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Compile, run and try to make dlg1 appear on top of dlg2.
Which ones could achieve the effect i mentioned?
Check which flags KDE uses for its "stay on bottom" window behaviour.
Bookmarks