creation of a custom window with qtdesigner