I did a few hotkey experiments with the main TABULA form. You are
right and I am wrong: JQt IDE does not intercept hotkeys specified in
the menus for a user-created form.

However some hotkeys are intercepted:
    ⌘H …  which OS X reserves for hiding the current app
    ⌘Z ⌘X ⌘C ⌘V … which Qt intercepts whenever an edit control has
focus, devoting these hotkeys to standard text editing of end-user
input.

If another sort of control has focus, e.g. a listbox, then ⌘Z and
friends are available to the form designer, e.g. to program a
specialized Undo facility.

I had unfairly blamed the JQt IDE for intercepting popular hotkeys
like ⌘Z because I hadn't realized that an edit control (which was
always getting the focus) was the culprit.

BTW, the functionality of ⌘H is a disaster. If the end-user hits this
hotkey combination by mistake, JQt and all its forms (IDE or
user-defined) do indeed disappear. But when JQt is made to reappear,
it is locked solid. I can find no way to make it respond to mouse
events, short of quitting the app. I doubt there's anything JQt can do
about it.

On Fri, Sep 11, 2015 at 12:47 AM, bill lam <[email protected]> wrote:
> IIRC shortcut keys reserved by qt ide are only effective inside qt ide.
> ctrl-j might be an exception, I am not sure, you need to check. option
> (alt) key should better be reserved for OS or window manager, and used only
> as the last resort as what you had said.
> On Sep 11, 2015 2:33 AM, "Ian Clark" <[email protected]> wrote:
>
>> Thank you.
>>
>> It's true that Apple guidelines discourage liberal use of Option (⌥)
>> in menu hotkeys. The attitude is that Command (⌘) and Shift (⇧) ought
>> to cover most requirements.
>>
>> Trouble is, Apple is grabbing more and more of the most obvious hotkey
>> combinations for general OS X use – and the JQt IDE reserves some
>> more. (How, for instance can I trap something like ⌘Z (Undo) for use
>> in my own jwd-defined form?)
>>
>> Option (⌥) is only something I'd want to use as a last resort to avoid
>> using an unmemorable letter, or something for the power user only –
>> like suppressing a "Do you really want to delete this?" messagebox.
>>
>> On Thu, Sep 10, 2015 at 6:07 PM, chris burke <[email protected]> wrote:
>> > The Alt sysmodifier will be in the next J804 beta, together with the
>> first
>> > use of Alt in the IDE menus, i.e. OSX option+command+/ for Toggle Note.
>> >
>> > On 18 June 2015 at 09:41, Ian Clark <[email protected]> wrote:
>> >
>> >> in J803 jwd, if the Option key (⌥) is held down, (sysmodifiers)
>> >> remains obstinately at (,'0').
>> >>
>> >> But it gets the correct values (,'1') and (,'2') for Shift key (⇧) and
>> >> Command key (⌘) respectively.
>> >>
>> >>    JVERSION
>> >> Engine: j803/2014-10-19-11:11:11
>> >> Library: 8.03.13
>> >> Qt IDE: 1.3.1/5.3.2
>> >> Platform: Darwin 64
>> >> Installer: J803 install
>> >> InstallPath: /applications/j64-803
>> >> ----------------------------------------------------------------------
>> >> 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
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to