#163 QwtPickerPolygonMachine: wrong key/command mapping

closed
None
5
2012-07-20
2012-05-28
srunkel
No

The documentation states:
"
Pressing QwtEventPattern::MouseSelect1 or QwtEventPattern::KeySelect1 starts the selection and selects the first point, or appends a point. Pressing QwtEventPattern::MouseSelect2 or QwtEventPattern::KeySelect2 appends the last point and terminates the selection
"

However, that intuitive mapping is not implemented.

Please find attached a patch against 6.01 to achive that.

Discussion

  • srunkel

    srunkel - 2012-05-28

    qwt_picker_machine.cpp.patch

     
  • srunkel

    srunkel - 2012-06-10
    • assigned_to: nobody --> rathmann
    • status: open --> pending-works-for-me
     
  • Uwe Rathmann

    Uwe Rathmann - 2012-06-11

    Indeed the implementation differs from the documentation and I agree, that the documented model is more intuitive - but changing the code will break all applications using this state machine.

     
  • Uwe Rathmann

    Uwe Rathmann - 2012-06-11
    • status: pending-works-for-me --> open-accepted
     
  • Uwe Rathmann

    Uwe Rathmann - 2012-07-20

    Fixed in 6.0 and trunk.

     
  • Uwe Rathmann

    Uwe Rathmann - 2012-07-20
    • status: open-accepted --> closed-fixed
     

Anonymous
Anonymous

Cancel  Add attachments