basicViewerPython.py
def mouseEvent(self, e):
        """The Qt window has been sent mouse input, which we send to the
        Server. This method only handles click and move events, not scrollwheel
        events.
        """

        # A mapping between the Qt enumerations and the SDK enumerations
        mouse_map = {
            int(QtCore.Qt.LeftButton):
                vncsdk.Viewer.MouseButton.MOUSE_BUTTON_LEFT,
            int(QtCore.Qt.RightButton):
                vncsdk.Viewer.MouseButton.MOUSE_BUTTON_RIGHT,
            int(QtCore.Qt.MiddleButton):
                vncsdk.Viewer.MouseButton.MOUSE_BUTTON_MIDDLE
        }

        raw_buttons = int(e.buttons())
        mouse_mask = {v for k, v in mouse_map.items() if k & raw_buttons}

        vncsdk.EventLoop.run_on_loop(viewer_conn.on_pointer_event,
                                     (e.x(), e.y(), mouse_mask))
The Qt window has been sent mouse input, which we send to the
        Server. This method only handles click and move events, not scrollwheel
        events.
        
The Qt window has been sent mouse input, which we send to the
Server. This method only handles click and move events, not scrollwheel
events.
The Qt window has been sent mouse input which we send to the Server . This method only handles click and move events not scrollwheel events .
def mouseEvent(self, e):
        mouse_map = {
            int(QtCore.Qt.LeftButton):
                vncsdk.Viewer.MouseButton.MOUSE_BUTTON_LEFT,
            int(QtCore.Qt.RightButton):
                vncsdk.Viewer.MouseButton.MOUSE_BUTTON_RIGHT,
            int(QtCore.Qt.MiddleButton):
                vncsdk.Viewer.MouseButton.MOUSE_BUTTON_MIDDLE
        }
        raw_buttons = int(e.buttons())
        mouse_mask = {v for k, v in mouse_map.items() if k & raw_buttons}
        vncsdk.EventLoop.run_on_loop(viewer_conn.on_pointer_event,
                                     (e.x(), e.y(), mouse_mask))
def mouseEvent ( self , e ) : mouse_map = { int ( QtCore . Qt . LeftButton ) : vncsdk . Viewer . MouseButton . MOUSE_BUTTON_LEFT , int ( QtCore . Qt . RightButton ) : vncsdk . Viewer . MouseButton . MOUSE_BUTTON_RIGHT , int ( QtCore . Qt . MiddleButton ) : vncsdk . Viewer . MouseButton . MOUSE_BUTTON_MIDDLE } raw_buttons = int ( e . buttons ( ) ) mouse_mask = { v for k , v in mouse_map . items ( ) if k & raw_buttons } vncsdk . EventLoop . run_on_loop ( viewer_conn . on_pointer_event , ( e . x ( ) , e . y ( ) , mouse_mask ) )
The Qt window has been sent mouse input, which we send to the
Server.
The Qt window has been sent mouse input which we send to the Server .
"""The Qt window has been sent mouse input, which we send to the
        Server. This method only handles click and move events, not scrollwheel
        events.
        """ # A mapping between the Qt enumerations and the SDK enumerations
self
e