``onclick_measure`` ==================================================== .. py:module:: optimeed.visualize.onclick.onclick_measure Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: optimeed.visualize.onclick.onclick_measure._LineItem optimeed.visualize.onclick.onclick_measure.Onclick_measure .. py:class:: _LineItem(point1, point2) Bases: :py:obj:`optimeed.visualize.graphs.pyqtgraph.GraphicsObject` **Bases:** :class:`GraphicsItem `, :class:`QtWidgets.QGraphicsObject` Extension of QGraphicsObject with some useful methods (provided by :class:`GraphicsItem `) .. py:method:: paint(p, *args) .. py:method:: boundingRect() .. py:class:: Onclick_measure Bases: :py:obj:`optimeed.visualize.onclick.onclickInterface.OnclickInterface` On Click: Measure distance. Click on two points to perform that action .. py:method:: graph_clicked(the_graph_visual, index_graph, index_trace, indices_points) Action to perform when a graph is clicked :param theGraphsVisual: class widget_graphs_visual that has called the method :param index_graph: Index of the graph that has been clicked :param index_trace: Index of the trace that has been clicked :param indices_points: graph Indices of the points that have been clicked :return: .. py:method:: reset_distance() .. py:method:: display_distance() .. py:method:: get_name()