Re: [Jgeneral] What are the keystrokes supported by JQt?

2022-09-26 Thread Raul Miller
On Mon, Sep 26, 2022 at 6:11 PM Don Guinn  wrote:
> I suspect that I can only define function keys for the term form in
> "userkeys.cfg" and no character keys. Is that the case?

Probably?

It's been a long time since I've messed with any of this stuff.

Though I think I remember that we used to be able to define control
key combinations as "function keys".

-- 
Raul
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] What are the keystrokes supported by JQt?

2022-09-26 Thread Don Guinn
Yes, thanks, sort of. But I think that Qt handles the shift, ctrl and alt
keys separately. Notice that there is only one entry for "A" in that list.
No lower case "a" is in that list. Apparently when Qt gets the "A" event it
has to check for the shift key to determine if it is a lower case "a" or
upper case "A". Similarly for the ctrl and the alt keys. J seems to have a
separate event for say - "a" by itself and "a" with shift, ctrl or alt
pressed. The shift is handled internally. At least in user defined forms.
Several keys like "ctrl+c" belong to Windows. Some like "ctrl+l" J handles.
But others like "shift_ctrl+>" shown in the J Playground for lab advance.
Can it be used in JQt? Tried it. It didn't work. But it didn't seem to work
in the Playground either. And which ">" symbol is the Playground referring
to? There is the greater than symbol and the move one character to the
right key. Tried both in the Playground. On top of that I can
interrogate the ctrl, alt and shift keys pressed with a keystroke including
key up and key down, but only in user forms. Not in the term form.

I suspect that I can only define function keys for the term form in
"userkeys.cfg" and no character keys. Is that the case?


On Mon, Sep 26, 2022 at 3:17 PM Raul Miller  wrote:

> Are you looking for '~addons/ide/qt/keys.ijs'? (Which I think would be
> relevant in an isidraw control, or similar.)
>
> Or are you looking for
> https://github.com/jsoftware/qtide/tree/master/lib/base? (Which I
> think is for the session manager and editor.)
>
> I've not spent much time on this, but this is what I found when I went
> looking for jqt keystrokes.
>
> --
> Raul
>
> On Mon, Sep 26, 2022 at 2:52 PM Don Guinn  wrote:
> >
> > From reading about Qt it supports all keystrokes and combinations of
> > keystrokes. But which ones are supported by JQt?
> >
> > I can see what keystrokes are supported in forms I create by simply
> > pressing a keystroke or some combination, then examining jqt to see if it
> > caused an event and what name it is. But I can't do that with the term
> > form. I can put a combination in userkeys.cfg then restart J to see if it
> > gives an error message. But that is quite awkward.
> >
> > So far I can't find any list in the J web site.
> > --
> > For information about J forums see http://www.jsoftware.com/forums.htm
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jgeneral] What are the keystrokes supported by JQt?

2022-09-26 Thread Raul Miller
Are you looking for '~addons/ide/qt/keys.ijs'? (Which I think would be
relevant in an isidraw control, or similar.)

Or are you looking for
https://github.com/jsoftware/qtide/tree/master/lib/base? (Which I
think is for the session manager and editor.)

I've not spent much time on this, but this is what I found when I went
looking for jqt keystrokes.

-- 
Raul

On Mon, Sep 26, 2022 at 2:52 PM Don Guinn  wrote:
>
> From reading about Qt it supports all keystrokes and combinations of
> keystrokes. But which ones are supported by JQt?
>
> I can see what keystrokes are supported in forms I create by simply
> pressing a keystroke or some combination, then examining jqt to see if it
> caused an event and what name it is. But I can't do that with the term
> form. I can put a combination in userkeys.cfg then restart J to see if it
> gives an error message. But that is quite awkward.
>
> So far I can't find any list in the J web site.
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm