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 TabWidget, GLWidget, GLWidget, QWebView, QGraphicsView, QAbstractItemView, QHeaderView, QTreeView, QAbstractScrollArea, QLineEdit, QMdiSubWindow, QPlainTextEdit, QTextEdit, Q3ListBox, Q3ComboBox, Q3Header, and Q3ScrollView.

Definition at line 7699 of file qwidget.cpp.

References QWidget::mousePressEvent().

Referenced by QWidget::event(), QMdiSubWindow::mouseDoubleClickEvent(), and TabWidget::mouseDoubleClickEvent().

{
    mousePressEvent(event);                        // try mouse press event
}


Generated by  Doxygen 1.6.0   Back to index