I need help from you guys..

I create this from pyqt4 designer
gpstec.py

but I need when click the buttons to open a dialog box asking for this for ex I have this:
Qt Code:
  1. lista=[]
  2.  
  3. def AgregarCoordenadas(coordenadas):
  4. global lista
  5. if isinstance (coordenadas,list)==True:
  6. if ValidarEstructura (coordenadas)==True:
  7. lista=coordenadas
  8. else:
  9. return ValidarEstructura(coordenadas)
  10. else:
  11. return formato()
To copy to clipboard, switch view to plain text mode 

I want the first button when click just to open a dialog box asking for "coordanadas" and OK an then its done lista=coordenadas..

how do I do that... im a newbie at gui

thanks