Validating cells of a table PyQt

t r z e w i c z e k trzewiczek at trzewiczek.info
Thu Jan 7 02:19:45 EST 2010


On Thu, 07 Jan 2010 01:37:05 +0100, Zabin <zabin.farishta at gmail.com> wrote:

> Hey!
>
> I am new PyQT programmer. I am trying to create a table in which cells
> only take in numeric data. I am unable to use setValidator on table
> cells. Looking around i found some material on the editor attribute
> but I dont know how to apply this. Any help will be appreciated
>
> Cheers!


Hi,

I'm not an expert but could you write, why you can't use validators on the  
cells? There is this free ebook of first edition of "C++ GUI Programming  
with Qt 4" that has an excel like application as an example and I remember  
there was a part with validators that looked pretty nice. You can easly  
and legally download this book from various sites.

Best from Poland,
trzewiczek




-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Python-list mailing list