[Top][All Lists]

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

Re: [Gnumed-devel] GUI layout / user configurability

From: Richard Terry
Subject: Re: [Gnumed-devel] GUI layout / user configurability
Date: Wed, 23 Jun 2004 12:12:17 +1000
User-agent: Mozilla Thunderbird 0.6 (X11/20040503)

Thanks for the file which of course runs without problems.

Personally I've got to the point with gnuMed where I wish anything was operational and I'm getting to the point where I'm almost ready to say I don't care what it looks like (but not quite).

I think what this simple design illustrates well is something which always irritates me about wxPython controls.

The elements you use here which are simple text boxes to list name/address/summary of allergies/occupations etc, allow essentially the reproduction of simple lists like we would make on a paper summary - ie normal size and spaced text - which is how it should be.

Once one uses individual text boxes as per my design, which when integrated with logic are functionally in many ways better, one starts to lose screen space, the text becomes either too big/too small etc, sizing is often a problem.

I've often toyed with the idea that it should be possible to build this functionality into something like the pycrust editor - where parts of the screen are 'off limits' to the user, that way one could reproduce the editing area concepts, use the popup phrase wheel etc, but in a much tighter screen area.


Horst Herb wrote:

Attached a mock-up GUI design. Just untar into a directory, and type "python" to get the idea. All you need is Python >= 2.3 and wxPython >= 2.4 installed.

The upper row is a horizontal sizer. Plugins (usually of "display" or "summary" type) can just be packed into that row by adding to the sizer.

The lower "work area" is separated from the "top row" via a horizontal splitter = user resizeable.

The "work area" itself is divided by a vertical splitter into the left side containing a notebook widget, and the right side containing a vertical sizer to allocate "tool" type plugins.

The notebook of cause gets pages added via plugins, usually of "clinical" type.

Of cause, all plugins which add to any of the sizers mentioned above, can implement new "splitters" that would allow user resizing of the plugin widgets.

The GUI mockup is entirely created with wxGlade. My real mini gnumed was created the same, only that the mockup widgets are implemented as plugins instead of hardcoded into the framework.

Manually created code always inherits from wxGlade code, I neer edit wxGlade generated code manually. That allows ongoing GUI modifications without any code alteration.


Gnumed-devel mailing list

reply via email to

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