rver_widget->tableView();

  return a.exec();
}
\endcode

The above application produces the following widget:

\image html observer_widget_doc_tree_view_simple.jpg "Observer Widget (Tree View Mode)"

\subsection table_view Constructing the observer widget as a table view

Observer widgets are by default initialized as tree widgets. However we can decide we want a table view rather than a tree view by passing the correct parameter in the observer widget constructor. For example:

\code
ObserverWidget* obser