johnf wrote:
On Saturday 13 May 2006 09:41, Paul McNett wrote:
johnf wrote:
Sorry I don't have the dabo source at hand (so I'm unable to check it)
and was asked a question. I realized I could not answer it so I'm asking
you. Does dabo follow the VFP input mask features? My first thought was
no. But I recall something was done. In wxPython each wiget has a
validator which could be used but then dabo would be maried to wxPython.
That's when I realized I didn't have the answer. Did I see you use a
mask in the screencast?
No, we have nothing like VFP's InputMask, but I think we should consider
doing it. A feature request in the tracker would be the way to start...
That was fast. Thanks. I'm using web mail and don't recall the URL for the
tracker (somewhere on the dabodev site I guess).
http://dabodev.com/tracker
(we like the 'make your best guess' philosophy)
In any case - how could it
be done? QT uses a different method than wxPython. Of course we would
abstract the 'dabo.ui.widget.inputMask'. But if I recall all of the UI libs
are different (even between versions - qt3 is different than qt4 etc..).
Each of the UI wrappers might work (some sort of validator is available). Of
course all of that is just off the top of my head.
We will worry about Qt and other libraries when we need to. Everything
can be abstracted enough, and when it comes to making it work with Qt
and we haven't done enough abstraction to make it work, we'll do it at
that point.
BTW I was going to work on the new Psycopg2 interface for Postgres this
weekend. But the wife had other ideas. But I'll still have time Monday and
Tuesday.
Cool.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev