4.11. GUI_custom_components.py¶
Module container for low-level custom GUI-elements
-
class
GUI_custom_components.Arrow(*args, i=0, j=1, p1=0, 0, p2=1, 1, r=1, scale_factor=1, dual_arc=False, co_planar=False)¶
-
class
GUI_custom_components.CenterBox(*args, widget=None)¶
-
class
GUI_custom_components.CheckBox(label='', trigger_func=None, default_state=False)¶
-
class
GUI_custom_components.DistanceArrow(*args, color=None, i=0, j=1, p1=0, 0, p2=1, 1, r=1, scale_factor=1)¶
-
class
GUI_custom_components.HCenterBox(*args, widget=None)¶
-
class
GUI_custom_components.HeatLegend(*args, ui_obj=None, min=0, max=1, margin=20, width=40)¶
-
class
GUI_custom_components.InteractiveColumn(ui_obj=None, vertex=None, scale_factor=1, r=5, movable=True, selectable=True)¶ A general interactive graphical element that is meant to represent atomic columns in the GUI.
Inherits PyQt5.QtWidgets.QGraphicsEllipseItem()
-
mousePressEvent(self, QGraphicsSceneMouseEvent)¶
-
mouseReleaseEvent(event: None.mouseReleaseEvent)¶ Pass a mouse release event on to the ui_obj reference object
-
-
class
GUI_custom_components.InteractiveGraphColumn(ui_obj=None, vertex=None, scale_factor=1, r=16)¶ -
set_style()¶ Set the appearance of the shape
-
-
class
GUI_custom_components.InteractiveOverlayColumn(ui_obj=None, vertex=None, scale_factor=1, movable=True, selectable=True, r=16, pen=<PyQt5.QtGui.QPen object>, brush=<PyQt5.QtGui.QBrush object>)¶ -
set_style()¶ Set the appearance of the shape
-
-
class
GUI_custom_components.InteractivePosColumn(ui_obj=None, vertex=None, scale_factor=1, movable=True, r=16)¶ -
set_style()¶ Set the appearance of the shape
-
-
class
GUI_custom_components.Label(text='', value='')¶
-
class
GUI_custom_components.Legend(*args, ui_obj=None)¶
-
class
GUI_custom_components.MediumButton(*args, trigger_func=None)¶
-
class
GUI_custom_components.MeshDetail(*args, mesh=None)¶ -
mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
-
-
class
GUI_custom_components.MoveControls(*args, text='', trigger_chb=None, trigger_1=None, trigger_2=None)¶ -
blockSignals(self, bool) → bool¶
-
-
class
GUI_custom_components.RgbaSelector(*args, r=100, g=100, b=100, a=100)¶
-
class
GUI_custom_components.ScaleBar(*args, length=2, scale=5, r=10, height=512, unit='nm')¶
-
class
GUI_custom_components.SetButton(obj, trigger_func=None)¶
-
class
GUI_custom_components.SetButtonLayout(*args, obj=None, trigger_func=None, text='', value='')¶
-
class
GUI_custom_components.SmallButton(*args, trigger_func=None)¶
-
class
GUI_custom_components.StudioButton(*args, ui_obj=None, nominal_attribute='', category='')¶
-
class
GUI_custom_components.StudioView(*args, ui_obj=None)¶
-
class
GUI_custom_components.VCenterBox(*args, widget=None)¶