FreeCAD: master 05c61e34

Author Committer Branch Timestamp Parent
hyarion wmayer master 2021-01-02 19:31:41 master d73ccbdb
Changeset Gui: Add support for selecting multiple objects without keyboard

Adds checkboxes to the document tree which makes it possible to
select multiple document objects on devices without physical keyboard.

These checkboxes are opt-in and can be enabled/disabled from:
Edit -> Preferences -> Display -> Navigation -> Selection

Forum thread for feature the request:
https://forum.freecadweb.org/viewtopic.php?f=34&t=53065

We need to iterate the tree to add/remove the selection boxes when
the enable-setting has been changed.

The size for the first column in the tree is adjusted to fit both
name and optional checkbox.
mod - src/Gui/DlgPropertyLink.cpp Diff File
mod - src/Gui/DlgSettingsSelection.cpp Diff File
mod - src/Gui/DlgSettingsSelection.ui Diff File
mod - src/Gui/Tree.cpp Diff File
mod - src/Gui/Tree.h Diff File