I want to open a form (made in QTDesign) in the layer action. It is possible?
Yes you can. Layer actions can call Python so you can do something like this:
You could even put that in a python file and call it rather then storing the code in the projet.