shortcut for Box element selection

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

Post Reply
david69
Posts: 203
Joined: Wed Jan 01, 2014 7:48 pm

shortcut for Box element selection

Post by david69 » Mon Nov 18, 2019 10:36 pm

in
OS: Ubuntu 18.04.3 LTS (LXDE/Lubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)

the shortcut for Box element selection is MAJ+E the same one as for Toggle Editmode. the wiki says for Box element selection says Shift + E.

do you have that in the English version?
what is right?

vocx
Posts: 3344
Joined: Thu Oct 18, 2018 9:18 pm

Re: shortcut for Box element selection

Post by vocx » Tue Nov 19, 2019 5:30 pm

david69 wrote:
Mon Nov 18, 2019 10:36 pm
...
the shortcut for Box element selection is MAJ+E the same one as for Toggle Editmode. the wiki says for Box element selection says Shift + E.
...
https://github.com/FreeCAD/FreeCAD/blob ... 2675-L2693

Code: Select all

//===========================================================================
// Std_BoxElementSelection
//===========================================================================
DEF_3DV_CMD(StdBoxElementSelection)

StdBoxElementSelection::StdBoxElementSelection()
  : Command("Std_BoxElementSelection")
{
    sGroup        = QT_TR_NOOP("Standard-View");
    sMenuText     = QT_TR_NOOP("Box element selection");
    sToolTipText  = QT_TR_NOOP("Box element selection");
    sWhatsThis    = "Std_BoxElementSelection";
    sStatusTip    = QT_TR_NOOP("Box element selection");
#if QT_VERSION >= 0x040200
    sPixmap       = "edit-element-select-box";
#endif
    sAccel        = "Shift+E";
    eType         = AlterSelection;
}
Yes, it seems that the accelerators are Shift+B (Std_BoxSelection) and Shift+E (Std_BoxElementSelection) for the two box selections. I guess this command is loaded after the Std_Edit command, so it overwrites the accelerator.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.

Post Reply