[wxPython-users] "Smart" edit/comboboxes

Karsten Hilbert Karsten.Hilbert at gmx.net
Mon Feb 5 12:27:38 PST 2007


On Fri, Feb 02, 2007 at 08:17:06AM +1100, Richard wrote:

> 1) the gnumed Project cvs has a good phrase wheel, initially conceptualised by 
> myself back around 1995 and used in my vb programs here at work and some 
> software projects we did over a few years with local doctors, made much 
> better for linux By Karsten Hilbert/Ian Haywood. 
> 
> 2) Myself and Ian Haywood have been extending this in recent weeks
> 
> We have a  **very very smart**  popup phrase wheel in developement designed to 
> use as a  textbox replacement which:
> 
> * may/may not be linked to the backend database, displaying whatever field you 
> want in the popup (we link to postgres)
> * links to aspell and spell checks as you type
> * has flags like NUMERIC, EMAIL_CHARS, WEB_CHARS, CAPS_NAMES, CAPS_ALLCAPS, 
> CAPS_FIRST, CAPS_WORDS, CAPS_NONE (smart with things like surnames eg O'Neil
> * has a flag LEARN to learn users habits for future use (ie take textbox 
> contents and re-save to db for future use in the list)
> * linked to timer so only searches/works when a pre-determined time passes

If you want to see all that and now, too, go here:

http://cvs.savannah.gnu.org/viewcvs/gnumed/gnumed/client/wxpython/gmPhraseWheel.py?rev=1.94&root=gnumed&view=log

This is the GNUmed version which has been enhanced to
include all the things Richard describes above.

> Note sure how it compares to the auto-complete text thingy on the web site as 
> havn't' looked at that.
The one thing both phrasewheels lack so far is
auto-completion or completion-on-tab (such as the command
line does for filenames etc).

The GNUmed one is GPL, too, of course.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




More information about the wxpython-users mailing list