changed layout not to use qt creator