Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void View::mouseReleaseEvent ( QMouseEvent event ) [protected, virtual]

[3]

[5]

Reimplemented from QGraphicsView.

Definition at line 107 of file view.cpp.

References QGraphicsView::itemAt(), QMouseEvent::pos(), and showInformation().

{
    if (QGraphicsItem *item = itemAt(event->pos())) {
        if (ImageItem *image = qgraphicsitem_cast<ImageItem *>(item))
            showInformation(image);
    }
    QGraphicsView::mouseReleaseEvent(event);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index