I am using multiple QInput Dialog boxes in my UI, using the syntax like

Qt Code:
  1. QString s = QInputDialog::getText(this,"Sleep Command ","Enter the number of seconds" );
To copy to clipboard, switch view to plain text mode 

but when ever these Input dialog boxes pops up, the mainwindow becomes unresponsive, so how do i make all the QInputDialog boxes "modal less " and the mainwindow always stays responsive ??