Hello,

there's a dialog calling a dialog as following

      p.setWindowFlags(Qt::FramelessWindowHint);//Qt::Popup); // N.B. !!!
Popup doesn't require a title bar and a parent.

    auto const full_screen_rect =
QApplication::desktop()->screenGeometry(); // N.B. !!! Returns the
geometry of the screen with index screen.


      // The default screen is used if screen is -1.

    p.setGeometry(full_screen_rect);

    p.showMaximized();

    int const usr_answer = p.exec();


When the p dialog inheriting QDialog calls any of QMessageBox,
QInputDialog, QFileDialog, it's hidden and after user chooses a file in
any of those 3 inputs, the dialos is still not shown.
And using QFileDialog yields RPC not avaialble error
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to