kcalc documentation update

Burkhard Lück lueck at hube-lueck.de
Wed Aug 6 08:50:20 CEST 2008


Am Mittwoch 06 August 2008 02:11:26 schrieb David Johnson:
> On Tuesday 05 August 2008 01:50:04 am Burkhard Lück wrote:
> > There are no "Inv foo" buttons, I guess "Inv N" means to press the Inv +
> > N button?
> >
> > Same applies to Trigonometric Mode buttons?
> >
> > Then it should be explained and written as "Inv + N".
>
> Yes, that is correct. But I don't think you should put the '+' in the
> documentation. These are key sequences, not multi-key commands. So you
> press "Inv" and then "N", and not "Inv" and "N" at the same time (which is
> what the + implies).
>
I have now realized that "Inv" works like Caps Lock, in Inv mode there is an 
alternate button layout.
So these tables for buttons in statistical and trigonometric mode as well as 
the "Single Key Accelerators" table have to be rewritten completly.

> > Single Key Accelerators:
> > <  Lsh  Left shift. Note: Inv Lsh is Right shift
> > no < accelerator in trunk or stable
> >
> > What to? Remove this in the docs or add it to the code?
>
> This is the "Less Than" symbol (Qt::Key_Less), not an arrow. On a US 104
> keyboard, this is Shift+Comma. This should be working. Unfortunately I am
> not near my KDE4 box to double check this. If it doesn't work in KDE4, then
> it's a bug and I will have to add it to the code.
>
What I mean with missing "<" (less than) accellerator is:
Press Ctrl and you see the ">" (greater than) on the "Rsh" key, but nothing  
on the "Lsh" key. But the "<" (less than) key works here as shift left, it is 
just not displayed.

> > What keys are Prior and Next?
> > Prior  C  Clear
> > Next  AC  Clear all
>
> I do not know what Prior and Next are. They are not in the code. Maybe some
> keyboards have Prior and Next mapped to PgUp and PgDown? If you want to
> remove these two references, that is fine.

OK, I will remove these references.

This example in the doc is wrong:
"Inv Lsh right shifts the value (performs an integer divide by 2) n times.
16 Inv Lsh 2 = gives 4 (16 divided by 2 twice).
16.999 Inv Lsh 2 = also gives 4."
It has to be changed to:
"Rsh right shifts the value (performs an integer divide by 2) n times.
16 Rsh 2 = gives 4 (16 divided by 2 twice).
16.999 Rsh 2 = also gives 4."

-- 
Burkhard Lück


More information about the Kde-utils-devel mailing list