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

# Source Code for Module Gnumed.wxpython.gui.gmProviderInboxPlugin

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