def __init__(self, *args, **kwds): # begin wxGlade: wxgItemPickerDlg.__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((735, 350)) self._LBL_msg = wx.StaticText(self, wx.ID_ANY, _("label_1")) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_left = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._BTN_left2right = wx.Button(self, wx.ID_ANY, _(u"\u2192"), style=wx.BU_EXACTFIT) self._BTN_right2left = wx.Button(self, wx.ID_ANY, _(u"\u2190"), style=wx.BU_EXACTFIT) self._LCTRL_right = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._BTN_ok = wx.Button(self, wx.ID_OK, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self._BTN_extra = wx.Button(self, wx.ID_ANY, _("Extra"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_left_list_item_deselected, self._LCTRL_left) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_left_list_item_selected, self._LCTRL_left) self.Bind(wx.EVT_BUTTON, self._on_button_left2right_pressed, self._BTN_left2right) self.Bind(wx.EVT_BUTTON, self._on_button_right2left_pressed, self._BTN_right2left) self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_right_list_item_deselected, self._LCTRL_right) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_right_list_item_selected, self._LCTRL_right) self.Bind(wx.EVT_BUTTON, self._on_extra_button_pressed, self._BTN_extra)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmListWidgets # begin wxGlade: wxgItemPickerDlg.__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_msg = wx.StaticText(self, -1, _("label_1")) self._LCTRL_left = gmListWidgets.cReportListCtrl(self, -1, style=wx.LC_REPORT | wx.LC_HRULES | wx.LC_VRULES | wx.NO_BORDER) self._BTN_left2right = wx.Button(self, -1, _(u"→"), style=wx.BU_EXACTFIT) self._BTN_right2left = wx.Button(self, -1, _(u"←"), style=wx.BU_EXACTFIT) self._LCTRL_right = gmListWidgets.cReportListCtrl(self, -1, style=wx.LC_REPORT | wx.LC_HRULES | wx.LC_VRULES | wx.NO_BORDER) self._BTN_ok = wx.Button(self, wx.ID_OK, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self._BTN_extra = wx.Button(self, -1, _("Extra"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_left_list_item_deselected, self._LCTRL_left) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_left_list_item_selected, self._LCTRL_left) self.Bind(wx.EVT_BUTTON, self._on_button_left2right_pressed, self._BTN_left2right) self.Bind(wx.EVT_BUTTON, self._on_button_right2left_pressed, self._BTN_right2left) self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_right_list_item_deselected, self._LCTRL_right) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_right_list_item_selected, self._LCTRL_right) self.Bind(wx.EVT_BUTTON, self._on_extra_button_pressed, self._BTN_extra)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByDayPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LCTRL_days = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._TCTRL_measurements = wx.TextCtrl( self, wx.ID_ANY, "", style=wx.TE_AUTO_URL | wx.TE_MULTILINE | wx.TE_READONLY) self._LBL_no_of_docs = wx.StaticText(self, wx.ID_ANY, "") self._BTN_show_docs = wx.Button(self, wx.ID_ANY, "Show X documents") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected, self._LCTRL_days) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_result_selected, self._LCTRL_results) self.Bind(wx.EVT_BUTTON, self._on_show_docs_button_pressed, self._BTN_show_docs)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByDayPnl.__init__ kwds["style"] = wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LCTRL_days = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._TCTRL_measurements = wx.TextCtrl( self, wx.ID_ANY, "", style=wx.BORDER_NONE | wx.TE_AUTO_URL | wx.TE_MULTILINE | wx.TE_READONLY) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected, self._LCTRL_days) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_result_selected, self._LCTRL_results)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByDayPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) __szr_main = wx.BoxSizer(wx.HORIZONTAL) self._LCTRL_days = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_days.SetMinSize((100, 100)) __szr_main.Add(self._LCTRL_days, 1, wx.EXPAND | wx.RIGHT, 5) self._LCTRL_days_copy = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_days_copy.SetMinSize((100, 100)) __szr_main.Add(self._LCTRL_days_copy, 1, wx.EXPAND | wx.RIGHT, 5) self.SetSizer(__szr_main) __szr_main.Fit(self) self.Layout() self._LCTRL_days.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected) self._LCTRL_days_copy.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected)
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)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByIssuePnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LCTRL_issues = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._TCTRL_measurements = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_AUTO_URL | wx.TE_MULTILINE | wx.TE_READONLY) self._PNL_related_documents = cLabRelatedDocumentsPnl(self, wx.ID_ANY, style=wx.BORDER_NONE) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgPACSPluginPnl.__init__ kwds["style"] = wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._TCTRL_host = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._TCTRL_port = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._TCTRL_user = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._TCTRL_password = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE | wx.TE_PASSWORD) self._BTN_connect = wx.Button(self, wx.ID_ANY, _("&Connect"), style=wx.BU_EXACTFIT) self._LBL_PACS_identification = wx.StaticText(self, wx.ID_ANY, _("<not connected>")) self._LBL_patient_identification = wx.StaticText(self, wx.ID_ANY, "") self._LCTRL_studies = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_series = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._TCTRL_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE | wx.TE_BESTWRAP | wx.TE_MULTILINE | wx.TE_READONLY) self._BMP_preview = wx.lib.statbmp.GenStaticBitmap(self, wx.ID_ANY, wx.EmptyBitmap(50, 50), style=wx.BORDER_SIMPLE) self._BTN_previous_image = wx.Button(self, wx.ID_ANY, _(u"\u25c4"), style=wx.BU_EXACTFIT) self._BTN_next_image = wx.Button(self, wx.ID_ANY, _(u"\u25ba"), style=wx.BU_EXACTFIT) self._BTN_image_export = wx.Button(self, wx.ID_ANY, _("E&xport"), style=wx.BU_EXACTFIT) self._BTN_browse_study = wx.Button(self, wx.ID_ANY, _("Browse"), style=wx.BU_EXACTFIT) self._BTN_browse_patient = wx.Button(self, wx.ID_ANY, _("Browse"), style=wx.BU_EXACTFIT) self._BTN_browse_pacs = wx.Button(self, wx.ID_ANY, _("Browse"), style=wx.BU_EXACTFIT) self._BTN_image_show_dicom = wx.Button(self, wx.ID_ANY, _("&Show (D)"), style=wx.BU_EXACTFIT) self._BTN_save_image_as_dicom = wx.Button(self, wx.ID_ANY, _("Save (&D)"), style=wx.BU_EXACTFIT) self._BTN_save_studies_as_dicom_dir = wx.Button(self, wx.ID_ANY, _("Save (D)"), style=wx.BU_EXACTFIT) self._BTN_save_patient_as_dicom_dir = wx.Button(self, wx.ID_ANY, _("Save (D)"), style=wx.BU_EXACTFIT) self._BTN_upload = wx.Button(self, wx.ID_ANY, _("&Upload"), style=wx.BU_EXACTFIT) self._BTN_image_show = wx.Button(self, wx.ID_ANY, _("Show (&P)"), style=wx.BU_EXACTFIT) self._BTN_save_image_preview = wx.Button(self, wx.ID_ANY, _("Save"), style=wx.BU_EXACTFIT) self._BTN_save_studies_as_zip = wx.Button(self, wx.ID_ANY, _("Save (Z)"), style=wx.BU_EXACTFIT) self._BTN_save_patient_as_zip = wx.Button(self, wx.ID_ANY, _("Save (Z)"), style=wx.BU_EXACTFIT) self._BTN_modify_orthanc_content = wx.Button(self, wx.ID_ANY, _("Edit"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_connect_button_pressed, self._BTN_connect) self.Bind(wx.EVT_BUTTON, self._on_previous_image_button_pressed, self._BTN_previous_image) self.Bind(wx.EVT_BUTTON, self._on_next_image_button_pressed, self._BTN_next_image) self.Bind(wx.EVT_BUTTON, self._on_button_image_export_pressed, self._BTN_image_export) self.Bind(wx.EVT_BUTTON, self._on_browse_study_button_pressed, self._BTN_browse_study) self.Bind(wx.EVT_BUTTON, self._on_browse_patient_button_pressed, self._BTN_browse_patient) self.Bind(wx.EVT_BUTTON, self._on_browse_pacs_button_pressed, self._BTN_browse_pacs) self.Bind(wx.EVT_BUTTON, self._on_button_image_show_dicom_pressed, self._BTN_image_show_dicom) self.Bind(wx.EVT_BUTTON, self._on_save_image_as_dicom_button_pressed, self._BTN_save_image_as_dicom) self.Bind(wx.EVT_BUTTON, self._on_save_studies_as_dicom_dir_button_pressed, self._BTN_save_studies_as_dicom_dir) self.Bind(wx.EVT_BUTTON, self._on_save_patient_as_dicom_dir_button_pressed, self._BTN_save_patient_as_dicom_dir) self.Bind(wx.EVT_BUTTON, self._on_upload_button_pressed, self._BTN_upload) self.Bind(wx.EVT_BUTTON, self._on_button_image_show_pressed, self._BTN_image_show) self.Bind(wx.EVT_BUTTON, self._on_save_image_preview_button_pressed, self._BTN_save_image_preview) self.Bind(wx.EVT_BUTTON, self._on_save_studies_as_zip_button_pressed, self._BTN_save_studies_as_zip) self.Bind(wx.EVT_BUTTON, self._on_save_patient_as_zip_button_pressed, self._BTN_save_patient_as_zip) self.Bind(wx.EVT_BUTTON, self._on_modify_orthanc_content_button_pressed, self._BTN_modify_orthanc_content)
def __init__(self, *args, **kwds): # begin wxGlade: wxgItemPickerDlg.__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((735, 350)) self._LBL_msg = wx.StaticText(self, wx.ID_ANY, _("label_1")) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_left = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._BTN_left2right = wx.Button(self, wx.ID_ANY, _(u"\u2192"), style=wx.BU_EXACTFIT) self._BTN_right2left = wx.Button(self, wx.ID_ANY, _(u"\u2190"), style=wx.BU_EXACTFIT) self._LCTRL_right = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._BTN_ok = wx.Button(self, wx.ID_OK, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self._BTN_extra = wx.Button(self, wx.ID_ANY, _("Extra"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_left_list_item_deselected, self._LCTRL_left) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_left_list_item_selected, self._LCTRL_left) self.Bind(wx.EVT_BUTTON, self._on_button_left2right_pressed, self._BTN_left2right) self.Bind(wx.EVT_BUTTON, self._on_button_right2left_pressed, self._BTN_right2left) self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_right_list_item_deselected, self._LCTRL_right) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_right_list_item_selected, self._LCTRL_right) self.Bind(wx.EVT_BUTTON, self._on_extra_button_pressed, self._BTN_extra)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsDetailsPnl.__init__ kwds["style"] = wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LCTRL_days = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.NO_BORDER) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.NO_BORDER) self._TCTRL_measurements = wx.TextCtrl( self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_AUTO_URL | wx.NO_BORDER ) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected, self._LCTRL_days) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_result_selected, self._LCTRL_results)
def __init__(self, *args, **kwds): # begin wxGlade: wxgPACSPluginPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self.__lbl_host = wx.StaticText(self, wx.ID_ANY, _("Host:")) self._TCTRL_host = cTextCtrl(self, wx.ID_ANY, "") self.__lbl_port = wx.StaticText(self, wx.ID_ANY, _("Port:")) self._TCTRL_port = cTextCtrl(self, wx.ID_ANY, "") self.__lbl_user = wx.StaticText(self, wx.ID_ANY, _("User:"******"") self.__lbl_password = wx.StaticText(self, wx.ID_ANY, _("Password")) self._TCTRL_password = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_PASSWORD) self._BTN_connect = wx.Button(self, wx.ID_ANY, _("&Connect"), style=wx.BU_EXACTFIT) self._LBL_PACS_identification = wx.StaticText(self, wx.ID_ANY, _("<not connected>")) self._LBL_patient_identification = wx.StaticText(self, wx.ID_ANY, "") self._LCTRL_studies = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_series = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_details = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BMP_preview = wx.lib.statbmp.GenStaticBitmap(self, wx.ID_ANY, wx.Bitmap(50, 50), style=wx.BORDER_SIMPLE) self._BTN_previous_image = wx.Button(self, wx.ID_ANY, _(u"\u25c4"), style=wx.BU_EXACTFIT) self._BTN_next_image = wx.Button(self, wx.ID_ANY, _(u"\u25ba"), style=wx.BU_EXACTFIT) self._BTN_image_show = wx.Button(self, wx.ID_ANY, _("&Show")) self._BTN_image_export = wx.Button(self, wx.ID_ANY, _("E&xport area")) self._BTN_browse_study = wx.Button(self, wx.ID_ANY, _("Browse"), style=wx.BORDER_NONE | wx.BU_EXACTFIT) self._BTN_studies_show = wx.Button(self, wx.ID_ANY, _("Show")) self._BTN_studies_export = wx.Button(self, wx.ID_ANY, _("Export area")) self._BTN_browse_patient = wx.Button(self, wx.ID_ANY, _("Browse"), style=wx.BORDER_NONE | wx.BU_EXACTFIT) self._BTN_verify_patient_data = wx.Button(self, wx.ID_ANY, _("Verify")) self._BTN_browse_pacs = wx.Button(self, wx.ID_ANY, _("Browse"), style=wx.BORDER_NONE | wx.BU_EXACTFIT) self._BTN_upload = wx.Button(self, wx.ID_ANY, _("&Upload")) self._BTN_modify_orthanc_content = wx.Button(self, wx.ID_ANY, _("Edit")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_connect_button_pressed, self._BTN_connect) self.Bind(wx.EVT_BUTTON, self._on_previous_image_button_pressed, self._BTN_previous_image) self.Bind(wx.EVT_BUTTON, self._on_next_image_button_pressed, self._BTN_next_image) self.Bind(wx.EVT_BUTTON, self._on_image_show_button_pressed, self._BTN_image_show) self.Bind(wx.EVT_BUTTON, self._on_image_export_button_pressed, self._BTN_image_export) self.Bind(wx.EVT_BUTTON, self._on_browse_study_button_pressed, self._BTN_browse_study) self.Bind(wx.EVT_BUTTON, self._on_studies_show_button_pressed, self._BTN_studies_show) self.Bind(wx.EVT_BUTTON, self._on_studies_export_button_pressed, self._BTN_studies_export) self.Bind(wx.EVT_BUTTON, self._on_browse_patient_button_pressed, self._BTN_browse_patient) self.Bind(wx.EVT_BUTTON, self._on_verify_patient_data_button_pressed, self._BTN_verify_patient_data) self.Bind(wx.EVT_BUTTON, self._on_browse_pacs_button_pressed, self._BTN_browse_pacs) self.Bind(wx.EVT_BUTTON, self._on_upload_button_pressed, self._BTN_upload) self.Bind(wx.EVT_BUTTON, self._on_modify_orthanc_content_button_pressed, self._BTN_modify_orthanc_content)
def __init__(self, *args, **kwds): # begin wxGlade: wxgEditDocumentTypesPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_doc_type = cReportListCtrl( self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_REPORT | wx.LC_SINGLE_SEL) self._TCTRL_type = wx.TextCtrl(self, wx.ID_ANY, "") self._TCTRL_l10n_type = wx.TextCtrl(self, wx.ID_ANY, "") self._BTN_set_translation = wx.Button(self, wx.ID_ANY, _("Set &translation")) self._BTN_add = wx.Button(self, wx.ID_ADD, "") self._BTN_delete = wx.Button(self, wx.ID_DELETE, "") self._BTN_reassign = wx.Button(self, wx.ID_ANY, _("&Reassign")) self._BTN_dismiss = wx.Button(self, wx.ID_CANCEL, _("&Close")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_doc_type) self.Bind(wx.EVT_TEXT, self._on_type_modified, self._TCTRL_type) self.Bind(wx.EVT_BUTTON, self._on_set_translation_button_pressed, self._BTN_set_translation) self.Bind(wx.EVT_BUTTON, self._on_add_button_pressed, self._BTN_add) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete) self.Bind(wx.EVT_BUTTON, self._on_reassign_button_pressed, self._BTN_reassign)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmWaitingListWidgets, gmPatSearchWidgets, gmListWidgets # begin wxGlade: wxgWaitingListPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._CHBOX_active_patient_only = wx.CheckBox(self, -1, _("Active &patient")) self._PRW_zone = gmWaitingListWidgets.cWaitingZonePhraseWheel(self, -1, "", style=wx.TE_PROCESS_ENTER | wx.NO_BORDER) self._LBL_no_of_patients = wx.StaticText(self, -1, "") self._LCTRL_patients = gmListWidgets.cReportListCtrl(self, -1, style=wx.LC_REPORT | wx.SIMPLE_BORDER) self._BTN_activate = wx.Button(self, -1, _("&Activate"), style=wx.BU_EXACTFIT) self._BTN_activateplus = wx.Button(self, -1, _(u"Activate²"), style=wx.BU_EXACTFIT) self._BTN_add_patient = wx.Button(self, wx.ID_ADD, "", style=wx.BU_EXACTFIT) self._BTN_remove = wx.Button(self, wx.ID_REMOVE, "", style=wx.BU_EXACTFIT) self._BTN_edit = wx.Button(self, -1, _("&Edit"), style=wx.BU_EXACTFIT) self._BTN_up = wx.Button(self, wx.ID_UP, "", style=wx.BU_EXACTFIT) self._BTN_down = wx.Button(self, wx.ID_DOWN, "", style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_active_patient_only_checked, self._CHBOX_active_patient_only) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_patients) self.Bind(wx.EVT_BUTTON, self._on_activate_button_pressed, self._BTN_activate) self.Bind(wx.EVT_BUTTON, self._on_activateplus_button_pressed, self._BTN_activateplus) self.Bind(wx.EVT_BUTTON, self._on_add_patient_button_pressed, self._BTN_add_patient) self.Bind(wx.EVT_BUTTON, self._on_remove_button_pressed, self._BTN_remove) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_up_button_pressed, self._BTN_up) self.Bind(wx.EVT_BUTTON, self._on_down_button_pressed, self._BTN_down)
def __init__(self, *args, **kwds): # begin wxGlade: wxgGenericListSelectorDlg.__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((640, 500)) self._LBL_message = wx.StaticText(self, wx.ID_ANY, "") from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_items = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_ok = wx.Button(self, wx.ID_OK, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self._BTN_new = wx.Button(self, wx.ID_ADD, "", style=wx.BU_EXACTFIT) self._BTN_edit = wx.Button(self, wx.ID_ANY, _("&Edit"), style=wx.BU_EXACTFIT) self._BTN_delete = wx.Button(self, wx.ID_DELETE, "", style=wx.BU_EXACTFIT) self._BTN_extra_left = wx.Button(self, wx.ID_ANY, _("1"), style=wx.BU_EXACTFIT) self._BTN_extra_middle = wx.Button(self, wx.ID_ANY, _("2"), style=wx.BU_EXACTFIT) self._BTN_extra_right = wx.Button(self, wx.ID_ANY, _("3"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_list_item_deselected, self._LCTRL_items) self.Bind(wx.EVT_BUTTON, self._on_new_button_pressed, self._BTN_new) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete) self.Bind(wx.EVT_BUTTON, self._on_left_extra_button_pressed, self._BTN_extra_left) self.Bind(wx.EVT_BUTTON, self._on_middle_extra_button_pressed, self._BTN_extra_middle) self.Bind(wx.EVT_BUTTON, self._on_right_extra_button_pressed, self._BTN_extra_right)
def __init__(self, *args, **kwds): # begin wxGlade: wxgFormDisposalDlg.__init__ kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) self.SetSize((609, 500)) self._LBL_msg = wx.StaticText(self, wx.ID_ANY, _("What would you like to do with the following document(s) ?")) self._LCTRL_forms = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_show_forms = wx.Button(self, wx.ID_OPEN, "", style=wx.BU_EXACTFIT) self._BTN_delete_forms = wx.Button(self, wx.ID_DELETE, "", style=wx.BU_EXACTFIT) self._CHBOX_export = wx.CheckBox(self, wx.ID_ANY, _("to patient export area")) self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_soap = cTextCtrl(self, wx.ID_ANY, "") self._BTN_print = wx.Button(self, wx.ID_PRINT, "") self._BTN_remote_print = wx.Button(self, wx.ID_ANY, _("Print &queue")) self._BTN_export = wx.Button(self, wx.ID_ANY, _("&Export only")) self._BTN_archive = wx.Button(self, wx.ID_ANY, _("&Archive only")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_show_forms_button_pressed, self._BTN_show_forms) self.Bind(wx.EVT_BUTTON, self._on_delete_forms_button_pressed, self._BTN_delete_forms) self.Bind(wx.EVT_BUTTON, self._on_print_button_pressed, self._BTN_print) self.Bind(wx.EVT_BUTTON, self._on_remote_print_button_pressed, self._BTN_remote_print) self.Bind(wx.EVT_BUTTON, self._on_export_button_pressed, self._BTN_export) self.Bind(wx.EVT_BUTTON, self._on_archive_button_pressed, self._BTN_archive)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsAsMostRecentListPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._HLCTRL = wx.adv.HyperlinkCtrl(self, wx.ID_ANY, _("Panel:"), _("http://www.laborlexikon.de")) from Gnumed.wxpython.gmMeasurementWidgets import cTestPanelPRW self._PRW_panel = cTestPanelPRW(self, wx.ID_ANY, "") self._TCTRL_panel_comment = wx.TextCtrl(self, wx.ID_ANY, "") self._CHBOX_show_missing = wx.CheckBox(self, wx.ID_ANY, _("&Show missing")) self._BTN_manage_panels = wx.Button(self, wx.ID_ANY, _("Manage"), style=wx.BU_EXACTFIT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._TCTRL_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_BESTWRAP | wx.TE_MULTILINE | wx.TE_READONLY) self._PNL_related_documents = cLabRelatedDocumentsPnl( self, wx.ID_ANY, style=wx.BORDER_NONE) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_show_missing_toggled, self._CHBOX_show_missing) self.Bind(wx.EVT_BUTTON, self._on_manage_panels_button_pressed, self._BTN_manage_panels)
def __init__(self, *args, **kwds): # begin wxGlade: wxgExportAreaExportToMediaDlg.__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((700, 500)) self._LBL_header = wx.StaticText(self, wx.ID_ANY, _("\nDescribe the intended action.\n")) self._BTN_reload_media_list = wx.Button(self, wx.ID_REFRESH, "", style=wx.BU_EXACTFIT) self._LCTRL_removable_media = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._LBL_directory = wx.StaticText(self, wx.ID_ANY, _("<shows default path computed at runtime>"), style=wx.ST_ELLIPSIZE_START) self._LBL_dir_is_empty = wx.StaticText(self, wx.ID_ANY, _("this path is/is not empty")) self._BTN_open_directory = wx.Button(self, wx.ID_ANY, _("Open"), style=wx.BU_EXACTFIT) self._BTN_clear_directory = wx.Button(self, wx.ID_ANY, _("Clear"), style=wx.BU_EXACTFIT) self._CHBOX_encrypt = wx.CheckBox(self, wx.ID_ANY, _("en&crypt"), style=wx.CHK_2STATE) self._CHBOX_use_subdirectory = wx.CheckBox(self, wx.ID_ANY, _("use subdirectory"), style=wx.CHK_2STATE) self._BTN_save2media = wx.Button(self, wx.ID_SAVE, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_reload_media_list_button_pressed, self._BTN_reload_media_list) self.Bind(wx.EVT_BUTTON, self._on_open_directory_button_pressed, self._BTN_open_directory) self.Bind(wx.EVT_BUTTON, self._on_clear_directory_button_pressed, self._BTN_clear_directory) self.Bind(wx.EVT_CHECKBOX, self._on_save_as_encrypted_toggled, self._CHBOX_encrypt) self.Bind(wx.EVT_CHECKBOX, self._on_use_subdirectory_toggled, self._CHBOX_use_subdirectory) self.Bind(wx.EVT_BUTTON, self._on_save2media_button_pressed, self._BTN_save2media)
def __init__(self, *args, **kwds): # begin wxGlade: wxgTestPanelEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_description = wx.TextCtrl(self, wx.ID_ANY, "") self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "") self._PRW_loinc = cLOINCPhraseWheel(self, wx.ID_ANY, "") self._BTN_add_loinc = wx.Button(self, wx.ID_ANY, _("&Add"), style=wx.BU_EXACTFIT) self._LBL_loinc = wx.StaticText(self, wx.ID_ANY, "") self._LCTRL_loincs = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_remove_loinc = wx.Button(self, wx.ID_ANY, _("&Remove"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_add_loinc_button_pressed, self._BTN_add_loinc) self.Bind(wx.EVT_BUTTON, self._on_remove_loinc_button_pressed, self._BTN_remove_loinc)
def __init__(self, *args, **kwds): # begin wxGlade: wxgModifyOrthancContentDlg.__init__ kwds["style"] = kwds.get( "style", 0 ) | wx.CAPTION | wx.CLOSE_BOX | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) self._TCTRL_search_term = cTextCtrl(self, wx.ID_ANY, "") self._BTN_search_patients = wx.Button(self, wx.ID_ANY, _("&Search"), style=wx.BU_EXACTFIT) self._LCTRL_patients = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._TCTRL_new_patient_id = wx.TextCtrl(self, wx.ID_ANY, "") self._BTN_suggest_patient_id = wx.Button(self, wx.ID_ANY, _("Suggest"), style=wx.BU_EXACTFIT) self._BTN_set_patient_id = wx.Button(self, wx.ID_ANY, _("Set"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_search_patients_button_pressed, self._BTN_search_patients) self.Bind(wx.EVT_BUTTON, self._on_suggest_patient_id_button_pressed, self._BTN_suggest_patient_id) self.Bind(wx.EVT_BUTTON, self._on_set_patient_id_button_pressed, self._BTN_set_patient_id)
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmListWidgets import cReportListCtrl # begin wxGlade: wxgGenericListManagerPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LBL_message = wx.StaticText(self, wx.ID_ANY, "", style=wx.ALIGN_CENTRE) self._LCTRL_items = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_HRULES | wx.NO_BORDER) self._BTN_add = wx.Button(self, wx.ID_ADD, "") self._BTN_edit = wx.Button(self, -1, _("&Edit")) self._BTN_remove = wx.Button(self, wx.ID_REMOVE, "") self._BTN_extra_left = wx.Button(self, wx.ID_ANY, _("left extra"), style=wx.BU_EXACTFIT) self._BTN_extra_middle = wx.Button(self, wx.ID_ANY, _("middle extra"), style=wx.BU_EXACTFIT) self._BTN_extra_right = wx.Button(self, wx.ID_ANY, _("right extra"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_list_item_deselected, self._LCTRL_items) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_items) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_items) self.Bind(wx.EVT_LIST_ITEM_FOCUSED, self._on_list_item_focused, self._LCTRL_items) self.Bind(wx.EVT_BUTTON, self._on_add_button_pressed, self._BTN_add) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_remove_button_pressed, self._BTN_remove) self.Bind(wx.EVT_BUTTON, self._on_left_extra_button_pressed, self._BTN_extra_left) self.Bind(wx.EVT_BUTTON, self._on_middle_extra_button_pressed, self._BTN_extra_middle) self.Bind(wx.EVT_BUTTON, self._on_right_extra_button_pressed, self._BTN_extra_right)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmListWidgets # begin wxGlade: wxgEditDocumentTypesPnl.__init__ kwds["style"] = wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LCTRL_doc_type = gmListWidgets.cReportListCtrl(self, -1, style=wx.LC_REPORT|wx.LC_SINGLE_SEL|wx.SIMPLE_BORDER) self._TCTRL_type = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_l10n_type = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._BTN_set_translation = wx.Button(self, -1, _("Set &translation")) self._BTN_add = wx.Button(self, wx.ID_ADD, "") self._BTN_delete = wx.Button(self, wx.ID_DELETE, "") self._BTN_reassign = wx.Button(self, -1, _("&Reassign")) self._BTN_dismiss = wx.Button(self, wx.ID_CANCEL, _("&Close")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_doc_type) self.Bind(wx.EVT_TEXT, self._on_type_modified, self._TCTRL_type) self.Bind(wx.EVT_BUTTON, self._on_set_translation_button_pressed, self._BTN_set_translation) self.Bind(wx.EVT_BUTTON, self._on_add_button_pressed, self._BTN_add) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete) self.Bind(wx.EVT_BUTTON, self._on_reassign_button_pressed, self._BTN_reassign)
def __init__(self, *args, **kwds): # begin wxGlade: wxgSoapPluginPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._splitter_main = wx.SplitterWindow(self, wx.ID_ANY, style=wx.SP_3D | wx.SP_BORDER | wx.SP_PERMIT_UNSPLIT) self.__splitter_main_left_pnl = wx.Panel(self._splitter_main, wx.ID_ANY, style=wx.BORDER_NONE) self._splitter_left = wx.SplitterWindow(self.__splitter_main_left_pnl, wx.ID_ANY, style=wx.SP_3D | wx.SP_BORDER | wx.SP_PERMIT_UNSPLIT) self.__splitter_left_top_pnl = wx.Panel(self._splitter_left, wx.ID_ANY, style=wx.BORDER_NONE) self._CHBOX_show_closed_episodes = wx.CheckBox(self.__splitter_left_top_pnl, wx.ID_ANY, _("Closed episodes")) self._CHBOX_irrelevant_issues = wx.CheckBox(self.__splitter_left_top_pnl, wx.ID_ANY, _("Non-relevant issues")) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_active_problems = cReportListCtrl(self.__splitter_left_top_pnl, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self.__splitter_left_bottom_pnl = wx.Panel(self._splitter_left, wx.ID_ANY, style=wx.BORDER_NONE) self._RBTN_notes_only = wx.RadioButton(self.__splitter_left_bottom_pnl, wx.ID_ANY, _("Notes only")) self._RBTN_full_encounter = wx.RadioButton(self.__splitter_left_bottom_pnl, wx.ID_ANY, _("Everything")) self._TCTRL_recent_notes = wx.TextCtrl(self.__splitter_left_bottom_pnl, wx.ID_ANY, _("In this area GNUmed will place the notes of the\nprevious encounter as well as notes by other\nstaff for the current encounter.\n\nNote that this may change depending on which\nactive problem is selected in the editor below."), style=wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_WORDWRAP) from Gnumed.wxpython.gmNarrativeWidgets import cFancySoapEditorPnl self._PNL_editors = cFancySoapEditorPnl(self._splitter_main, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_show_closed_episodes_checked, self._CHBOX_show_closed_episodes) self.Bind(wx.EVT_CHECKBOX, self._on_irrelevant_issues_checked, self._CHBOX_irrelevant_issues) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_problem_activated, self._LCTRL_active_problems) self.Bind(wx.EVT_LIST_ITEM_FOCUSED, self._on_problem_focused, self._LCTRL_active_problems) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_problem_selected, self._LCTRL_active_problems) self.Bind(wx.EVT_RADIOBUTTON, self._on_notes_only_selected, self._RBTN_notes_only) self.Bind(wx.EVT_RADIOBUTTON, self._on_full_encounter_selected, self._RBTN_full_encounter)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmListWidgets # begin wxGlade: wxgSelectPersonDTOFromListDlg.__init__ kwds[ "style"] = wx.CAPTION | wx.RESIZE_BORDER | wx.CLOSE_BOX | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.THICK_FRAME wx.Dialog.__init__(self, *args, **kwds) self._lbl_message = wx.StaticText( self, -1, _("Please select a person from the list below.")) self._LCTRL_persons = gmListWidgets.cReportListCtrl( self, -1, style=wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.LC_VRULES | wx.NO_BORDER) self._BTN_select = wx.Button(self, wx.ID_OK, _("Select")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, _("Cancel")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_persons) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_persons)
def __init__(self, *args, **kwds): # begin wxGlade: wxgFormDisposalDlg.__init__ kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER | wx.THICK_FRAME wx.Dialog.__init__(self, *args, **kwds) self._LBL_msg = wx.StaticText(self, wx.ID_ANY, _("What would you like to do with the following document(s) ?")) self._LCTRL_forms = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.NO_BORDER) self._BTN_show_forms = wx.Button(self, wx.ID_OPEN, "", style=wx.BU_EXACTFIT) self._BTN_delete_forms = wx.Button(self, wx.ID_DELETE, "", style=wx.BU_EXACTFIT) self._CHBOX_export = wx.CheckBox(self, wx.ID_ANY, _("to patient export area")) self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_soap = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._BTN_print = wx.Button(self, wx.ID_PRINT, "") self._BTN_remote_print = wx.Button(self, wx.ID_ANY, _("Print &remotely")) self._BTN_export = wx.Button(self, wx.ID_ANY, _("&Export only")) self._BTN_archive = wx.Button(self, wx.ID_ANY, _("&Archive only")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_show_forms_button_pressed, self._BTN_show_forms) self.Bind(wx.EVT_BUTTON, self._on_delete_forms_button_pressed, self._BTN_delete_forms) self.Bind(wx.EVT_BUTTON, self._on_print_button_pressed, self._BTN_print) self.Bind(wx.EVT_BUTTON, self._on_remote_print_button_pressed, self._BTN_remote_print) self.Bind(wx.EVT_BUTTON, self._on_export_button_pressed, self._BTN_export) self.Bind(wx.EVT_BUTTON, self._on_archive_button_pressed, self._BTN_archive)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmListWidgets # begin wxGlade: wxgGenericListSelectorDlg.__init__ kwds["style"] = wx.CAPTION|wx.RESIZE_BORDER|wx.MAXIMIZE_BOX|wx.MINIMIZE_BOX|wx.THICK_FRAME wx.Dialog.__init__(self, *args, **kwds) self._LBL_message = wx.StaticText(self, -1, "") self._LCTRL_items = gmListWidgets.cReportListCtrl(self, -1, style=wx.LC_REPORT|wx.NO_BORDER) self._BTN_ok = wx.Button(self, wx.ID_OK, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self._BTN_new = wx.Button(self, wx.ID_ADD, "", style=wx.BU_EXACTFIT) self._BTN_edit = wx.Button(self, -1, _("&Edit"), style=wx.BU_EXACTFIT) self._BTN_delete = wx.Button(self, wx.ID_DELETE, "", style=wx.BU_EXACTFIT) self._BTN_extra_left = wx.Button(self, -1, _("1"), style=wx.BU_EXACTFIT) self._BTN_extra_middle = wx.Button(self, -1, _("2"), style=wx.BU_EXACTFIT) self._BTN_extra_right = wx.Button(self, -1, _("3"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_list_item_deselected, self._LCTRL_items) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_items) self.Bind(wx.EVT_BUTTON, self._on_new_button_pressed, self._BTN_new) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete) self.Bind(wx.EVT_BUTTON, self._on_left_extra_button_pressed, self._BTN_extra_left) self.Bind(wx.EVT_BUTTON, self._on_middle_extra_button_pressed, self._BTN_extra_middle) self.Bind(wx.EVT_BUTTON, self._on_right_extra_button_pressed, self._BTN_extra_right)
def __init__(self, *args, **kwds): # begin wxGlade: wxgGenericListSelectorDlg.__init__ kwds["style"] = kwds.get("style", 0) | wx.CAPTION | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) self.SetSize((640, 500)) self._LBL_message = wx.StaticText(self, wx.ID_ANY, "") from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_items = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_ok = wx.Button(self, wx.ID_OK, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self._BTN_new = wx.Button(self, wx.ID_ADD, "", style=wx.BU_EXACTFIT) self._BTN_edit = wx.Button(self, wx.ID_ANY, _("&Edit"), style=wx.BU_EXACTFIT) self._BTN_delete = wx.Button(self, wx.ID_DELETE, "", style=wx.BU_EXACTFIT) self._BTN_extra_left = wx.Button(self, wx.ID_ANY, _("1"), style=wx.BU_EXACTFIT) self._BTN_extra_middle = wx.Button(self, wx.ID_ANY, _("2"), style=wx.BU_EXACTFIT) self._BTN_extra_right = wx.Button(self, wx.ID_ANY, _("3"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_list_item_deselected, self._LCTRL_items) self.Bind(wx.EVT_BUTTON, self._on_new_button_pressed, self._BTN_new) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete) self.Bind(wx.EVT_BUTTON, self._on_left_extra_button_pressed, self._BTN_extra_left) self.Bind(wx.EVT_BUTTON, self._on_middle_extra_button_pressed, self._BTN_extra_middle) self.Bind(wx.EVT_BUTTON, self._on_right_extra_button_pressed, self._BTN_extra_right)
def __init__(self, *args, **kwds): # begin wxGlade: wxgAllergyManagerDlg.__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((650, 500)) self._TXT_current_state = wx.StaticText(self, wx.ID_ANY, _("<current allergy state>")) self._TXT_last_confirmed = wx.StaticText(self, wx.ID_ANY, _("<last confirmed>")) self._RBTN_unknown = wx.RadioButton(self, wx.ID_ANY, _("Unknown")) self._RBTN_none = wx.RadioButton(self, wx.ID_ANY, _("No known allergies")) self._RBTN_some = wx.RadioButton(self, wx.ID_ANY, _("Has allergies")) self._TCTRL_state_comment = wx.TextCtrl(self, wx.ID_ANY, "") self._BTN_confirm = wx.Button(self, wx.ID_ANY, _("&Update / Confirm")) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_allergies = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT | wx.LC_SINGLE_SEL) self._LBL_message = wx.StaticText(self, wx.ID_ANY, _("Input new allergy, or select from among existing allergy items to edit them:")) from Gnumed.wxpython.gmAllergyWidgets import cAllergyEditAreaPnl self._PNL_edit_area = cAllergyEditAreaPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL) self._BTN_save_details = wx.Button(self, wx.ID_SAVE, "", style=wx.BU_EXACTFIT) self._BTN_clear = wx.Button(self, wx.ID_CLEAR, "", style=wx.BU_EXACTFIT) self._BTN_delete = wx.Button(self, wx.ID_DELETE, "", style=wx.BU_EXACTFIT) self.__hline_bottom = wx.StaticLine(self, wx.ID_ANY) self._BTN_dismiss = wx.Button(self, wx.ID_CLOSE, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_confirm_button_pressed, self._BTN_confirm) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_allergies) self.Bind(wx.EVT_BUTTON, self._on_save_details_button_pressed, self._BTN_save_details) self.Bind(wx.EVT_BUTTON, self._on_clear_button_pressed, self._BTN_clear) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete) self.Bind(wx.EVT_BUTTON, self._on_dismiss_button_pressed, self._BTN_dismiss)
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmListWidgets import cReportListCtrl from Gnumed.wxpython.gmDocumentWidgets import cDocTree # begin wxGlade: wxgSelectablySortedDocTreePnl.__init__ kwds["style"] = wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._rbtn_sort_by_age = wx.RadioButton(self, wx.ID_ANY, _("Age"), style=wx.RB_GROUP) self._rbtn_sort_by_review = wx.RadioButton(self, wx.ID_ANY, _("Review status")) self._rbtn_sort_by_episode = wx.RadioButton(self, wx.ID_ANY, _("Episode")) self._rbtn_sort_by_issue = wx.RadioButton(self, wx.ID_ANY, _("Health issue")) self._rbtn_sort_by_type = wx.RadioButton(self, wx.ID_ANY, _("Type")) self._rbtn_sort_by_org = wx.RadioButton(self, wx.ID_ANY, _("Organization")) self._doc_tree = cDocTree(self, wx.ID_ANY) self._LCTRL_details = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_RADIOBUTTON, self._on_sort_by_age_selected, self._rbtn_sort_by_age) self.Bind(wx.EVT_RADIOBUTTON, self._on_sort_by_review_selected, self._rbtn_sort_by_review) self.Bind(wx.EVT_RADIOBUTTON, self._on_sort_by_episode_selected, self._rbtn_sort_by_episode) self.Bind(wx.EVT_RADIOBUTTON, self._on_sort_by_issue_selected, self._rbtn_sort_by_issue) self.Bind(wx.EVT_RADIOBUTTON, self._on_sort_by_type_selected, self._rbtn_sort_by_type) self.Bind(wx.EVT_RADIOBUTTON, self._on_sort_by_org_selected, self._rbtn_sort_by_org)
def __init__(self, *args, **kwds): # begin wxGlade: wxgSimpleSoapPluginPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetSize(wx.DLG_UNIT(self, wx.Size(400, 216))) self._splitter_main = wx.SplitterWindow(self, wx.ID_ANY, style=wx.SP_3D | wx.SP_BORDER) self.__pnl_left = wx.Panel(self._splitter_main, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_problems = cReportListCtrl(self.__pnl_left, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_NO_HEADER | wx.LC_REPORT | wx.LC_SINGLE_SEL) self._BTN_add_problem = wx.Button(self.__pnl_left, wx.ID_ANY, _("&Add"), style=wx.BU_EXACTFIT) self._BTN_edit_problem = wx.Button(self.__pnl_left, wx.ID_ANY, _("&Edit"), style=wx.BU_EXACTFIT) self._BTN_delete_problem = wx.Button(self.__pnl_left, wx.ID_ANY, _("&Delete"), style=wx.BU_EXACTFIT) from Gnumed.wxpython.gmTextCtrl import cTextCtrl self._TCTRL_soap_problem = wx.TextCtrl(self.__pnl_left, wx.ID_ANY, _("<above, double-click problem to start entering SOAP note>"), style=wx.TE_READONLY) self._TCTRL_soap = cTextCtrl(self.__pnl_left, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP) self._BTN_save_soap = wx.Button(self.__pnl_left, wx.ID_ANY, _("&Save"), style=wx.BU_EXACTFIT) self._BTN_clear_soap = wx.Button(self.__pnl_left, wx.ID_ANY, _("&Clear"), style=wx.BU_EXACTFIT) self.__pnl_right = wx.Panel(self._splitter_main, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL) self._CHBOX_filter_by_problem = wx.CheckBox(self.__pnl_right, wx.ID_ANY, _("&Filter by problem")) self._TCTRL_journal = wx.TextCtrl(self.__pnl_right, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_problems) self.Bind(wx.EVT_BUTTON, self._on_add_problem_button_pressed, self._BTN_add_problem) self.Bind(wx.EVT_BUTTON, self._on_edit_problem_button_pressed, self._BTN_edit_problem) self.Bind(wx.EVT_BUTTON, self._on_delete_problem_button_pressed, self._BTN_delete_problem) self.Bind(wx.EVT_BUTTON, self._on_save_soap_button_pressed, self._BTN_save_soap) self.Bind(wx.EVT_BUTTON, self._on_clear_soap_button_pressed, self._BTN_clear_soap) self.Bind(wx.EVT_CHECKBOX, self._on_filter_by_problem_checked, self._CHBOX_filter_by_problem)
def __init__(self, *args, **kwds): # begin wxGlade: wxgSelectPersonFromListDlg.__init__ kwds["style"] = kwds.get( "style", 0 ) | wx.CAPTION | wx.CLOSE_BOX | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) self.SetSize((600, 400)) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_persons = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.LC_VRULES) self._BTN_new_patient = wx.Button(self, wx.ID_NEW, "") self._BTN_select = wx.Button(self, wx.ID_OK, _("Select")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, _("Cancel")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_persons) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_persons) self.Bind(wx.EVT_BUTTON, self._on_new_patient_button_pressed, self._BTN_new_patient)
def __init__(self, *args, **kwds): # begin wxGlade: wxgWaitingListPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._CHBOX_active_patient_only = wx.CheckBox(self, wx.ID_ANY, _("Active &patient")) self._PRW_zone = cWaitingZonePhraseWheel(self, wx.ID_ANY, "", style=wx.TE_PROCESS_ENTER) self._LBL_no_of_patients = wx.StaticText(self, wx.ID_ANY, "") self._LCTRL_patients = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_REPORT) self._BTN_activate = wx.Button(self, wx.ID_ANY, _("&Activate"), style=wx.BU_EXACTFIT) self._BTN_activateplus = wx.Button(self, wx.ID_ANY, _(u"Activate\u00b2"), style=wx.BU_EXACTFIT) self._BTN_add_patient = wx.Button(self, wx.ID_ADD, "", style=wx.BU_EXACTFIT) self._BTN_remove = wx.Button(self, wx.ID_REMOVE, "", style=wx.BU_EXACTFIT) self._BTN_edit = wx.Button(self, wx.ID_ANY, _("&Edit"), style=wx.BU_EXACTFIT) self._BTN_up = wx.Button(self, wx.ID_UP, "", style=wx.BU_EXACTFIT) self._BTN_down = wx.Button(self, wx.ID_DOWN, "", style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_active_patient_only_checked, self._CHBOX_active_patient_only) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_patients) self.Bind(wx.EVT_BUTTON, self._on_activate_button_pressed, self._BTN_activate) self.Bind(wx.EVT_BUTTON, self._on_activateplus_button_pressed, self._BTN_activateplus) self.Bind(wx.EVT_BUTTON, self._on_add_patient_button_pressed, self._BTN_add_patient) self.Bind(wx.EVT_BUTTON, self._on_remove_button_pressed, self._BTN_remove) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_up_button_pressed, self._BTN_up) self.Bind(wx.EVT_BUTTON, self._on_down_button_pressed, self._BTN_down)
def __init__(self, *args, **kwds): # begin wxGlade: MyFrame1.__init__ kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_FRAME_STYLE wx.Frame.__init__(self, *args, **kwds) self.SetTitle("frame_1") __szr_main = wx.BoxSizer(wx.HORIZONTAL) self._LCTRL_days = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_days.SetMinSize((100, 100)) __szr_main.Add(self._LCTRL_days, 1, wx.EXPAND | wx.RIGHT, 5) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_results.SetMinSize((100, 100)) __szr_main.Add(self._LCTRL_results, 1, wx.EXPAND | wx.RIGHT, 5) __szr_details = wx.BoxSizer(wx.VERTICAL) __szr_main.Add(__szr_details, 1, wx.EXPAND, 0) self._TCTRL_measurements = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_AUTO_URL | wx.TE_MULTILINE | wx.TE_READONLY) self._TCTRL_measurements.SetMinSize((255, 102)) self._TCTRL_measurements.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_BACKGROUND)) __szr_details.Add(self._TCTRL_measurements, 1, wx.EXPAND, 0) __szr_show_docs = wx.BoxSizer(wx.HORIZONTAL) __szr_details.Add(__szr_show_docs, 0, wx.EXPAND, 0) self._LBL_no_of_docs = wx.StaticText(self, wx.ID_ANY, "") self._LBL_no_of_docs.SetMinSize((100, 100)) __szr_show_docs.Add(self._LBL_no_of_docs, 0, wx.ALIGN_CENTER_VERTICAL | wx.RIGHT, 3) self._BTN_show_docs = wx.Button(self, wx.ID_ANY, "Show X documents") self._BTN_show_docs.SetMinSize((100, 100)) self._BTN_show_docs.SetToolTip("Show lab related documents for the episode of the selected measurement.") self._BTN_show_docs.Enable(False) __szr_show_docs.Add(self._BTN_show_docs, 0, wx.ALIGN_CENTER_VERTICAL, 0) __szr_show_docs.Add((20, 20), 1, wx.EXPAND, 0) self.SetSizer(__szr_main) __szr_main.Fit(self) self.Layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_day_selected, self._LCTRL_days) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_result_selected, self._LCTRL_results) self.Bind(wx.EVT_BUTTON, self._on_show_docs_button_pressed, self._BTN_show_docs)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmListWidgets # begin wxGlade: wxgItemPickerDlg.__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_msg = wx.StaticText(self, -1, _("label_1")) self._LCTRL_left = gmListWidgets.cReportListCtrl( self, -1, style=wx.LC_REPORT | wx.LC_HRULES | wx.LC_VRULES | wx.NO_BORDER) self._BTN_left2right = wx.Button(self, -1, _(u"→"), style=wx.BU_EXACTFIT) self._BTN_right2left = wx.Button(self, -1, _(u"←"), style=wx.BU_EXACTFIT) self._LCTRL_right = gmListWidgets.cReportListCtrl( self, -1, style=wx.LC_REPORT | wx.LC_HRULES | wx.LC_VRULES | wx.NO_BORDER) self._BTN_ok = wx.Button(self, wx.ID_OK, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self._BTN_extra = wx.Button(self, -1, _("Extra"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_left_list_item_deselected, self._LCTRL_left) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_left_list_item_selected, self._LCTRL_left) self.Bind(wx.EVT_BUTTON, self._on_button_left2right_pressed, self._BTN_left2right) self.Bind(wx.EVT_BUTTON, self._on_button_right2left_pressed, self._BTN_right2left) self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_right_list_item_deselected, self._LCTRL_right) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_right_list_item_selected, self._LCTRL_right) self.Bind(wx.EVT_BUTTON, self._on_extra_button_pressed, self._BTN_extra)
def __init__(self, *args, **kwds): # begin wxGlade: wxgExportAreaExportToMediaDlg.__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((700, 500)) self._LBL_header = wx.StaticText( self, wx.ID_ANY, _("\nDescribe the intended action.\n")) self._BTN_reload_media_list = wx.Button(self, wx.ID_REFRESH, "", style=wx.BU_EXACTFIT) self._LCTRL_removable_media = cReportListCtrl( self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._LBL_directory = wx.StaticText( self, wx.ID_ANY, _("<shows default path computed at runtime>"), style=wx.ST_ELLIPSIZE_START) self._LBL_dir_is_empty = wx.StaticText(self, wx.ID_ANY, _("this path is/is not empty")) self._BTN_open_directory = wx.Button(self, wx.ID_ANY, _("Open"), style=wx.BU_EXACTFIT) self._BTN_clear_directory = wx.Button(self, wx.ID_ANY, _("Clear"), style=wx.BU_EXACTFIT) self._CHBOX_encrypt = wx.CheckBox(self, wx.ID_ANY, _("en&crypt"), style=wx.CHK_2STATE) self._CHBOX_use_subdirectory = wx.CheckBox(self, wx.ID_ANY, _("use subdirectory"), style=wx.CHK_2STATE) self._BTN_save2media = wx.Button(self, wx.ID_SAVE, "") self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_reload_media_list_button_pressed, self._BTN_reload_media_list) self.Bind(wx.EVT_BUTTON, self._on_open_directory_button_pressed, self._BTN_open_directory) self.Bind(wx.EVT_BUTTON, self._on_clear_directory_button_pressed, self._BTN_clear_directory) self.Bind(wx.EVT_CHECKBOX, self._on_save_as_encrypted_toggled, self._CHBOX_encrypt) self.Bind(wx.EVT_CHECKBOX, self._on_use_subdirectory_toggled, self._CHBOX_use_subdirectory) self.Bind(wx.EVT_BUTTON, self._on_save2media_button_pressed, self._BTN_save2media)
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmListWidgets import cReportListCtrl from Gnumed.wxpython import gmDateTimeInput # begin wxGlade: wxgPatientOverviewPnl.__init__ kwds["style"] = wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LCTRL_identity = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._LCTRL_contacts = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._PRW_encounter_range = gmDateTimeInput.cIntervalPhraseWheel( self, wx.ID_ANY, "", style=wx.NO_BORDER) self._LCTRL_encounters = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._LCTRL_meds = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._LCTRL_problems = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._LCTRL_history = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._LCTRL_inbox = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._LCTRL_results = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self._LCTRL_documents = cReportListCtrl( self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_NO_HEADER | wx.SIMPLE_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgDynamicHintListDlg.__init__ kwds[ "style"] = wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) self._TCTRL_header = wx.TextCtrl(self, wx.ID_ANY, _("Dynamic hints"), style=wx.BORDER_NONE | wx.TE_CENTRE | wx.TE_READONLY) self._LCTRL_hints = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_REPORT | wx.LC_SINGLE_SEL) self._TCTRL_hint = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_WORDWRAP) self._TCTRL_source = wx.TextCtrl(self, wx.ID_ANY, _("<hint source>"), style=wx.BORDER_NONE | wx.TE_CENTRE | wx.TE_READONLY) self._URL_info = wx.HyperlinkCtrl(self, wx.ID_ANY, _("Further information"), _("http://www.duckduckgo.com"), style=wx.HL_DEFAULT_STYLE) self._TCTRL_rationale = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE | wx.TE_MULTILINE | wx.TE_WORDWRAP) self._LBL_previous_rationale = wx.StaticText(self, wx.ID_ANY, _("Previous\nrationale")) self._TCTRL_previous_rationale = cTextCtrl( self, wx.ID_ANY, "", style=wx.BORDER_NONE | wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_WORDWRAP) self._BTN_OK = wx.Button(self, wx.ID_OK, "") self._BTN_suppress = wx.Button(self, wx.ID_ANY, _("&Suppress")) self._BTN_manage_hints = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_suppress_button_pressed, self._BTN_suppress) self.Bind(wx.EVT_BUTTON, self._on_manage_hints_button_pressed, self._BTN_manage_hints)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsByIssuePnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LCTRL_issues = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._TCTRL_measurements = wx.TextCtrl( self, wx.ID_ANY, "", style=wx.TE_AUTO_URL | wx.TE_MULTILINE | wx.TE_READONLY) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgXdtListPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LCTRL_xdt = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_load = wx.Button(self, wx.ID_ANY, _("load file")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_load_button_pressed, self._BTN_load)
def __init__(self, *args, **kwds): # begin wxGlade: wxgPatientOverviewPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetSize((400, 300)) self._LCTRL_identity = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_contacts = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_encounters = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_meds = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_problems = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_history = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_inbox = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_documents = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmNarrativeWidgets import cSoapNoteInputNotebook from Gnumed.wxpython.gmDateTimeInput import cFuzzyTimestampInput from Gnumed.wxpython.gmEncounterWidgets import cEncounterTypePhraseWheel from Gnumed.wxpython import gmListWidgets # begin wxGlade: wxgCardiacDevicePluginPnl.__init__ kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._splitter_main = wx.SplitterWindow(self, -1, style=wx.SP_3D|wx.SP_BORDER|wx.SP_PERMIT_UNSPLIT) self.__splitter_main_right_pnl = wx.Panel(self._splitter_main, -1, style=wx.NO_BORDER) self._splitter_right = wx.SplitterWindow(self.__splitter_main_right_pnl, -1, style=wx.SP_3D|wx.SP_BORDER|wx.SP_PERMIT_UNSPLIT) self.__splitter_right_bottom_pnl = wx.ScrolledWindow(self._splitter_right, -1, style=wx.NO_BORDER) self.__splitter_right_top_pnl = wx.Panel(self._splitter_right, -1, style=wx.NO_BORDER) self._NB_device_editors = cSoapNoteInputNotebook(self.__splitter_right_top_pnl, -1, style=0) self.__splitter_main_left_pnl = wx.Panel(self._splitter_main, -1, style=wx.NO_BORDER|wx.FULL_REPAINT_ON_RESIZE) self._splitter_left = wx.SplitterWindow(self.__splitter_main_left_pnl, -1, style=wx.SP_3D|wx.SP_BORDER) self.__splitter_left_bottom_pnl = wx.Panel(self._splitter_left, -1, style=wx.NO_BORDER) self.__splitter_left_top_pnl = wx.Panel(self._splitter_left, -1) self.__szr_bottom_left_staticbox = wx.StaticBox(self.__splitter_left_bottom_pnl, -1, _("Previous Encounters")) self.__szr_top_right_staticbox = wx.StaticBox(self.__splitter_right_top_pnl, -1, _("New notes in current encounter")) self.__szr_lower_bottom_right_staticbox = wx.StaticBox(self.__splitter_right_bottom_pnl, -1, _("Tips and Hints")) self.__szr_top_left_staticbox = wx.StaticBox(self.__splitter_left_top_pnl, -1, _("Active Device Settings")) self._TCTRL_current_status = wx.TextCtrl(self.__splitter_left_top_pnl, -1, _("In this area GNUmed will place the status of all cardiac devices and device parts. There can be more than one device at a time\n\nIt potentially looks like this\n----------------------------------------------------------------------------------------------------------------\nDevice: SJM Atlas DR (active) Battery: 2.4V (MOL) Implanted: Feb 09 2008\n\nRA: Medtronic Sprint fidelis (active, flaky, replacement) Implanted: Feb 09 2008\nSensing: 2 (1.5) mV Threshold: 0.7/0.5 (1/0.4) V/ms Impedance: 800 (900) Ohm\n\nRV: Medtronic Sprint fidelis (active, flaky, replacement) Implanted: Feb 09 2008\nSensing: 7 (15) mV Threshold: 0.7/0.5 (1/0.4) V/ms Impedance: 800 (900) Ohm\n\nLV: Medtronic Sprint fidelis (active, flaky, Y-connector) Implanted: Feb 09 2008\nSensing: 7 ( ?) mV Threshold: 1/1.5 (1/1) V/ms Impedance: 800 (900) Ohm\n----------------------------------------------------------------------------------------------------------------\nDevice: Medtronic Relia SR (inactive) Batttery 2.1V (EOL) Implanted: Jan 23 2000\n\nDevice: Medtronic Kappa SR (explanted) Batttery 2.1V (EOL) Explanted: Jan 23 2000 (Jan 23 1995)\n-----------------------------------------------------------------------------------------------------------------\nRA Lead: Medtronic ? (inactive, capped) Implanted: Jan 23 2000\nRV Lead: Medtronic ? (explanted) Explanted: Feb 09 2008"), style=wx.TE_MULTILINE|wx.TE_READONLY|wx.TE_WORDWRAP|wx.NO_BORDER) self._LCTRL_pevious_encounters = gmListWidgets.cReportListCtrl(self.__splitter_left_bottom_pnl, -1, style=wx.LC_REPORT|wx.NO_BORDER|wx.FULL_REPAINT_ON_RESIZE) self._PRW_encounter_type = cEncounterTypePhraseWheel(self.__splitter_right_top_pnl, -1, "", style=wx.NO_BORDER) self._PRW_encounter_start = cFuzzyTimestampInput(self.__splitter_right_top_pnl, -1, "", style=wx.NO_BORDER) self._PRW_encounter_end = cFuzzyTimestampInput(self.__splitter_right_top_pnl, -1, "", style=wx.NO_BORDER) self._BTN_new_encounter = wx.Button(self.__splitter_right_top_pnl, -1, _("New"), style=wx.BU_EXACTFIT) self._TCTRL_rfe = wx.TextCtrl(self.__splitter_right_top_pnl, -1, "", style=wx.NO_BORDER) self.notebook_1_pane_1 = wx.Panel(self._NB_device_editors, -1) self._TCTRL_aoe = wx.TextCtrl(self.__splitter_right_top_pnl, -1, "", style=wx.NO_BORDER) self._TCTRL_ekg = wx.TextCtrl(self.__splitter_right_top_pnl, -1, "", style=wx.NO_BORDER) self._BTN_save_all = wx.Button(self.__splitter_right_top_pnl, -1, _("&All"), style=wx.BU_EXACTFIT) self._BTN_save_encounter = wx.Button(self.__splitter_right_top_pnl, -1, _("&Encounter"), style=wx.BU_EXACTFIT) self._BTN_save_note = wx.Button(self.__splitter_right_top_pnl, -1, _("&Note"), style=wx.BU_EXACTFIT) self._BTN_new_editor = wx.Button(self.__splitter_right_top_pnl, -1, _("&New"), style=wx.BU_EXACTFIT) self._BTN_clear_editor = wx.Button(self.__splitter_right_top_pnl, -1, _("&Clear"), style=wx.BU_EXACTFIT) self._BTN_discard_editor = wx.Button(self.__splitter_right_top_pnl, -1, _("&Discard"), style=wx.BU_EXACTFIT) self._lbl_hints = wx.StaticText(self.__splitter_right_bottom_pnl, -1, _("In this area GNUmed will place hints and tips\nrelated to the current interrogation note and patient.\n\nThose hints will be derived from a variety of\nsources such as classifications (ICD, ...), \nsafety warnings, online resources (Google\nand friends), device databases, etc.\n\nEventually, those hints will be active in that you\ncan click on them and be taken to the relevant\ninformation/an appropriate action be performed.")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_problem_activated, self._LCTRL_pevious_encounters) self.Bind(wx.EVT_BUTTON, self._on_new_encounter_button_pressed, self._BTN_new_encounter) self.Bind(wx.EVT_BUTTON, self._on_save_all_button_pressed, self._BTN_save_all) self.Bind(wx.EVT_BUTTON, self._on_save_encounter_button_pressed, self._BTN_save_encounter) self.Bind(wx.EVT_BUTTON, self._on_save_note_button_pressed, self._BTN_save_note) self.Bind(wx.EVT_BUTTON, self._on_new_editor_button_pressed, self._BTN_new_editor) self.Bind(wx.EVT_BUTTON, self._on_clear_editor_button_pressed, self._BTN_clear_editor) self.Bind(wx.EVT_BUTTON, self._on_discard_editor_button_pressed, self._BTN_discard_editor)
def __init__(self, *args, **kwds): # begin wxGlade: wxgPatientOverviewPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self.SetSize((400, 300)) self._LCTRL_identity = cReportListCtrl( self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_contacts = cReportListCtrl( self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_encounters = cReportListCtrl( self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_meds = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_problems = cReportListCtrl( self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_history = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_inbox = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self._LCTRL_documents = cReportListCtrl( self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_NO_HEADER | wx.LC_REPORT) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgSubstanceEAPnl.__init__ kwds["style"] = wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_substance = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._HL_atc_list = wx.HyperlinkCtrl( self, wx.ID_ANY, _("ATC Code"), _("http://www.whocc.no/atc_ddd_index/"), style=wx.HL_DEFAULT_STYLE) self._PRW_atc = cATCPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._TCTRL_instructions = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._HL_loinc_list = wx.HyperlinkCtrl(self, wx.ID_ANY, _("LOINCs"), _("https://search.loinc.org"), style=wx.HL_DEFAULT_STYLE) self._PRW_loinc = cLOINCPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._BTN_add_loinc = wx.Button(self, wx.ID_ANY, _("Add"), style=wx.BU_EXACTFIT) self._LCTRL_loincs = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_remove_loincs = wx.Button(self, wx.ID_ANY, _("Remove"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_add_loinc_button_pressed, self._BTN_add_loinc) self.Bind(wx.EVT_BUTTON, self._on_remove_loincs_button_pressed, self._BTN_remove_loincs)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmListWidgets # begin wxGlade: wxgXdtListPnl.__init__ kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LCTRL_xdt = gmListWidgets.cReportListCtrl(self, -1, style=wx.LC_REPORT|wx.NO_BORDER) self._BTN_load = wx.Button(self, -1, _("load file")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_load_button_pressed, self._BTN_load)
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmListWidgets import cReportListCtrl # begin wxGlade: wxgGenericListManagerPnl.__init__ kwds["style"] = wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LBL_message = wx.StaticText(self, wx.ID_ANY, "", style=wx.ALIGN_CENTER) self._LCTRL_items = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_HRULES | wx.LC_REPORT) self._BTN_add = wx.Button(self, wx.ID_ADD, "") self._BTN_edit = wx.Button(self, -1, _("&Edit")) self._BTN_remove = wx.Button(self, wx.ID_REMOVE, "") self._BTN_extra_left = wx.Button(self, wx.ID_ANY, _("left extra"), style=wx.BU_EXACTFIT) self._BTN_extra_middle = wx.Button(self, wx.ID_ANY, _("middle extra"), style=wx.BU_EXACTFIT) self._BTN_extra_right = wx.Button(self, wx.ID_ANY, _("right extra"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_DESELECTED, self._on_list_item_deselected, self._LCTRL_items) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_items) self.Bind(wx.EVT_LIST_ITEM_FOCUSED, self._on_list_item_focused, self._LCTRL_items) self.Bind(wx.EVT_BUTTON, self._on_add_button_pressed, self._BTN_add) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_remove_button_pressed, self._BTN_remove) self.Bind(wx.EVT_BUTTON, self._on_left_extra_button_pressed, self._BTN_extra_left) self.Bind(wx.EVT_BUTTON, self._on_middle_extra_button_pressed, self._BTN_extra_middle) self.Bind(wx.EVT_BUTTON, self._on_right_extra_button_pressed, self._BTN_extra_right)
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)
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)
def __init__(self, *args, **kwds): # begin wxGlade: wxgSelectPersonFromListDlg.__init__ kwds["style"] = wx.CAPTION | wx.RESIZE_BORDER | wx.CLOSE_BOX | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.THICK_FRAME wx.Dialog.__init__(self, *args, **kwds) self._LCTRL_persons = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.LC_VRULES | wx.NO_BORDER) self._BTN_new_patient = wx.Button(self, wx.ID_NEW, "") self._BTN_select = wx.Button(self, wx.ID_OK, _("Select")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, _("Cancel")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_persons) self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_persons) self.Bind(wx.EVT_BUTTON, self._on_new_patient_button_pressed, self._BTN_new_patient)
def __init__(self, *args, **kwds): # begin wxGlade: wxgSelectPersonFromListDlg.__init__ kwds["style"] = kwds.get("style", 0) | wx.CAPTION | wx.CLOSE_BOX | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER wx.Dialog.__init__(self, *args, **kwds) self.SetSize((600, 400)) from Gnumed.wxpython.gmListWidgets import cReportListCtrl self._LCTRL_persons = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.LC_VRULES) self._BTN_new_patient = wx.Button(self, wx.ID_NEW, "") self._BTN_select = wx.Button(self, wx.ID_OK, _("Select")) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, _("Cancel")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self._on_list_item_activated, self._LCTRL_persons) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_persons) self.Bind(wx.EVT_BUTTON, self._on_new_patient_button_pressed, self._BTN_new_patient)
def __init__(self, *args, **kwds): # begin wxGlade: wxgPrintMgrPluginPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._RBTN_all_patients = wx.RadioButton(self, wx.ID_ANY, _("All patients")) self._RBTN_active_patient_only = wx.RadioButton( self, wx.ID_ANY, _("&Active patient only")) self._LCTRL_printouts = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_REPORT | wx.NO_BORDER) self._BTN_view_printout = wx.Button(self, wx.ID_ANY, _("&View"), style=wx.BU_EXACTFIT) self._BTN_print_printouts = wx.Button(self, wx.ID_PRINT, "", style=wx.BU_EXACTFIT) self._BTN_export_printouts = wx.Button(self, wx.ID_ANY, _("&Export"), style=wx.BU_EXACTFIT) self._BTN_delete_printouts = wx.Button(self, wx.ID_DELETE, "", style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_RADIOBUTTON, self._on_all_patients_selected, self._RBTN_all_patients) self.Bind(wx.EVT_RADIOBUTTON, self._on_active_patient_only_selected, self._RBTN_active_patient_only) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_printouts) self.Bind(wx.EVT_BUTTON, self._on_view_button_pressed, self._BTN_view_printout) self.Bind(wx.EVT_BUTTON, self._on_print_button_pressed, self._BTN_print_printouts) self.Bind(wx.EVT_BUTTON, self._on_export_button_pressed, self._BTN_export_printouts) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete_printouts)
def __init__(self, *args, **kwds): # begin wxGlade: wxgScanIdxPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) from Gnumed.wxpython.gmDocumentWidgets import cDocumentTypeSelectionPhraseWheel from Gnumed.wxpython.gmDocumentWidgets import cDocumentCommentPhraseWheel from Gnumed.wxpython.gmListWidgets import cReportListCtrl from Gnumed.wxpython.gmPhraseWheel import cPhraseWheel from Gnumed.wxpython import gmDateTimeInput from Gnumed.wxpython import gmEMRStructWidgets from Gnumed.wxpython import gmOrganizationWidgets self.__btn_scan = wx.Button(self, wx.ID_ANY, _("&Scan page(s)")) self.__btn_load = wx.Button(self, wx.ID_ANY, _("Pick &file(s)")) self.__btn_clipboard = wx.Button(self, wx.ID_ANY, _("&Clipboard")) self._PhWheel_doc_type = cDocumentTypeSelectionPhraseWheel(self, wx.ID_ANY) self._PhWheel_doc_date = gmDateTimeInput.cFuzzyTimestampInput(self, wx.ID_ANY) self._PhWheel_episode = gmEMRStructWidgets.cEpisodeSelectionPhraseWheel(self, wx.ID_ANY) self._PhWheel_source = gmOrganizationWidgets.cOrgUnitPhraseWheel(self, wx.ID_ANY) self._RBTN_org_is_source = wx.RadioButton(self, wx.ID_ANY, _("Source")) self._RBTN_org_is_receiver = wx.RadioButton(self, wx.ID_ANY, _("Receiver")) self._PRW_doc_comment = cDocumentCommentPhraseWheel(self, wx.ID_ANY, "") self.__lbl_reviewer = wx.StaticText(self, wx.ID_ANY, _("Intended reviewer:")) self._PhWheel_reviewer = cPhraseWheel(self, wx.ID_ANY) self._ChBOX_reviewed = wx.CheckBox(self, wx.ID_ANY, _("&review and sign")) self._ChBOX_abnormal = wx.CheckBox(self, wx.ID_ANY, _("&technically abnormal")) self._ChBOX_relevant = wx.CheckBox(self, wx.ID_ANY, _("&clinically relevant")) self._TBOX_description = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_CHARWRAP | wx.TE_MULTILINE | wx.TE_WORDWRAP) self._LCTRL_doc_pages = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self.__btn_show_page = wx.Button(self, wx.ID_ANY, _("Show")) self.__btn_del_page = wx.Button(self, wx.ID_ANY, _("Remove part")) self.__btn_save = wx.Button(self, wx.ID_ANY, _("Save")) self.__btn_discard = wx.Button(self, wx.ID_ANY, _("Discard")) self._TCTRL_metadata = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_WORDWRAP) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._scan_btn_pressed, self.__btn_scan) self.Bind(wx.EVT_BUTTON, self._load_btn_pressed, self.__btn_load) self.Bind(wx.EVT_BUTTON, self._clipboard_btn_pressed, self.__btn_clipboard) self.Bind(wx.EVT_CHECKBOX, self._reviewed_box_checked, self._ChBOX_reviewed) self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_part_selected, self._LCTRL_doc_pages) self.Bind(wx.EVT_BUTTON, self._show_btn_pressed, self.__btn_show_page) self.Bind(wx.EVT_BUTTON, self._del_btn_pressed, self.__btn_del_page) self.Bind(wx.EVT_BUTTON, self._save_btn_pressed, self.__btn_save) self.Bind(wx.EVT_BUTTON, self._startover_btn_pressed, self.__btn_discard)
def __init__(self, *args, **kwds): # begin wxGlade: wxgSubstanceEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_substance = cTextCtrl(self, wx.ID_ANY, "") self._HL_atc_list = wx.adv.HyperlinkCtrl(self, wx.ID_ANY, _("ATC Code"), _("http://www.whocc.no/atc_ddd_index/"), style=wx.adv.HL_DEFAULT_STYLE) self._PRW_atc = cATCPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_instructions = cTextCtrl(self, wx.ID_ANY, "") self._HL_loinc_list = wx.adv.HyperlinkCtrl(self, wx.ID_ANY, _("LOINCs"), _("https://search.loinc.org"), style=wx.adv.HL_DEFAULT_STYLE) self._PRW_loinc = cLOINCPhraseWheel(self, wx.ID_ANY, "") self._BTN_add_loinc = wx.Button(self, wx.ID_ANY, _("Add"), style=wx.BU_EXACTFIT) self._LCTRL_loincs = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_remove_loincs = wx.Button(self, wx.ID_ANY, _("Remove"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_add_loinc_button_pressed, self._BTN_add_loinc) self.Bind(wx.EVT_BUTTON, self._on_remove_loincs_button_pressed, self._BTN_remove_loincs)
def __init__(self, *args, **kwds): # begin wxGlade: wxgMeasurementsAsMostRecentListPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._HLCTRL = wx.adv.HyperlinkCtrl(self, wx.ID_ANY, _("Panel:"), _("http://www.laborlexikon.de")) from Gnumed.wxpython.gmMeasurementWidgets import cTestPanelPRW self._PRW_panel = cTestPanelPRW(self, wx.ID_ANY, "") self._TCTRL_panel_comment = wx.TextCtrl(self, wx.ID_ANY, "") self._CHBOX_show_missing = wx.CheckBox(self, wx.ID_ANY, _("&Show missing")) self._BTN_manage_panels = wx.Button(self, wx.ID_ANY, _("Manage"), style=wx.BU_EXACTFIT) self._LCTRL_results = cReportListCtrl(self, wx.ID_ANY, style=wx.LC_HRULES | wx.LC_REPORT | wx.LC_VRULES) self._TCTRL_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_BESTWRAP | wx.TE_MULTILINE | wx.TE_READONLY) self._PNL_related_documents = cLabRelatedDocumentsPnl(self, wx.ID_ANY, style=wx.BORDER_NONE) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_show_missing_toggled, self._CHBOX_show_missing) self.Bind(wx.EVT_BUTTON, self._on_manage_panels_button_pressed, self._BTN_manage_panels)
def __init__(self, *args, **kwds): # begin wxGlade: wxgEMRListJournalPluginPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._RBTN_by_encounter = wx.RadioButton(self, wx.ID_ANY, _("&Encounter")) self._RBTN_by_last_modified = wx.RadioButton(self, wx.ID_ANY, _("&Modification")) self._RBTN_by_item_time = wx.RadioButton(self, wx.ID_ANY, _("&Event")) self._BTN_edit = wx.Button(self, wx.ID_ANY, _("&Edit"), style=wx.BU_EXACTFIT) self._BTN_delete = wx.Button(self, wx.ID_ANY, _("&Delete"), style=wx.BU_EXACTFIT) self._SLINE_top = wx.StaticLine(self, wx.ID_ANY) self._LCTRL_journal = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._TCTRL_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_BESTWRAP | wx.TE_MULTILINE | wx.TE_READONLY) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_RADIOBUTTON, self._on_order_by_encounter_selected, self._RBTN_by_encounter) self.Bind(wx.EVT_RADIOBUTTON, self._on_order_by_last_mod_selected, self._RBTN_by_last_modified) self.Bind(wx.EVT_RADIOBUTTON, self._on_order_by_item_time_selected, self._RBTN_by_item_time) self.Bind(wx.EVT_BUTTON, self._on_edit_button_pressed, self._BTN_edit) self.Bind(wx.EVT_BUTTON, self._on_delete_button_pressed, self._BTN_delete)
def __init__(self, *args, **kwds): # begin wxGlade: wxgDynamicHintListDlg.__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((400, 615)) self._TCTRL_header = wx.TextCtrl(self, wx.ID_ANY, _("Dynamic hints"), style=wx.TE_CENTRE | wx.TE_READONLY) self._LCTRL_hints = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_SIMPLE | wx.LC_REPORT | wx.LC_SINGLE_SEL) self._TCTRL_hint = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_WORDWRAP) self._TCTRL_source = wx.TextCtrl(self, wx.ID_ANY, _("<hint source>"), style=wx.TE_CENTRE | wx.TE_READONLY) self._URL_info = wx.adv.HyperlinkCtrl(self, wx.ID_ANY, _("Further information"), _("http://www.duckduckgo.com"), style=wx.adv.HL_DEFAULT_STYLE) self._TCTRL_rationale = cTextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP) self._LBL_previous_rationale = wx.StaticText(self, wx.ID_ANY, _("Previous\nrationale")) self._TCTRL_previous_rationale = cTextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY | wx.TE_WORDWRAP) self._BTN_OK = wx.Button(self, wx.ID_OK, "") self._BTN_suppress = wx.Button(self, wx.ID_ANY, _("&Suppress")) self._BTN_manage_hints = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_suppress_button_pressed, self._BTN_suppress) self.Bind(wx.EVT_BUTTON, self._on_manage_hints_button_pressed, self._BTN_manage_hints)
def __init__(self, *args, **kwds): # begin wxGlade: wxgExportAreaPluginPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._LCTRL_items = cReportListCtrl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.LC_REPORT) self._BTN_add_items = wx.Button(self, wx.ID_ANY, _(u"\u2190 &Disk"), style=wx.BU_EXACTFIT | wx.BU_LEFT) self._BTN_add_directory = wx.Button(self, wx.ID_ANY, _(u"\u2190 &Directory"), style=wx.BU_EXACTFIT | wx.BU_LEFT) self._BTN_add_from_archive = wx.Button(self, wx.ID_ANY, _(u"\u2190 &Archive"), style=wx.BU_EXACTFIT | wx.BU_LEFT) self._BTN_scan_items = wx.Button(self, wx.ID_ANY, _(u"\u2190 S&can"), style=wx.BU_EXACTFIT | wx.BU_LEFT) self._BTN_clipboard_items = wx.Button(self, wx.ID_ANY, _(u"\u2190 C&lipboard"), style=wx.BU_EXACTFIT | wx.BU_LEFT) self._BTN_show_item = wx.Button(self, wx.ID_ANY, _("&View"), style=wx.BU_EXACTFIT) self._BTN_save_items = wx.Button(self, wx.ID_ANY, _("&Save as"), style=wx.BU_EXACTFIT) self._BTN_export_items = wx.Button(self, wx.ID_ANY, _("E&xport"), style=wx.BU_EXACTFIT) self._BTN_archive_items = wx.Button(self, wx.ID_ANY, _(u"\u2192 Archive"), style=wx.BU_EXACTFIT) self._BTN_remove_items = wx.Button(self, wx.ID_ANY, _("&Remove"), style=wx.BU_EXACTFIT) self._BTN_print_items = wx.Button(self, wx.ID_ANY, _("&Print"), style=wx.BU_EXACTFIT) self._BTN_remote_print = wx.Button(self, wx.ID_ANY, _(u"\u2192 &Print Mgr"), style=wx.BU_EXACTFIT) self._BTN_mail_items = wx.Button(self, wx.ID_ANY, _("E-&Mail"), style=wx.BU_EXACTFIT) self._BTN_fax_items = wx.Button(self, wx.ID_ANY, _("&Fax"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_LIST_ITEM_SELECTED, self._on_list_item_selected, self._LCTRL_items) self.Bind(wx.EVT_BUTTON, self._on_add_items_button_pressed, self._BTN_add_items) self.Bind(wx.EVT_BUTTON, self._on_add_directory_button_pressed, self._BTN_add_directory) self.Bind(wx.EVT_BUTTON, self._on_add_from_archive_button_pressed, self._BTN_add_from_archive) self.Bind(wx.EVT_BUTTON, self._on_scan_items_button_pressed, self._BTN_scan_items) self.Bind(wx.EVT_BUTTON, self._on_clipboard_items_button_pressed, self._BTN_clipboard_items) self.Bind(wx.EVT_BUTTON, self._on_show_item_button_pressed, self._BTN_show_item) self.Bind(wx.EVT_BUTTON, self._on_save_items_button_pressed, self._BTN_save_items) self.Bind(wx.EVT_BUTTON, self._on_export_items_button_pressed, self._BTN_export_items) self.Bind(wx.EVT_BUTTON, self._on_archive_items_button_pressed, self._BTN_archive_items) self.Bind(wx.EVT_BUTTON, self._on_remove_items_button_pressed, self._BTN_remove_items) self.Bind(wx.EVT_BUTTON, self._on_print_items_button_pressed, self._BTN_print_items) self.Bind(wx.EVT_BUTTON, self._on_remote_print_button_pressed, self._BTN_remote_print) self.Bind(wx.EVT_BUTTON, self._on_mail_items_button_pressed, self._BTN_mail_items) self.Bind(wx.EVT_BUTTON, self._on_fax_items_button_pressed, self._BTN_fax_items)