[Kde-kiosk] Simplifying kcalc

Chris Howells kde-kiosk@mail.kde.org
Fri, 14 Feb 2003 13:26:46 +0000


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Sunday 09 February 2003 11:03, Bill Kendrick wrote:
> Is there a way to simplify kcalc?

Apart from modifying the source and calling hide() on the widgets you don't=
=20
want to show, not yet ;)

> Anyway, is there an easy way to disable (and preferably make invisible)
> the:
>
>   * "Base" collection of options (Hex, Dec, Oct, Bin)
>   * "Angle" collection of options (Deg, Rad, Gra)
>   * Higher math buttons (Hyp, Sin, Cos, Tan, etc.)
>   * Hexadecimal numbers (A-F)
>   * Binary operations (Lsh, Mod, And, Or)

I suppose the way to do this would be to create a "Simple" mode and=20
"Scientific" mode for the calculator, obviously hiding the trig etc stuff i=
n=20
Simple mode. Then we could check whether the config file was immutable, and=
=20
only allow switching between Simple/Scientific mode if it wasn't.

Hrm, don't know how difficult this will be to implement.

=2D --=20
Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org
Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt
KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.=
org

=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE+TO6bF8Iu1zN5WiwRAhfGAKCJJx1lT6EEnxBX76Jljk6K1hyj2gCfZt9u
vWSqS7jZcaE7F+baZu+IPx0=3D
=3DkRtC
=2D----END PGP SIGNATURE-----