QLineedit Box pick the value from drop down from Qcompleter <p>I have created a form in PyQt and added a box for Qlineedit. With that Box I have added Qcompleter. So when I change the value of the string in the box I get a drop down list. I can pick any string from the list and that gets into the box. My question is how I can assign that current string which I picked from the drop down list to a variable.</p>