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

void QWidget::mouseDoubleClickEvent ( QMouseEvent event  )  [protected, virtual, inherited]

This event handler, for event event, can be reimplemented in a subclass to receive mouse double click events for the widget.

The default implementation generates a normal mouse press event.

Note that the widgets gets a mousePressEvent() and a mouseReleaseEvent() before the mouseDoubleClickEvent().

See also:
mousePressEvent(), mouseReleaseEvent() mouseMoveEvent(), event(), QMouseEvent

Reimplemented in QGraphicsView, QAbstractItemView, QHeaderView, QTreeView, QAbstractScrollArea, QLineEdit, QTextEdit, Q3ListBox, Q3ComboBox, Q3Header, and Q3ScrollView.

Definition at line 6219 of file qwidget.cpp.

References QWidget::mousePressEvent().

Referenced by QWidget::event().

    mousePressEvent(event);                        // try mouse press event

Generated by  Doxygen 1.6.0   Back to index