Eneboo - Documentación para desarrolladores
|
Métodos públicos | |
QTextDetailPopup () | |
Métodos protegidos | |
void | mousePressEvent (QMouseEvent *) |
QTextDetailPopup::QTextDetailPopup | ( | ) | [inline] |
void QTextDetailPopup::mousePressEvent | ( | QMouseEvent * | e | ) | [inline, protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive mouse press events for the widget.
If you create new widgets in the mousePressEvent() the mouseReleaseEvent() may not end up where you expect, depending on the underlying window system (or X11 window manager), the widgets' location and maybe more.
The default implementation implements the closing of popup widgets when you click outside the window. For other widget types it does nothing.
Reimplementado de QWidget.