Пример #1
0
    def update_displayed_tags(self, ds=None):

        # now deal with property list
        if ds is None:
            ds = self._ds
        self.main.m_propertyGrid.Clear()
        if ds is None:
            return
        populate_dicom_properties(ds, self.main.m_propertyGrid, display_tag_numbers=False,
                                  search_filter=self._search_filter)
Пример #2
0
    def update_displayed_tags(self, ds=None):

        # now deal with property list
        if ds is None:
            ds = self._ds
        self.main.m_propertyGrid.Clear()
        if ds is None:
            return
        populate_dicom_properties(ds,
                                  self.main.m_propertyGrid,
                                  display_tag_numbers=False,
                                  search_filter=self._search_filter)
Пример #3
0
    def UpdateDICOMHeaderValues(self):

        self._dicom_page.Clear()

        # get main frame widget - abort if something goes wrong
        # for instance - handle case where all tabs are closed
        try:
            image = component.getUtility(ICurrentImage)
            dicom_header = image.GetDICOMHeader()
        except:
            return

        # DICOM Info
        self._dicom_page.Append(wxpg.PropertyCategory("DICOM Tags"))

        populate_dicom_properties(dicom_header, self._dicom_page, search_filter=self._search_filter)
Пример #4
0
    def UpdateDICOMHeaderValues(self):

        self._dicom_page.Clear()

        # get main frame widget - abort if something goes wrong
        # for instance - handle case where all tabs are closed
        try:
            image = component.getUtility(ICurrentImage)
            dicom_header = image.GetDICOMHeader()
        except:
            return

        # DICOM Info
        self._dicom_page.Append(wxpg.PropertyCategory("DICOM Tags"))

        populate_dicom_properties(dicom_header,
                                  self._dicom_page,
                                  search_filter=self._search_filter)