[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QLCD- Alpha widget ?
From:       Greg Fortune <lists () gregfortune ! com>
Date:       2004-03-26 7:26:38
Message-ID: 200403252326.38134.lists () gregfortune ! com
[Download RAW message or body]

The QLCDNumber do some alpha characters as is

Drop this code into a project...

w = QLCDNumber(self, "lcdAlpha")
w.display("Cool")


Checking the Qt docs turns up:

void QLCDNumber::display ( const QString & s ) [slot] 

Displays the number represented by the string s. 

This version of the function disregards mode() and smallDecimalPoint(). 


These digits and other symbols can be shown: 0/O, 1, 2, 3, 4, 5/S, 6, 7, 8, 
9/g, minus, decimal point, A, B, C, D, E, F, h, H, L, o, P, r, u, U, Y, 
colon, degree sign (which is specified as single quote in the string) and 
space. QLCDNumber substitutes spaces for illegal characters. 


Examples: rangecontrols/rangecontrols.cpp, t12/lcdrange.cpp, t13/gamebrd.cpp, 
t5/main.cpp, t6/main.cpp, t7/lcdrange.cpp, and xform/xform.cpp. 



Greg Fortune
Fortune Solutions

On Thursday 25 March 2004 10:40 pm, Tony Cappellini wrote:
> Since QT/pyQt have the QLCDNumber widget, I can't help but wonder if anyone
> has created
> an Alphabetic LCD widget ?
>
>
> _______________________________________________
> PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic