introlab / rtabmap

RTAB-Map library and standalone application
https://introlab.github.io/rtabmap
Other
2.83k stars 787 forks source link

Concise layout #1381

Closed Nosille closed 5 days ago

Nosille commented 1 week ago

I run multiple cameras and as a result frequently want the images and graph in database viewer to be bigger. These changes enable a mode that hides parts of the interface to make that true.

matlabbe commented 1 week ago

Are changes in PreferencesDialog needed? It seems only DatabaseViewer needs to be updated.

Nosille commented 6 days ago

I used VerticalLayout as a template, and it included definitions in the PreferencesDialog. I assume that without the entries in PreferencesDialog it will not save the configuration between sessions. I will see what happens when I remove it and get back to you.

matlabbe commented 6 days ago

The config in Preferences affects the layout under MainWindow. The config in DatabaseViewer is saved on its own. EDIT: the vertical layout option is also used in MainWindow, that's why it appears two times.

matlabbe commented 5 days ago

I tested it and we don't need the changes from Preferences to save/reload the config. I removed those changes. I updated the PR to not draw matching lines and to be able to click on graph view's nodes to always change graphics view A.

Thanks for the PR, I like this view mode.