gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] staff manager panel code


From: Syan Tan
Subject: Re: [Gnumed-devel] staff manager panel code
Date: Wed, 18 Jan 2006 06:54:36 +0800


 
some reason , update didn't get these directories, but checkout did from the root gnumed directory.

Doesn't look too different : with the button enlist current patient,  I've got a provider select panel working that

uses gmPatSelector ( a provider subclass of it, that won't cause patient_selected signals, and won't chang gmCurrentPatient)

to select a provider, but has a button for creating a new provider  (that reuses a panel from gmDemographicWidgets),

then a button link to pg_user.  When a provider is selected, and link pg_user is pressed, it then goes to a pg_user

select panel, which can alter a password, group membership, and on pressing the update button, will invoke the admin

login dialog, and if successful, alter the pg_user and pg_groups accordingly, or create pg_user and alter pg_groups

if the pg_user name doesn't exist. The selection list is filtered so that any pg_user already associated with a provider in

dem.staff will not be listed . There is a "select" button which will then go to a staff creation gui in my workflow, but

what I suggest is that it jumps back to your staff gui, but there would be read only fields, which are provider description

and pg_user name: the pg_user name can be the Account field.  Can I proceed to do this ?

On Tue Jan 17 17:52 , Karsten Hilbert sent:

Syan,

please see

client/wxg/wxgStaffManagerPnl.wxg
client/wxGladeWidgets/wxgStaffManagerPnl.py

Please observe the edit path for those files if you intend to change/fix things:

- edit wxg/*.wxg with wxGlade
- generate wxGladeWidgets/*.py from *.wxg
- add (hopefully very few needed) modifications to generated *.py
- import wxGladeWidgets/*.py into wxpython/*.py
- enhance (add event handlers etc)
- wrap as cPlugin in wxpython/gui/*.py plugin

You are, of course, free to employ wxGlade any way you like
with "your own" widgets (such as AUVacc or AUAppoint etc).

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


_______________________________________________
Gnumed-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnumed-devel



reply via email to

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