#!/usr/bin/env python
# -*- coding: utf-8 -*-
# generated by wxGlade 0.5 on Wed Dec  5 16:15:06 2007 from /home/ncq/Projekte/gm-cvs/branches/HEAD/gnumed/gnumed/client/wxg/wxgExternalIDEditAreaPnl.wxg

import wx

class wxgExternalIDEditAreaPnl(wx.ScrolledWindow):
    def __init__(self, *args, **kwds):

        from Gnumed.wxpython import gmDemographicsWidgets

        # begin wxGlade: wxgExternalIDEditAreaPnl.__init__
        kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._PRW_type = gmDemographicsWidgets.cExternalIDTypePhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._TCTRL_value = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)
        self._PRW_issuer = gmDemographicsWidgets.cExternalIDIssuerPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)

        self.__set_properties()
        self.__do_layout()
        # end wxGlade

    def __set_properties(self):
        # begin wxGlade: wxgExternalIDEditAreaPnl.__set_properties
        self.SetScrollRate(10, 10)
        self._TCTRL_value.SetToolTipString(_("Enter the actual ID (number, identifier, ...) here."))
        self._TCTRL_comment.SetToolTipString(_("Enter a comment on this external ID."))
        # end wxGlade

    def __do_layout(self):
        # begin wxGlade: wxgExternalIDEditAreaPnl.__do_layout
        _gszr_main = wx.FlexGridSizer(10, 2, 3, 5)
        __LBL_type = wx.StaticText(self, -1, _("ID Type"))
        _gszr_main.Add(__LBL_type, 0, wx.ALIGN_CENTER_VERTICAL, 0)
        _gszr_main.Add(self._PRW_type, 1, wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 0)
        __LBL_value = wx.StaticText(self, -1, _("Value"))
        _gszr_main.Add(__LBL_value, 0, wx.ALIGN_CENTER_VERTICAL, 0)
        _gszr_main.Add(self._TCTRL_value, 1, wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 0)
        __LBL_issuer = wx.StaticText(self, -1, _("Issuer"))
        _gszr_main.Add(__LBL_issuer, 0, wx.ALIGN_CENTER_VERTICAL, 0)
        _gszr_main.Add(self._PRW_issuer, 1, wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 0)
        __LBL_comment = wx.StaticText(self, -1, _("Comment"))
        _gszr_main.Add(__LBL_comment, 0, wx.ALIGN_CENTER_VERTICAL, 0)
        _gszr_main.Add(self._TCTRL_comment, 1, wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 0)
        self.SetSizer(_gszr_main)
        _gszr_main.Fit(self)
        _gszr_main.AddGrowableCol(1)
        # end wxGlade

# end of class wxgExternalIDEditAreaPnl


