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

rqt: a tabcontrol container for plugins

asked 2017-11-10 12:31:19 -0500

knxa gravatar image

updated 2017-11-10 12:31:42 -0500

I really like rqt with its plugin system. My rqt plugins are growing in numbers and can no longer coexist in one view. Has anyone created a tab control where multiple rqt plugins can be organized on each tab? I would like that kind of quick switching between views.

It is probably not that difficult, if it wasn't because I am quite unexperienced with qt development.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-11-10 12:40:25 -0500

Dirk Thomas gravatar image

rqt uses Qt dock widgets to implement the UI. Those are out-of-the-box able to be dragged-n-dropped. Beside rerepositioning them within the main windows you can "drop" them on another widget and they will change into a tab view. You can also "drop" them outside the main window to make them floating.

edit flag offensive delete link more

Comments

Hmmm, I tried a lot before and after asking the question, but now I finally managed to drop a widget in the right spot. It was not easy and rqt crashed several times. Also I was fooled by the fact that the tabs appear in the bottom. But thanks a lot for the answer.

knxa gravatar image knxa  ( 2017-11-10 14:57:46 -0500 )edit

If you can reproduce the crash it might be worth filling a ticket. Maybe it can be fixed...

Dirk Thomas gravatar image Dirk Thomas  ( 2017-11-10 15:58:28 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2017-11-10 12:31:19 -0500

Seen: 354 times

Last updated: Nov 10 '17