[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] forms

From: Ruthard Baudach
Subject: [Gnumed-devel] forms
Date: Wed, 20 Jun 2007 15:20:11 +0200
User-agent: Opera Mail/9.01 (Linux)

I agree that the capability to handle forms is crucial to EMR's used under the reign of bureaucrazy, as in Germany and presumably in Austria. The test and score widgtet I'm working on is eventually nothing else than a set of sophisticated forms.

I tried to paint scanned form on a panel and define wx.TextCtrl instances using absolute poistioning. It seems to work.

Thus a definiton of a form could consist of a dictionary

form = {
        'background': '/path/to/file/with/background/image',
        'control_1': {
                'type': 'xx',
                'pos': (x,y),
                'size': (x,y),
'default': 'default value, which should involve some magic fairy or demon in order to automagically fill in gnumed-data',
                'tooltip': 'This is a ToolTipText'
        'control_2': {

preferably the background image should be stored in the same file as the control definition, I just did'nt figured out how to do this yet.

Displaying this definiton is easy, reading the data filled in by the user is also no problem.

I've got no idea,
        * how to get this data on the form
        * how to store this data in a GNUmedish way
        * where to hunt down the mentioned fairies and demons.

Writing these files by hand is very time consuming - a form editor would be fine. Well, we'll see.


.odt - Dokumente gemäß ISO 26300

Erstellt mit Operas revolutionärem E-Mail-Modul:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]