Switching between two widgets implemented.

After approximately 10 hours of selfless struggle with the QtCreator,
the state machine and himself, Illya managed to make the application
switch between two windows after pressing the pushbuttons. He has
finally overcome all the difficulties!..
So, the QMainWindows was replaced by the QWidget, plus one more widget
was created.