gui/gui_mainLayout.py
def click(self, event):
        """
        This function intercepts the mouse's right click and its position.
        """
        if event.button == 3:
            if self.ui.tabWidget.currentIndex() == TabWidget.NORMAL_MODE:
                self.pos = QtGui.QCursor().pos()
                self.graphic_context_menu(self.pos)
def click(self, event):
        """
        This function intercepts the mouse's right click and its position.
        """
        if event.button == 3:
            if self.ui.tabWidget.currentIndex() == TabWidget.NORMAL_MODE:
                self.pos = QtGui.QCursor().pos()
                self.graphic_context_menu(self.pos)
def click ( self , event ) : if event . button == 3 : if self . ui . tabWidget . currentIndex ( ) == TabWidget . NORMAL_MODE : self . pos = QtGui . QCursor ( ) . pos ( ) self . graphic_context_menu ( self . pos )
This function intercepts the mouse's right click and its position.
This function intercepts the mouse s right click and its position .