def __init__(self, *args, **kwds): from Gnumed.wxpython import gmPatSearchWidgets # begin wxGlade: wxgMergePatientsDlg.__init__ kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) self._TCTRL_patient1 = gmPatSearchWidgets.cPersonSearchCtrl( self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._TCTRL_patient1_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE | wx.TE_READONLY) self._RBTN_patient1 = wx.RadioButton(self, wx.ID_ANY, _("Keep *this* patient")) self._TCTRL_patient2 = gmPatSearchWidgets.cPersonSearchCtrl( self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._TCTRL_patient2_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE | wx.TE_READONLY) self._RBTN_patient2 = wx.RadioButton(self, wx.ID_ANY, _("Keep *this* patient")) self._BTN_merge = wx.Button(self, wx.ID_ANY, _("Merge")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_merge_button_pressed, self._BTN_merge)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmProviderInboxWidgets from Gnumed.wxpython import gmStaffWidgets from Gnumed.wxpython import gmPatSearchWidgets from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel # begin wxGlade: wxgInboxMessageEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_subject = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_type = gmProviderInboxWidgets.cMessageTypePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._CHBOX_send_to_me = wx.CheckBox(self, -1, _(u"&Myself … or:")) self._PRW_receiver = gmStaffWidgets.cProviderPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._CHBOX_active_patient = wx.CheckBox(self, -1, _(u"&Active … or:")) self._PRW_patient = gmPatSearchWidgets.cPersonSearchCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_message = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE | wx.NO_BORDER) self._PRW_due = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_expiry = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._RBTN_normal = wx.RadioButton(self, -1, _("Normal")) self._RBTN_high = wx.RadioButton(self, -1, _("High")) self._RBTN_low = wx.RadioButton(self, -1, _("Low")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_send_to_me_checked, self._CHBOX_send_to_me) self.Bind(wx.EVT_CHECKBOX, self._on_active_patient_checked, self._CHBOX_active_patient)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmPatSearchWidgets, gmWaitingListWidgets # begin wxGlade: wxgWaitingListEntryEditAreaPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._PRW_patient = gmPatSearchWidgets.cPersonSearchCtrl( self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP | wx.NO_BORDER) self._PRW_zone = gmWaitingListWidgets.cWaitingZonePhraseWheel( self, -1, "", style=wx.NO_BORDER) self._SPCTRL_urgency = wx.SpinCtrl(self, -1, "0", min=0, max=10, style=wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgMergePatientsDlg.__init__ kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) from Gnumed.wxpython.gmPatSearchWidgets import cPersonSearchCtrl self._TCTRL_patient1 = cPersonSearchCtrl(self, wx.ID_ANY, "") self._TCTRL_patient1_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._RBTN_patient1 = wx.RadioButton(self, wx.ID_ANY, _("Keep *this* patient")) self._TCTRL_patient2 = cPersonSearchCtrl(self, wx.ID_ANY, "") self._TCTRL_patient2_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._RBTN_patient2 = wx.RadioButton(self, wx.ID_ANY, _("Keep *this* patient")) self._BTN_merge = wx.Button(self, wx.ID_ANY, _("Merge")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_merge_button_pressed, self._BTN_merge)
def __init__(self, *args, **kwds): # begin wxGlade: wxgWaitingListEntryEditAreaPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._PRW_patient = cPersonSearchCtrl(self, wx.ID_ANY, "") self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP) self._PRW_zone = cWaitingZonePhraseWheel(self, wx.ID_ANY, "") self._SPCTRL_urgency = wx.SpinCtrl(self, wx.ID_ANY, "0", min=0, max=10, style=0) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmPatSearchWidgets, gmWaitingListWidgets # begin wxGlade: wxgWaitingListEntryEditAreaPnl.__init__ kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._PRW_patient = gmPatSearchWidgets.cPersonSearchCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE|wx.TE_WORDWRAP|wx.NO_BORDER) self._PRW_zone = gmWaitingListWidgets.cWaitingZonePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._SPCTRL_urgency = wx.SpinCtrl(self, -1, "0", min=0, max=10, style=wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgPersonSocialNetworkManagerPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._TCTRL_person = cPersonSearchCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._BTN_activate_contact = wx.Button(self, wx.ID_ANY, _("Activate"), style=wx.BU_EXACTFIT) self._BTN_remove_contact = wx.Button(self, wx.ID_REMOVE, "", style=wx.BU_EXACTFIT) self._TCTRL_er_contact = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP | wx.NO_BORDER) self._PRW_provider = cProviderPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._BTN_save = wx.Button(self, wx.ID_SAVE, "") self._BTN_reload = wx.Button(self, wx.ID_REVERT_TO_SAVED, "") self._PNL_external_care = cExternalCareMgrPnl(self, wx.ID_ANY, style=wx.NO_BORDER | wx.TAB_TRAVERSAL) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_button_activate_contact_pressed, self._BTN_activate_contact) self.Bind(wx.EVT_BUTTON, self._on_remove_contact_button_pressed, self._BTN_remove_contact) self.Bind(wx.EVT_BUTTON, self._on_save_button_pressed, self._BTN_save) self.Bind(wx.EVT_BUTTON, self._on_reload_button_pressed, self._BTN_reload)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmProviderInboxWidgets from Gnumed.wxpython import gmStaffWidgets from Gnumed.wxpython import gmPatSearchWidgets from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel # begin wxGlade: wxgInboxMessageEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_subject = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_type = gmProviderInboxWidgets.cMessageTypePhraseWheel( self, -1, "", style=wx.NO_BORDER) self._CHBOX_send_to_me = wx.CheckBox(self, -1, _(u"&Myself … or:")) self._PRW_receiver = gmStaffWidgets.cProviderPhraseWheel( self, -1, "", style=wx.NO_BORDER) self._CHBOX_active_patient = wx.CheckBox(self, -1, _(u"&Active … or:")) self._PRW_patient = gmPatSearchWidgets.cPersonSearchCtrl( self, -1, "", style=wx.NO_BORDER) self._TCTRL_message = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE | wx.NO_BORDER) self._PRW_due = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_expiry = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._RBTN_normal = wx.RadioButton(self, -1, _("Normal")) self._RBTN_high = wx.RadioButton(self, -1, _("High")) self._RBTN_low = wx.RadioButton(self, -1, _("Low")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_send_to_me_checked, self._CHBOX_send_to_me) self.Bind(wx.EVT_CHECKBOX, self._on_active_patient_checked, self._CHBOX_active_patient)