Пример #1
0
def create_vacc_popup(parent, pos, size, style, data_sink):
    ea = gmVaccWidgets.cVaccinationEditArea(parent=parent,
                                            id=-1,
                                            pos=pos,
                                            size=size,
                                            style=style,
                                            data_sink=data_sink)
    popup = gmEditArea.cEditAreaPopup(parent=parent,
                                      id=-1,
                                      title=_('Enter vaccination given'),
                                      pos=pos,
                                      size=size,
                                      style=style,
                                      name='',
                                      edit_area=ea)
    return popup
Пример #2
0
def create_issue_popup(parent, pos, size, style, data_sink):
    ea = gmEMRStructWidgets.cHealthIssueEditArea(parent,
                                                 -1,
                                                 wx.DefaultPosition,
                                                 wx.DefaultSize,
                                                 wx.NO_BORDER
                                                 | wx.TAB_TRAVERSAL,
                                                 data_sink=data_sink)
    popup = gmEditArea.cEditAreaPopup(parent=parent,
                                      id=-1,
                                      title='',
                                      pos=pos,
                                      size=size,
                                      style=style,
                                      name='',
                                      edit_area=ea)
    return popup
Пример #3
0
def create_vacc_popup(parent, pos, size, style, data_sink):
	ea = gmVaccWidgets.cVaccinationEditArea (
		parent = parent,
		id = -1,
      	pos = pos,
		size = size,
		style = style,
		data_sink = data_sink
	)
	popup = gmEditArea.cEditAreaPopup (
		parent = parent,
		id = -1,
		title = _('Enter vaccination given'),
		pos = pos,
		size = size,
		style = style,
		name = '',
		edit_area = ea
	)
	return popup
Пример #4
0
def create_issue_popup(parent, pos, size, style, data_sink):
	ea = gmEMRStructWidgets.cHealthIssueEditArea (
		parent,
		-1,
		wx.DefaultPosition,
		wx.DefaultSize,
		wx.NO_BORDER | wx.TAB_TRAVERSAL,
		data_sink = data_sink
	)
	popup = gmEditArea.cEditAreaPopup (
		parent = parent,
		id = -1,
		title = '',
		pos = pos,
		size = size,
		style = style,
		name = '',
		edit_area = ea
	)
	return popup