kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40834
Re: cvPCB Hotkey Handling
Hi Ian,
The tool architecture allows hotkeys to be assigned to ACTIONs, which are then executed by a TOOL. So you’d need to define cut/copy/paste CVPCB_ACTIONs, and also give cvPCB a hotkeys file (and allow them to be edited).
But I don’t think we need to support editable hotkeys for cut/copy/paste/delete. I’d be more inclined to do a light-weight solution inside the wxWidget. See GRID_TRICKS for an example.
Cheers,
Jeff.
> On 28 May 2019, at 13:29, Ian McInerney <Ian.S.McInerney@xxxxxxxx> wrote:
>
> I am currently looking into adding some usability features to cvPCB (copy/paste, single association delete, etc.) and want to also include the relevant hotkey assignments for them. I am slightly confused where the hotkey handling for cvPCB is handled though, since I can't see any handling for it in the mainframe class. I do see that the tool manager exists for the footprint preview frame, so it can handle those hotkeys. Does anyone recall if cvPCB has hotkey handling in the mainframe already?
>
> Thanks,
> -Ian
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
Follow ups
References