[Qt-interest] Mouse click on QTextBrowser.
Christopher Probst
cprobst at ics.com
Fri Mar 19 11:30:28 CET 2010
So the changes are
Instead of
> brw->installEventFilter(this);
in constructor Dialog::Dialog(QWidget *parent, Qt::WindowFlags flags),
do
brw->viewport()->installEventFilter(this);
and instead of
> if(target == brw &&
in Dialog::eventFilter(QObject* target, QEvent* event) do
do
if(target == brw->viewport() &&...
Thanks,
Christo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100319/f7c14bc6/attachment.html
More information about the Qt-interest-old
mailing list