Switching Layouts with PyQt4 QStackedLayout