gui/gui_mainLayout.py
def mouse_move(self, event):
        """
        The following gets back coordinates of the mouse on the canvas.
        """
        if (self.ui.tabWidget.currentIndex() == TabWidget.NORMAL_MODE):
            self.posX = event.xdata
            self.posY = event.ydata

            self.graphic_target(self.posX, self.posY)
def mouse_move(self, event):
        if (self.ui.tabWidget.currentIndex() == TabWidget.NORMAL_MODE):
            self.posX = event.xdata
            self.posY = event.ydata

            self.graphic_target(self.posX, self.posY)
def mouse_move ( self , event ) : if ( self . ui . tabWidget . currentIndex ( ) == TabWidget . NORMAL_MODE ) : self . posX = event . xdata self . posY = event . ydata self . graphic_target ( self . posX , self . posY )
The following gets back coordinates of the mouse on the canvas.
The following gets back coordinates of the mouse on the canvas .