Added the quaternion rotation to the cube with a friction for the deceleration
Change a little the structure of the opengl wodget class and add comments