示例#1
0
    def __init__(self, *args, **kwds):

        from Gnumed.wxpython.gmAddressWidgets import cAddressPhraseWheel

        # begin wxGlade: wxgOrgUnitAddressPnl.__init__
        kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._LBL_message = wx.StaticText(self, -1, "", style=wx.ALIGN_CENTRE)
        self._PRW_address_searcher = cAddressPhraseWheel(self,
                                                         -1,
                                                         "",
                                                         style=wx.NO_BORDER)
        self._BTN_save_picked_address = wx.Button(self,
                                                  -1,
                                                  _("&Link"),
                                                  style=wx.BU_EXACTFIT)
        self._BTN_add_new_address = wx.Button(self,
                                              -1,
                                              _("Link &new"),
                                              style=wx.BU_EXACTFIT)
        self._BTN_manage_addresses = wx.Button(self,
                                               -1,
                                               _("Browse"),
                                               style=wx.BU_EXACTFIT)

        self.__set_properties()
        self.__do_layout()

        self.Bind(wx.EVT_BUTTON, self._on_save_picked_address_button_pressed,
                  self._BTN_save_picked_address)
        self.Bind(wx.EVT_BUTTON, self._on_add_new_address_button_pressed,
                  self._BTN_add_new_address)
        self.Bind(wx.EVT_BUTTON, self._on_manage_addresses_button_pressed,
                  self._BTN_manage_addresses)
示例#2
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()
	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()
    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()
示例#5
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgReceiverSelectionDlg.__init__
        kwds["style"] = kwds.get(
            "style", 0
        ) | wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER
        wx.Dialog.__init__(self, *args, **kwds)
        self.SetSize(wx.DLG_UNIT(self, wx.Size(360, 255)))
        self._LBL_message_top = wx.StaticText(
            self, wx.ID_ANY, _("Select the paperwork receiver:"))
        from Gnumed.wxpython.gmTextCtrl import cTextCtrl
        self._TCTRL_final_name = cTextCtrl(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmAddressWidgets import cAddressPhraseWheel
        self._PRW_other_address = cAddressPhraseWheel(self, wx.ID_ANY, "")
        self._BTN_manage_addresses = wx.Button(self,
                                               wx.ID_ANY,
                                               _("&Manage"),
                                               style=wx.BU_EXACTFIT)
        self._LBL_address_details = wx.StaticText(self, wx.ID_ANY, "")
        self._TCTRL_org_unit_details = wx.TextCtrl(self,
                                                   wx.ID_ANY,
                                                   "",
                                                   style=wx.TE_MULTILINE
                                                   | wx.TE_READONLY)
        self._LBL_final_name = wx.StaticText(self, wx.ID_ANY, "")
        self._LBL_final_country = wx.StaticText(self, wx.ID_ANY, "")
        self._LBL_final_region = wx.StaticText(self, wx.ID_ANY, "")
        self._LBL_final_zip = wx.StaticText(self, wx.ID_ANY, "")
        self._LBL_final_location = wx.StaticText(self, wx.ID_ANY, "")
        self._LBL_final_street = wx.StaticText(self, wx.ID_ANY, "")
        self._LBL_final_number = wx.StaticText(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmListWidgets import cReportListCtrl
        self._LCTRL_candidates = cReportListCtrl(
            self,
            wx.ID_ANY,
            style=wx.BORDER_NONE | wx.LC_REPORT | wx.LC_SINGLE_SEL)
        from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitPhraseWheel
        self._PRW_org_unit = cOrgUnitPhraseWheel(self, wx.ID_ANY, "")
        self._BTN_manage_orgs = wx.Button(self,
                                          wx.ID_ANY,
                                          _("&Manage"),
                                          style=wx.BU_EXACTFIT)
        self._LCTRL_addresses = cReportListCtrl(
            self,
            wx.ID_ANY,
            style=wx.BORDER_NONE | wx.LC_REPORT | wx.LC_SINGLE_SEL)
        self._BTN_OK = wx.Button(self, wx.ID_OK, _("&OK"))
        self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "")

        self.__set_properties()
        self.__do_layout()

        self.Bind(wx.EVT_BUTTON, self._on_manage_addresses_button_pressed,
                  self._BTN_manage_addresses)
        self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_candidate_selected,
                  self._LCTRL_candidates)
        self.Bind(wx.EVT_BUTTON, self._on_manage_orgs_button_pressed,
                  self._BTN_manage_orgs)
        self.Bind(wx.EVT_BUTTON, self._on_ok_button_pressed, id=wx.ID_OK)
