summaryrefslogtreecommitdiffstats
path: root/ui/qt/widgets/follow_stream_text.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/widgets/follow_stream_text.h')
-rw-r--r--ui/qt/widgets/follow_stream_text.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/ui/qt/widgets/follow_stream_text.h b/ui/qt/widgets/follow_stream_text.h
new file mode 100644
index 00000000..0dd8dca5
--- /dev/null
+++ b/ui/qt/widgets/follow_stream_text.h
@@ -0,0 +1,35 @@
+/** @file
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef FOLLOW_STREAM_TEXT_H
+#define FOLLOW_STREAM_TEXT_H
+
+#include <QPlainTextEdit>
+
+class FollowStreamText : public QPlainTextEdit
+{
+ Q_OBJECT
+public:
+ explicit FollowStreamText(QWidget *parent = 0);
+
+protected:
+ void mouseMoveEvent(QMouseEvent *event);
+ void mousePressEvent(QMouseEvent *event);
+ void leaveEvent(QEvent *event);
+
+signals:
+ // Perhaps this is not descriptive enough. We should add more words.
+ void mouseMovedToTextCursorPosition(int);
+ void mouseClickedOnTextCursorPosition(int);
+
+public slots:
+
+};
+
+#endif // FOLLOW_STREAM_TEXT_H