Added WidgetSample, updated to Qt5