QProcess with administrator priviledges
===

I would like to use QProcess to run a shell script from a .sh file.
The problem I have is with the user permissions. How do prompt the user for the  administration username and password in order to have correct privileges to use the .sh file ?

I would love to have a prompt that looks like this :
![enter image description here][1]

Thank you


  [1]: http://i.stack.imgur.com/TaZex.jpg