| 417 | } |
| 418 | |
| 419 | void mouseDoubleClickEvent (QMouseEvent *e) |
| 420 | { |
| 421 | BEGIN_PROTECTED |
| 422 | |
| 423 | db::DPoint p; |
| 424 | #if QT_VERSION < 0x60000 |
| 425 | p = db::DPoint (e->pos ().x (), e->pos ().y ()); |
| 426 | #else |
| 427 | p = db::DPoint (e->position ().x (), e->position ().y ()); |
| 428 | #endif |
| 429 | |
| 430 | mp_view->send_mouse_double_clicked_event (p, qt_to_buttons (e->buttons (), e->modifiers ())); |
| 431 | |
| 432 | END_PROTECTED |
| 433 | } |
| 434 | |
| 435 | void |
| 436 | #if QT_VERSION >= 0x60000 |
no test coverage detected