Ask Your Question
0

RQT main window configuration

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

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
0

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

lucasw gravatar image

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

Try these options out:

 -f, --freeze-layout   freeze the layout of the GUI (prevent 
                       rearranging
                        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 https://github.com/ros-visualization/... into your catkin_ws it will overlay the system installed qt_gui_core.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 335 times

Last updated: Aug 04 '17