def METHOD_NAME(self):
    import wx
    if wx.GetApp() is None:
        return None
    from traitsui.api import View, Item, Group
    return View([Item('ppi'),
                 Item('width_inches'),
                 Item('height_inches', style='readonly'),
                 Item('width_pixels'),
                 Item('height_pixels', style='readonly'),
                 #Item('pixelsize', style='readonly'),
                 Item('_'),
                 Item('filename'),
                ], buttons=['OK']) #TODO - should we have cancel? Traits update whilst being edited and cancel doesn't roll back