1 #ifndef SIMPT_EDITOR_PTREE_PANELS_H_INCLUDED
2 #define SIMPT_EDITOR_PTREE_PANELS_H_INCLUDED
25 #include <boost/property_tree/ptree.hpp>
30 using boost::property_tree::ptree;
52 void Initialize(std::shared_ptr<EditControlLogic> tissue);
62 void ApplyAttributePanel(
const boost::property_tree::ptree& pt);
68 void ApplyGeometricPanel(
const boost::property_tree::ptree& pt);
74 void ApplyParametersPanel(
const boost::property_tree::ptree& pt);
80 void ToggleAttributePanel(
bool toggled);
86 void ToggleGeometricPanel(
bool toggled);
92 void ToggleParametersPanel(
bool toggled);
95 void UpdateGeometricPanel();
100 void UpdateParametersPanel();
114 ptree MergeJoin(ptree pt1, ptree pt2);
121 ptree SetDataToUnknown(
const ptree& pt);
124 void UpdateAttributePanel();
127 bool m_attribute_panel_toggled;
129 bool m_geometric_panel_toggled;
130 std::shared_ptr<EditControlLogic> m_tissue;
132 bool m_parameters_panel_toggled;
137 #endif // end_of_include_guard
Namespace for SimPT tissue editor package.
Manages the attribute and geometric ptree panel for a given tissue.
see the online Qt documentation
Namespace for generic graphical shell for simulators.
Interface for LeafControlLogic.
Interface for PTreeContainer.
For a given ptree, constructs PTreeMenu, QDockWidget, PTreeEditorWindow.