Change testGI to GraphicsItem instead of GraphicsObject and use MouseMoveEvent instead of signals and slots.