Hi,
i have a problem managing mainwindow and dialogs; I have created a mainwindow and clicking on a button it opens a modeless dialog: here the calling function:
Qt Code:
void MainWindow::viewArticle(const QModelIndex& current) { if(!articleViewer) { articleViewer = new ArticleViewer(this); } if articleViewer { articleViewer->show(); } else { articleViewer->activateWindow(); } }To copy to clipboard, switch view to plain text mode
even if i can interact with mainWindow it is always behind the child dialog, which occupy a great part of the screen; should be better choosing at any time what window take in front (like in Qt Designer 4).
Any suggestions?
Thanks
Bookmarks