Package Gnumed :: Package wxpython :: Package gui :: Module gmWaitingListPlugin
[frames] | no frames]

Source Code for Module Gnumed.wxpython.gui.gmWaitingListPlugin

 1  #===================================================== 
 2  # GNUmed provider inbox plugin 
 3  # later to evolve into a more complete "provider-centric hub" 
 4  #===================================================== 
 5  # $Source: /cvsroot/gnumed/gnumed/gnumed/client/wxpython/gui/gmWaitingListPlugin.py,v $ 
 6  # $Id: gmWaitingListPlugin.py,v 1.2 2009/06/29 15:13:25 ncq Exp $ 
 7  __version__ = "$Revision: 1.2 $" 
 8  __author__ = "Karsten Hilbert <Karsten.Hilbert@gmx.net>" 
 9  __license__ = "GPL" 
10   
11  from Gnumed.wxpython import gmPlugin, gmPatSearchWidgets 
12   
13  #====================================================================== 
14 -class gmWaitingListPlugin(gmPlugin.cNotebookPlugin):
15 """Plugin to encapsulate the waiting list.""" 16 17 tab_name = _('Waiting list') 18 #--------------------------------------------------------
19 - def __init__(self):
21 #--------------------------------------------------------
22 - def name(self):
24 #--------------------------------------------------------
25 - def GetWidget(self, parent):
26 self._widget = gmPatSearchWidgets.cWaitingListPnl(parent, -1) 27 return self._widget
28 #--------------------------------------------------------
29 - def MenuInfo(self):
30 return ('office', _('&Waiting list'))
31 #--------------------------------------------------------
32 - def can_receive_focus(self):
33 return True
34 #====================================================================== 35 # $Log: gmWaitingListPlugin.py,v $ 36 # Revision 1.2 2009/06/29 15:13:25 ncq 37 # - improved placement in menu hierarchy 38 # - add active letters 39 # 40 # Revision 1.1 2009/01/17 23:00:00 ncq 41 # - a new plugin 42 # 43 # Revision 1.8 2007/10/12 07:28:25 ncq 44 # - lots of import related cleanup 45 # 46 # Revision 1.7 2006/12/17 22:21:05 ncq 47 # - cleanup 48 # 49 # Revision 1.6 2006/12/17 20:45:38 ncq 50 # - cleanup 51 # 52 # Revision 1.5 2006/05/28 16:15:27 ncq 53 # - populate already handled by plugin base class now 54 # 55 # Revision 1.4 2006/05/20 18:56:03 ncq 56 # - use receive_focus() interface 57 # 58 # Revision 1.3 2006/05/15 13:41:05 ncq 59 # - use patient change signal mixin 60 # - raise ourselves when patient has changed 61 # 62 # Revision 1.2 2006/05/15 11:07:26 ncq 63 # - cleanup 64 # 65 # Revision 1.1 2006/01/15 14:30:56 ncq 66 # - first crude cut at this 67 # 68 # 69