Added support to ObserverWidget to allow using custom QTreeView and
QTableView instances.