40 #include <QPushButton>
41 #include <QStackedWidget>
42 #include <QTreeWidget>
43 #include <QTreeWidgetItem>
102 void loadGroupsTree();
105 void previewSelected();
114 void saveJointsScreen();
115 void saveLinksScreen();
116 void saveChainScreen();
117 void saveSubgroupsScreen();
118 void saveGroupScreenEdit();
119 void saveGroupScreenJoints();
120 void saveGroupScreenLinks();
121 void saveGroupScreenChain();
122 void saveGroupScreenSubgroups();
128 void cancelEditing();
131 void alterTree(
const QString& link);
134 void previewSelectedLink(
const std::vector<std::string>& links);
138 void previewSelectedJoints(
const std::vector<std::string>& joints);
141 void previewSelectedSubgroup(
const std::vector<std::string>& groups);
149 QTreeWidget* groups_tree_;
152 QStackedWidget* stacked_widget_;
155 QPushButton* btn_edit_;
157 QPushButton* btn_delete_;
161 QWidget* groups_tree_widget_;
175 std::string current_edit_group_;
181 bool adding_new_group_;
188 QWidget* createContentsWidget();
191 void loadGroupsTreeRecursive(srdf::Model::Group& group_it, QTreeWidgetItem* parent);
194 void loadJointsScreen(srdf::Model::Group* this_group);
195 void loadLinksScreen(srdf::Model::Group* this_group);
196 void loadChainScreen(srdf::Model::Group* this_group);
197 void loadSubgroupsScreen(srdf::Model::Group* this_group);
198 void loadGroupScreen(srdf::Model::Group* this_group);
201 bool saveGroupScreen();
204 void showMainScreen();
Contains all of the non-GUI code necessary for doing one "screen" worth of setup.
srdf::Model::Group * group_