I have one issue with Qt Close Option when there is QMainWindow is open and on Push button Clicked I am opening one QDialog.Now my requirement is to allow close option is QMainWindow to call closevent of QMainWindow .
Now the senario is when I pressed Button on mainwindow, QDialog open and Close button on upper most right is disabled in QmainWindow. So pls let me know how to enable.