示例#6
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgNewPatientEAPnl.__init__
        kwds["style"] = kwds.get("style",
                                 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
        wx.Panel.__init__(self, *args, **kwds)
        from Gnumed.wxpython.gmDemographicsWidgets import cLastnamePhraseWheel
        self._PRW_lastname = cLastnamePhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmDemographicsWidgets import cFirstnamePhraseWheel
        self._PRW_firstnames = cFirstnamePhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel
        self._PRW_dob = cDateInputPhraseWheel(self, wx.ID_ANY, "")
        self._CHBOX_estimated_dob = wx.CheckBox(self, wx.ID_ANY,
                                                _("Estimated"))
        self._TCTRL_tob = wx.TextCtrl(self, wx.ID_ANY, "")
        self._LBL_person_exists = wx.StaticText(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmDemographicsWidgets import cGenderSelectionPhraseWheel
        self._PRW_gender = cGenderSelectionPhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmDemographicsWidgets import cNicknamePhraseWheel
        self._PRW_nickname = cNicknamePhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmDemographicsWidgets import cTitlePhraseWheel
        self._PRW_title = cTitlePhraseWheel(self, wx.ID_ANY, "")
        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, "")
        from Gnumed.wxpython.gmTextCtrl import cTextCtrl
        self._TCTRL_number = cTextCtrl(self, wx.ID_ANY, "")
        self._TCTRL_unit = 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 cStateSelectionPhraseWheel
        self._PRW_region = cStateSelectionPhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmAddressWidgets import cCountryPhraseWheel
        self._PRW_country = cCountryPhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmAddressWidgets import cAddressTypePhraseWheel
        self._PRW_type = cAddressTypePhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmContactWidgets import cCommChannelTypePhraseWheel
        self._PRW_channel_type = cCommChannelTypePhraseWheel(
            self, wx.ID_ANY, "")
        self._TCTRL_phone = wx.TextCtrl(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmStaffWidgets import cProviderPhraseWheel
        self._PRW_primary_provider = cProviderPhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmDemographicsWidgets import cExternalIDTypePhraseWheel
        self._PRW_external_id_type = cExternalIDTypePhraseWheel(
            self, wx.ID_ANY, "")
        self._TCTRL_external_id_value = cTextCtrl(self, wx.ID_ANY, "")
        self._LBL_id_exists = wx.StaticText(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmDemographicsWidgets import cOccupationPhraseWheel
        self._PRW_occupation = cOccupationPhraseWheel(self, wx.ID_ANY, "")
        self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "")

        self.__set_properties()
        self.__do_layout()
示例#7
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgAddressSelectionDlg.__init__
		kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE
		wx.Dialog.__init__(self, *args, **kwds)
		self._LBL_msg = wx.StaticText(self, wx.ID_ANY, _("Select the address you want to use:"))
		self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "")
		self._BTN_manage_addresses = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT)
		self._BTN_OK = wx.Button(self, wx.ID_OK, "")
		self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "")

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_manage_addresses_button_pressed, self._BTN_manage_addresses)
示例#8
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgOrgUnitAddressPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		self._LBL_message = wx.StaticText(self, wx.ID_ANY, "", style=wx.ALIGN_CENTER)
		from Gnumed.wxpython.gmAddressWidgets import cAddressPhraseWheel
		self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "")
		self._BTN_save_picked_address = wx.Button(self, wx.ID_ANY, _("&Link"), style=wx.BU_EXACTFIT)
		self._BTN_add_new_address = wx.Button(self, wx.ID_ANY, _("Link &new"), style=wx.BU_EXACTFIT)
		self._BTN_manage_addresses = wx.Button(self, wx.ID_ANY, _("Browse"), style=wx.BU_EXACTFIT)

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_save_picked_address_button_pressed, self._BTN_save_picked_address)
		self.Bind(wx.EVT_BUTTON, self._on_add_new_address_button_pressed, self._BTN_add_new_address)
		self.Bind(wx.EVT_BUTTON, self._on_manage_addresses_button_pressed, self._BTN_manage_addresses)
