mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-03 16:01:18 -05:00
e541f7fd4a
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2764 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
16 lines
327 B
C++
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);
|
|
}
|