This patch introduces a simple WidgetTreeModel that models the widget tree inside of a given root GWidget.