示例#9
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgAddressSelectionDlg.__init__
        kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE
        wx.Dialog.__init__(self, *args, **kwds)
        self._LBL_msg = wx.StaticText(self, wx.ID_ANY,
                                      _("Select the address you want to use:"))
        self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "")
        self._BTN_manage_addresses = wx.Button(self,
                                               wx.ID_ANY,
                                               _("&Manage"),
                                               style=wx.BU_EXACTFIT)
        self._BTN_OK = wx.Button(self, wx.ID_OK, "")
        self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "")

        self.__set_properties()
        self.__do_layout()

        self.Bind(wx.EVT_BUTTON, self._on_manage_addresses_button_pressed,
                  self._BTN_manage_addresses)
示例#10
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgReceiverSelectionDlg.__init__
		kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER
		wx.Dialog.__init__(self, *args, **kwds)
		self.SetSize(wx.DLG_UNIT(self, wx.Size(360, 255)))
		self._LBL_message_top = wx.StaticText(self, wx.ID_ANY, _("Select the paperwork receiver:"))
		from Gnumed.wxpython.gmTextCtrl import cTextCtrl
		self._TCTRL_final_name = cTextCtrl(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmAddressWidgets import cAddressPhraseWheel
		self._PRW_other_address = cAddressPhraseWheel(self, wx.ID_ANY, "")
		self._BTN_manage_addresses = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT)
		self._LBL_address_details = wx.StaticText(self, wx.ID_ANY, "")
		self._TCTRL_org_unit_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY)
		self._LBL_final_name = wx.StaticText(self, wx.ID_ANY, "")
		self._LBL_final_country = wx.StaticText(self, wx.ID_ANY, "")
		self._LBL_final_region = wx.StaticText(self, wx.ID_ANY, "")
		self._LBL_final_zip = wx.StaticText(self, wx.ID_ANY, "")
		self._LBL_final_location = wx.StaticText(self, wx.ID_ANY, "")
		self._LBL_final_street = wx.StaticText(self, wx.ID_ANY, "")
		self._LBL_final_number = wx.StaticText(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmListWidgets import cReportListCtrl
		self._LCTRL_candidates = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT | wx.LC_SINGLE_SEL)
		from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitPhraseWheel
		self._PRW_org_unit = cOrgUnitPhraseWheel(self, wx.ID_ANY, "")
		self._BTN_manage_orgs = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT)
		self._LCTRL_addresses = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT | wx.LC_SINGLE_SEL)
		self._BTN_OK = wx.Button(self, wx.ID_OK, _("&OK"))
		self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "")

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_manage_addresses_button_pressed, self._BTN_manage_addresses)
		self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_candidate_selected, self._LCTRL_candidates)
		self.Bind(wx.EVT_BUTTON, self._on_manage_orgs_button_pressed, self._BTN_manage_orgs)
		self.Bind(wx.EVT_BUTTON, self._on_ok_button_pressed, id=wx.ID_OK)
示例#11
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgReceiverSelectionDlg.__init__
		kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.THICK_FRAME
		wx.Dialog.__init__(self, *args, **kwds)
		self._LBL_message_top = wx.StaticText(self, wx.ID_ANY, _("Select the paperwork receiver:"))
		self._TCTRL_final_name = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_other_address = cAddressPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._LBL_address_details = wx.StaticText(self, wx.ID_ANY, "")
		self.__szr_info_staticbox = wx.StaticBox(self, wx.ID_ANY, "")
		self._BTN_manage_addresses = wx.Button(self, wx.ID_ANY, _("&Addresses"), style=wx.BU_EXACTFIT)
		self._BTN_manage_orgs = wx.Button(self, wx.ID_ANY, _("Or&Ganizations"), style=wx.BU_EXACTFIT)
		self._LCTRL_candidates = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.NO_BORDER)
		self._PRW_org_unit = cOrgUnitPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._LCTRL_addresses = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.NO_BORDER)
		self._BTN_OK = wx.Button(self, wx.ID_OK, _("&OK"))
		self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "")

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_manage_addresses_button_pressed, self._BTN_manage_addresses)
		self.Bind(wx.EVT_BUTTON, self._on_manage_orgs_button_pressed, self._BTN_manage_orgs)
		self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_candidate_selected, self._LCTRL_candidates)
		self.Bind(wx.EVT_BUTTON, self._on_ok_button_pressed, id=wx.ID_OK)
示例#12
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()
    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()
示例#14
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()