On Sunday, September 26, 2021 at 10:19:35 PM UTC+1 [email protected] wrote:
> I think you could take away the ampersand from the menu item; then it
> would be available for something else. That's to be found in the menu
> settings in LeoSettings.leo.
>
> IIRC that didn't work (I am used to that kind of thing from Windows/MFC
decades ago).
I did look at some PyQt subclassing but didn't get very far with it, and
(also IIRC; it was a couple of years ago at least) there is more stuff that
you might think baked into Qt, or at least was at that time.
I would love to be proved wrong...
J^n
> On Sunday, September 26, 2021 at 2:37:14 PM UTC-4 jkn wrote:
>
>> This might be a good place to re-mention my occasional IWBNI (It Would Be
>> Nice If)...
>>
>> It Would Be Nice If ... there was a way to change some of the normal
>> Window accelerators so as to be able to use ALT-keys for alternative Leo
>> commands.
>>
>> My first use case it to have ALT-W perform File-Write (aka File Save,
>> currently CTRL-S). This is for compatibility with my preferred CRiSP/Brief
>> key bindings.
>>
>> I did a bit of experimenting with this ages ago at the PyQt level; but at
>> the moment I seem to be stuck with renaming the 'Window' top level menu to
>> something else, freeing up the 'W'. Personally it would help me if there
>> was a way to select not having top level menu accelerators at all.
>>
>> (I appreciate that this is as much a PyQt issue as a Leo one)
>>
>> J^n
>>
>>
>>
>>
>> On Saturday, September 25, 2021 at 11:15:38 PM UTC+1 [email protected]
>> wrote:
>>
>>> Pretty much the same as what I came up with:
>>>
>>> @settings
>>> @menuat /help after
>>> @menu &Local
>>> @item z-open-freewin
>>> ... etc
>>>
>>> On Saturday, September 25, 2021 at 6:07:11 PM UTC-4 SegundoBob wrote:
>>>
>>>> On 9/25/21 2:55 PM, [email protected] wrote:
>>>> > I was able to add a new "Local" menu after Help by using the path
>>>> > //help/, I do get a message on the console
>>>> createMenusFromConfigList
>>>> > no menu Local - do you know why?
>>>>
>>>> Not off the top of my head. Here is the node structure I use without
>>>> errors:
>>>>
>>>> @settings
>>>> @menuat help before
>>>> @menu &Bob
>>>> @menu &Zxtra Editing
>>>>
>>>> --
>>>> Segundo Bob
>>>> [email protected]
>>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/9159d1b4-fe5c-45e7-98ab-bc26081735b1n%40googlegroups.com.