mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 00:51:56 -05:00
0875a12cad
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2464 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
16 lines
317 B
C++
16 lines
317 B
C++
#include "displaytext.h"
|
|
#include <QDebug>
|
|
#include <QMouseEvent>
|
|
|
|
DisplayText::DisplayText(QWidget *parent) :
|
|
QTextBrowser(parent)
|
|
{
|
|
}
|
|
|
|
void DisplayText::mouseDoubleClickEvent(QMouseEvent *e)
|
|
{
|
|
bool ctrl = (e->modifiers() & 0x4000000);
|
|
emit(selectCallsign(ctrl));
|
|
QTextBrowser::mouseDoubleClickEvent(e);
|
|
}
|