Hello.<br><br>In my application (a QApplication), as central widget I have two QListWidget.<br><br>When I double click on an item of a list widget, I want to show a dialog with some detail data for the item<br><br><br>This is the relevant code, the dialog is designed using Qt-Designer and windowModality is Qt::NonModal
<br><br>---<br>ItemDlg = QtGui.QDialog()<br>ItemDlgGui = Ui_D_item_detail()<br>ItemDlgGui.setupUi(ItemDlg)<br><br>ItemDlg.show()<br><br>#ItemDlg.exec_()<br>---<br><br>If I use the ItemDlg.exec_() line, all work correctly, but the dialog is modal, so I cannot work on the main window.
<br><br>Since I want a modeless dialog, I try to use ItemDlg.show() but now the dialog show itself and then close immediatly. <br><br>Any hints ?<br><br><br>thank<br>Gianluca<br>