simple UI with QStackedLayout