29 MyTreeView::MyTreeView(
QWidget* parent)
47 auto treeview_state = state.get_child_optional(
"treeview");
Interface for MyTreeView.
Interface for PTreeQtState.
virtual boost::property_tree::ptree GetPTreeState() const
static boost::property_tree::ptree GetTreeViewState(const QTreeView *)
Get ptree representation of expand/collapsed state of items in given QTreeView.
virtual void SetPTreeState(const boost::property_tree::ptree &)
see the online Qt documentation
see the online Qt documentation
Namespace for generic graphical shell for simulators.
static void SetTreeViewState(QTreeView *, const boost::property_tree::ptree &)
Set expand/collapsed state of items in given QTreeView as represented by given ptree.