gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] Re: popups on SOAP


From: Richard Terry
Subject: [Gnumed-devel] Re: popups on SOAP
Date: Thu, 22 Jul 2004 14:01:22 +1000
User-agent: KMail/1.5.4

That is showing great promise and just how I'd envisage it to work, albeit 
with many small details changed.

I'm not sure how it works your end. Nothing would popup at all at first, then 
I noticed if I  left a space after prescribe it would popup. In the popup the 
first two complete lines where flashing (ie the drug and dose headers), but 
if I filled info into these lines the top two lines completely disappear.

I think we should consider what keys we need here. I wonder how possible it is 
to overlay a small ok button at the base of this, or pehaps the SOAP controls 
should be like the following:

------------------------------------------------------
S
O   (this entire area = the rich text control
A
P
-----------------------------------------------------
This is a sizer with <btn ok> Btn <cancel>
-------------------------------------------------------

Ie the aggregated control = the SOAP or whatever edit area control

With the popup referrals/scripts, I think the default behaviour of the <ESC> 
kjey should be to remove the edit area but not save the content. If the ok 
button is clicked the summary of the drug/referral etc, is placed back within 
the plan line. This summary CANNOT BE EDITED    MANUALLY. If the user attempts 
to do this, or say double clicks over this text then the popup for that 
particular type is automatically invoked.

I'm quite excited about this. I think this way of doing things will be 
brilliant once implemented, and there won't be a medical records program in 
existance which comes within cooee of gnuMed.

Regards

Richard

On Thu, 22 Jul 2004 12:30 pm, you wrote:
> On Thu, 22 Jul 2004 11:57:23 +1000
>
> Richard Terry <address@hidden> wrote:
> > How to you invoke a subpopup - ie keyword - I will look into the file,
> > but am working, so only if your on line right now.
>
> The SOAP widget's final parameter is "poppers", a Python dictionary of
> keywords and popup widgets, so for example {"prescribe":PrescribePopup,
> "refer":ReferralPopup}
>
> The popups can be any object derived from wxWindow, although most of the
> time they will be another instance of SOAPTextCtrl.
>
> Ian





reply via email to

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