KLCDNumber

Jason Mott kdedevel at jasonmott.com
Tue Dec 10 19:11:13 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 10 December 2002 05:39 am, CP Hennessy wrote:
> On Tuesday 10 December 2002 08:08, Helge Deller wrote:
> [snip]
>
> > If this derived class would have some more features than just
> > color/palette-additions, I think it might be more useful.
> >
> > One example of more functionality is described in Bug report #28412
> > (http://bugs.kde.org/show_bug.cgi?id=28412) - e.g. it would be useful if
> > KLCDNumber would be able to show a small "am/pm" and a blinking dot
> > on the left side. I know, that this feature might not be very useful in
> > your Kalculate program, but it would at least help to make the clock look
> > more like a real digital clock.
>
> But it could be generalized a bit to show the units of measurement being
> displayed in the LCD (e.g. Kgs, Kms, MB, cm, etc ).
> I'd also recommend a "hint" with the abbreviation explained.


Perhaps an even more generic way to add such a feature would be to add support 
for subscript/superscript text to be defined. Then the user of the class can 
put any abbreviation they wanted (and even make sub classes that behave 
specifically -- like a digital clock that displays am/pm). I would say since 
this should be generic, the client code should be able to specify relative 
size and position of the added text.

How does this sound?

- --Jason...JJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE99jxbgxGG3K38H6sRAqEiAJ48kbNO4ZfT9iI0CAKdX2t4tbUI7QCfXf++
RhVk0NU4v2ti+4jwASS9xxw=
=UVsG
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list