← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Hotkey list dialog

 

Hi,

Here's a screenshot of the list widget this creates.

I also forgot to mention that this also allows to remove the
"InstallOnPanel" workaround to installing the custom hotkey widget on
the wxFB panel's placeholder panel.

Cheers,

John
On Wed, Oct 3, 2018 at 4:20 PM John Beard <john.j.beard@xxxxxxxxx> wrote:
>
> Hi,
>
> Here is a patch sequence for using the hotkey editor widget in a
> read-only mode to provide a filterable (and slightly prettier) hotkey
> list. This is a 5.1 milestone.
>
> Major details other than the main aim of the list widget:
>
> * There are some "common UI" elements introduced here that should be
> generally re-usable:
> ** BUTTON_ROW_PANEL provides an easy way to construct a row of buttons
> spaced out nicely
> ** A place to put "generic" UI stuff like the 5px constant very often
> used for margins
> * The editor/list panel is no longer a wxFB project, as I couldn't get
> it to play nice with optional elements: undoing half the construction
> in the derived class, unbinding events and changing various stuff in
> response to editabilty was not very tidy. It's substantially less code
> now, partly due to the re-usable widgets above.
>
> Also adds tooltips for the HK editor buttons via the new BUTTON_ROW_PANEL class.
>
> Cheers,
>
> John

Attachment: 2018-10-03_172712_510x401_screenshot.png
Description: PNG image


References