diff options
| author | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:51 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:51 -0700 |
| commit | 1fc24d9474229c0f382da5def559f5de7b903f86 (patch) | |
| tree | 8a745660a498dbd6209a198679b821799f107024 /qmap/displaytext.cpp | |
| parent | 65e5ae53a0358d9a3d040b13e0cf84556a7b4812 (diff) | |
| parent | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (diff) | |
Update upstream source from tag 'upstream/2.7.0_rc2+repack'
Update to upstream version '2.7.0~rc2+repack'
with Debian dir c24f4e90e5ec8585c79007453c538689dc460e86
Diffstat (limited to 'qmap/displaytext.cpp')
| -rwxr-xr-x | qmap/displaytext.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qmap/displaytext.cpp b/qmap/displaytext.cpp new file mode 100755 index 00000000..4f2ac0b6 --- /dev/null +++ b/qmap/displaytext.cpp @@ -0,0 +1,15 @@ +#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);
+}
|
