Skip to navigation
   
Dave F's Blog

Norwegian Americanisms & the language of the Net

By Dave F in Reader

Posted in Uncategorized on November 9, 2006 at 1:03 pm

Permalink | Author Profile

In the spirit of accessible computing I’ve been being good & checking my App is easy to use without a mouse. This ofcourse means adding accelerators (the underlined letter that leaps you there with the Alt key). Missing accelerators are easy to miss(!) as they aren’t shown until you press the Alt key. They are normally specified in the code by adding an & - “&File”, “Save &As” etc.

When I added them to my labels I displayed

&Fred: [text box]

F&laming Nora: [text box]               etc

It always worked OK in Windoze programming - but because labels don’t get focus QT doesn’t think they should have accelerators. Until you “setBuddy” them when the accelerator appears and you are accelerated to the “buddy” object. Windoze (rather helpfully) assume focus should be set to the next object that would accept it. Having a label that accelerates you to a box in a different part of the screen doesn’t seem like  an intuitive interface.

I can live with having to make the extra call but does it have to be setBuddy? It was bad enough living with setColor in VB days but at least that was written in the states.

The language of the NET maybe English but it is US English :-(

Anyway, can ya spare me a dime?

12345
Not yet rated
Loading ... Loading ...

Previous Post | Next Post

 
 
Comments
This article has no comments yet.

Make a comment

* required

* required

We stop spam using reCaptcha.
Type the words below and click Submit Comment.

Advertisement