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

RQT main window configuration

asked 2017-08-04 08:29:48 -0500

a.alexeev3 gravatar image

Hello. I gonna to use RQT main window with plugins written by myself. I wonder if it is possible to remove menu bar from RQT main window without recompiling or not? Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-04 09:25:49 -0500

lucasw gravatar image

updated 2017-08-04 09:34:45 -0500

Try these options out:

 -f, --freeze-layout   freeze the layout of the GUI (prevent 
                        widgets, disable undock/redock)

-l, --lock-perspective
                        lock the GUI to the used perspective
                        (hide menu bar
                        and close buttons of plugins)

(Though when I try rqt -l now with the latest kinetic, lunar, and kinetic-devel qt_gui_core I still see File and Help. That must be a regression, I took a screenshot a few months ago where File and Help are gone)

This is in the kinetic-devel branch of qt_gui_core:

-ht, --hide-title     hide the title label, the icon, 
                        and the help button
                        (combine with -l and -f to 
                        eliminate the entire title
                        bar and reclaim the space)

It hides the title bars of individual plugins.

If you clone into your catkin_ws it will overlay the system installed qt_gui_core.

edit flag offensive delete link more

Question Tools


Asked: 2017-08-04 08:29:48 -0500

Seen: 772 times

Last updated: Aug 04 '17