Viewers for images and parameters.
-
class bestgui.viewers.AnnotationsViewer(gladefile=None, root='annotations_scrolled')
Viewer for the BEST annotations dump files.
-
clear()
-
show_contents(filename=None)
-
class bestgui.viewers.BESTProductViewer(productfile, runfunc)
-
clear()
-
close()
-
generate(workdir=None, template=None)
-
get_needs_update()
-
get_template()
-
needs_update
-
set_needs_update(value)
Set the needs_update property
True – force update
False – force no update
None – auto update (the update is required only if one or both
data files do not exist
-
show_contents()
-
class bestgui.viewers.BaseBESTProductViewer(gladefile=None, root='hpaned')
-
show_contents(dumpfile=None, ql_imagefile=None, qlg_imagefile=None)
-
class bestgui.viewers.ESAAnnotationsViewer(gladefile=None, root='annotations_scrolled')
-
clear()
-
show_contents(filename=None)
-
class bestgui.viewers.GladeViewer(gladefile, root)
- Base class for BEST viewers defined by a glade file
-
class bestgui.viewers.ImageViewer(gladefile=None, root='image_table')
Viewer for images
-
center(xc, yc)
-
center_image()
-
clear()
-
data_to_drawingarea_coor(x, y)
- Convert coordinates from the data_pixbuf reference system into
the drawingarea one.
-
drawingarea_to_data_coor(x, y)
- Convert coordinates from the drawingarea reference system into
the data_pixbuf one.
-
fit_ratio(width=None, height=None, mode='Fit')
-
get_available_size()
- Return the available size (widht, height) for the image
-
get_current_ratio()
-
on_adjust_value_changed(adjust, ruler, horiz)
-
on_drawingarea_button_press_event(widget, event)
-
on_drawingarea_button_release_event(widget, event)
-
on_drawingarea_expose_event(area, event=None)
-
on_drawingarea_motion_notify_event(widget, event, data=None)
-
on_focus_out_event(event=None, data=None)
-
on_table_size_allocate(widget, allocation)
-
on_zoom1(widget=None)
-
on_zoom_comboboxentry_changed(widget=None, data=None)
-
on_zoom_entry_activated(widget=None, data=None)
-
on_zoom_fit(widget=None, mode='Fit')
-
on_zoom_in(widget=None, data=None)
-
on_zoom_out(widget=None, data=None)
-
show_contents(filename=None)
-
zoom(ratio)
-
class bestgui.viewers.QuickLookViewer(gladefile=None, root='image_table')
-
get_active_filename()
-
get_showgrid()
-
on_showgrid_toggled(widget=None, data=None)
-
set_showgrid(value)
-
show_contents(ql_imagefile=None, qlg_imagefile=None)
-
showgrid
-
class bestgui.viewers.Viewer
Base class for BEST viewers
-
clear()
-
close()
-
show_contents()