4.10. GUI_elements.py

Module container for high-level custom GUI-elements

class GUI_elements.AdvancedSpeciesEdit(*args, parent=None)
class GUI_elements.AdvancedSpeciesNew(*args, parent=None)
class GUI_elements.AntiGraph(*args, ui_obj=None, background=None, scale_factor=1, graph=None)
re_draw()

Redraw contents.

re_draw_edges()

Redraws all edge elements.

re_draw_vertices()

Redraws all column elements.

class GUI_elements.AtomicGraph(*args, ui_obj=None, background=None, scale_factor=1, mode='district')
perturb_edge(i, j, k, permute_data=True, center_view=False)

Finds the edge from i to j, and makes it point from i to k.

re_draw()

Redraw contents.

re_draw_edges()

Redraws all edge elements.

re_draw_mesh_details()

Redraws all mesh details

re_draw_vertices()

Redraws all column elements.

class GUI_elements.AtomicPositions(*args, ui_obj=None, background=None)
re_draw()

Redraw contents.

class GUI_elements.AtomicSpeciesEdit(*args, parent=None)
class GUI_elements.AtomicSpeciesNew(*args, parent=None)
class GUI_elements.AtomicSubGraph(*args, ui_obj=None, background=None, sub_graph=None, scale_factor=1)
label_angles(angle_vectors=False)

Label all sub-graph angles.

re_draw()

Redraw contents.

re_draw_edges()

Redraws all edge elements.

re_draw_vertices()

Redraws all column elements.

class GUI_elements.CalcModels(*args, ui_obj=None)
class GUI_elements.ControlWindow(*args, obj=None)
keyPressEvent(self, QKeyEvent)
class GUI_elements.CustomizeOverlay(*args, ui_obj=None)
class GUI_elements.EditSpeciesDict(*args, ui_obj=None, dict_=None)
class GUI_elements.ExportCSV(*args, ui_obj=None)
class GUI_elements.ExportPNG(*args, ui_obj=None)
class GUI_elements.ExportSVG(*args, ui_obj=None)
class GUI_elements.ExportWizard(*args, ui_obj=None)
class GUI_elements.HeatMap(*args, ui_obj=None, background=None, kernel_size=1.0, step_size=10, attribute='normalized_peak_gamma', measure_type='variance', kernel_type='square', legend=True, title='None')
class GUI_elements.HeatMapWizard(*args, ui_obj=None)
class GUI_elements.ImportWizard(*args, ui_obj=None)
class GUI_elements.OverlayComposition(*args, ui_obj=None, background=None)
re_draw()

Redraw contents.

class GUI_elements.PlotModels(*args, ui_obj=None, model=None)
class GUI_elements.PlotProject(*args, ui_obj=None)
class GUI_elements.RawImage(*args, ui_obj=None, background=None)
class GUI_elements.StaticImage(*args, ui_obj=None, background=None)
class GUI_elements.SubGraphWizard(*args, ui_obj=None)
class GUI_elements.Terminal(*args, obj=None)
class GUI_elements.TerminalHandler
emit(record)

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

class GUI_elements.TerminalTextEdit(*args)
class GUI_elements.ZoomGraphicsView(parent=None, ui_obj=None, trigger_func=None, tab_index=0, scale=1)

An adaptation of QtWidgets.QGraphicsView that supports zooming

keyPressEvent(self, QKeyEvent)
wheelEvent(self, QWheelEvent)