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().
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 }
|