Used class WidgetContainer in function main();