ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Actually I do not get what you want. Where are there tabs in rqt? Are you using a specific plugin with tabs? I do not see any tabs when running

rosrun rqt_gui rqt_gui

You can have tabs in a rqt plugin, I started writing one myself and it has them.

If you want to have tabs, the source for the tabs would be in the sources for Qt framework which is used by rqt.

Actually I do not get what you want. Where are there tabs in rqt? Are you using a specific plugin with tabs? I do not see any tabs when running

rosrun rqt_gui rqt_gui

You can have tabs in a rqt plugin, I started writing one myself and it has them.

If you want to have tabs, the source for the tabs would be in the sources for Qt framework which is used by rqt.

Update: I would also say you should add the tabs in a single plugin instead of doing the approach by messing arround in rqt. If you want to be able to disable functionality, (not showing using multiple tabs) then I would do it by having a special tab or dialog, where you can select which tabs you want to show and save this in the perspective file in the parameters of your plugins. I do not know if there is a tutorial for these, I just checked the code of the plugins for seeing that this is possible. (I will also doing that in my rqt plugin, I have tabs for settings).

The other approach is (as also said) ... well .... , like a path through a very dark and deep ugly valley ... I guess...

If you want to have tabs, the source for the tabs would be in the sources for Qt framework which is used by rqt.

Update: I would also say you should add the tabs in a single plugin instead of doing the approach by messing arround in rqt. If you want to be able to disable functionality, (not showing using multiple tabs) functionality (tabs) then I would do it by having a special tab or dialog, where you can select which tabs you want to show and save this in the perspective file in the parameters of your plugins. I do not know if there is a tutorial for these, I just checked the code of the plugins for seeing that this is possible. (I will also doing that in my rqt plugin, I have tabs for settings).settings there).

The other approach is (as also said) ... well .... , like a path through a very dark and deep ugly valley ... I guess...