[Interest] Full screen dialogs with modal input dialogs

Rutledge Shawn Shawn.Rutledge at digia.com
Tue Jul 30 10:38:03 CEST 2013


Please search bugreports.qt-project.org, and if you can't find an existing bug about that, you can write up a new one and provide an example to demonstrate (preferably zip or tarball with .pro file ready to build).  Also, which platform?

On 29 Jul 2013, at 3:25 PM, Alexander Syvak wrote:

> 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
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list