Don't use deprecated widgets in main view's UI file