WSJT-X/displaytext.cpp
Joe Taylor e541f7fd4a Make freqs in mainwindow properly follow mouse clicks on waterfall.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2764 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2012-11-23 16:44:40 +00:00

16 lines
327 B
C++

#include "displaytext.h"
#include <QDebug>
#include <QMouseEvent>
DisplayText::DisplayText(QWidget *parent) :
QTextBrowser(parent)
{
}
void DisplayText::mouseDoubleClickEvent(QMouseEvent *e)
{
bool ctrl = (e->modifiers() & Qt::ControlModifier);
emit(selectCallsign(ctrl));
QTextBrowser::mouseDoubleClickEvent(e);
}