Revised header edit window built.

Found out how to add layout to QDialog and QWidget items
from Walter Moriera.