Пример #1
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgNewPatientEAPnl.__init__
		kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
		wx.Panel.__init__(self, *args, **kwds)
		self._PRW_lastname = cLastnamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_firstnames = cFirstnamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_dob = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._CHBOX_estimated_dob = wx.CheckBox(self, wx.ID_ANY, _("Estimated"))
		self._TCTRL_tob = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._LBL_person_exists = wx.StaticText(self, wx.ID_ANY, "")
		self._PRW_gender = cGenderSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_nickname = cNicknamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_title = cTitlePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_zip = cZipcodePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_street = cStreetPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_number = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_unit = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_urb = cUrbPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_region = cStateSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_country = cCountryPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_type = cAddressTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_channel_type = cCommChannelTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_phone = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_primary_provider = cProviderPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_external_id_type = cExternalIDTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_external_id_value = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._LBL_id_exists = wx.StaticText(self, wx.ID_ANY, "")
		self._PRW_occupation = cOccupationPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)

		self.__set_properties()
		self.__do_layout()
Пример #2
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgGenericAddressEditAreaPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		self._LBL_type = wx.StaticText(self, wx.ID_ANY, _("Type"))
		from Gnumed.wxpython.gmAddressWidgets import cAddressTypePhraseWheel
		self._PRW_type = cAddressTypePhraseWheel(self, wx.ID_ANY, "")
		self._LBL_search = wx.StaticText(self, wx.ID_ANY, _("Search"))
		from Gnumed.wxpython.gmAddressWidgets import cAddressPhraseWheel
		self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmAddressWidgets import cZipcodePhraseWheel
		self._PRW_zip = cZipcodePhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmAddressWidgets import cStreetPhraseWheel
		self._PRW_street = cStreetPhraseWheel(self, wx.ID_ANY, "")
		self._TCTRL_notes_street = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_number = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_subunit = wx.TextCtrl(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmAddressWidgets import cUrbPhraseWheel
		self._PRW_urb = cUrbPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmAddressWidgets import cSuburbPhraseWheel
		self._PRW_suburb = cSuburbPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmAddressWidgets import cStateSelectionPhraseWheel
		self._PRW_state = cStateSelectionPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmAddressWidgets import cCountryPhraseWheel
		self._PRW_country = cCountryPhraseWheel(self, wx.ID_ANY, "")
		self._TCTRL_notes_subunit = wx.TextCtrl(self, wx.ID_ANY, "")

		self.__set_properties()
		self.__do_layout()
Пример #3
0
    def __init__(self, *args, **kwds):

        from Gnumed.wxpython import gmAddressWidgets

        # begin wxGlade: wxgGenericAddressEditAreaPnl.__init__
        kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._LBL_type = wx.StaticText(self, -1, _("Type"))
        self._PRW_type = gmAddressWidgets.cAddressTypePhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._LBL_search = wx.StaticText(self, -1, _("Search"))
        self._PRW_address_searcher = gmAddressWidgets.cAddressPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._PRW_zip = gmAddressWidgets.cZipcodePhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._PRW_street = gmAddressWidgets.cStreetPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._TCTRL_notes_street = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)
        self._TCTRL_number = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)
        self._TCTRL_subunit = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)
        self._PRW_urb = gmAddressWidgets.cUrbPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._PRW_suburb = gmAddressWidgets.cSuburbPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._PRW_state = gmAddressWidgets.cStateSelectionPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._PRW_country = gmAddressWidgets.cCountryPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._TCTRL_notes_subunit = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)

        self.__set_properties()
        self.__do_layout()