Bug 107393

Summary: Kcalc interface improvement suggestions
Product: [Applications] kcalc Reporter: Philippe Rigault <prigault>
Component: generalAssignee: Klaus Niederkrüger <kniederk>
Status: RESOLVED FIXED    
Severity: wishlist CC: evan.teran
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Philippe Rigault 2005-06-14 13:50:20 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Compiled From Sources
Compiler:          GCC 3.4.3-22 Fedora Core 3 x86_64
OS:                Linux

1. Simultaneous display of multiple meaning buttons:
When a button has two meanings (e.g Cos/Acos), toggled by the 'Inv' button, it would be nice to have a visual indicator of it, showing simultaneously the current and the alternative meaning. For example, the alternative meaning could be displayed in a small font above the button, the color of the font matching the color of the 'Inv' button. Having a setting to enable/disable this behaviour is also desirable, since some people might consider this as clutter.

2. Inv button and not 'Inverse' meaning
Some multiple meanings are not 'Inverse', for example square/cube and Mod/IntDiv. Another name ('Alt' ?) might be more appropriate.

3. Logarithm/Exponential
The current display of buttons is:
- Ln and Log in one mode
- e(x) and 10(x) in the other mode (toggled by 'Inv')

I find it more useful to have:
- Ln and e(x) in one mode
- Log and 10(x) in the other mode

Rationale: I use much more frequently expressions that mix logs and their inverse functions than logs using one base with logs using another base.

Here again, a 'preferences' setting would be great.

4. Logarithm/Exponential, continued
It would be nice to be able to set a base for logarithm/exponential, as Log2/2(x) is very frequently used for example.
Comment 1 eike.krumbacher 2010-05-19 18:44:21 UTC
SVN commit 1128570 by eikekrumbacher:

Changes "Inv" button to "Shift", regroups x2 with sqrt(x) and x3 with 3rd root(x).
Some cleanups with enums. Patch was discussed at reviewboard.

CCBUG: 107393
GUI: 




 M  +76 -74    kcalc.cpp  
 M  +5 -5      kcalc.h  
 M  +9 -9      kcalc.ui  
 M  +2 -2      kcalc_button.cpp  
 M  +1 -1      kcalc_button.h  
 M  +2 -2      kcalc_const_button.cpp  
 M  +1 -1      kcalcdisplay.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1128570
Comment 2 Evan Teran 2013-04-16 16:28:44 UTC
This seems to be long since resolved, so I'm closing it for now.