Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
follow_stream_text.h
1 /* follow_stream_text.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef FOLLOW_STREAM_TEXT_H
11 #define FOLLOW_STREAM_TEXT_H
12 
13 #include <QPlainTextEdit>
14 
15 class FollowStreamText : public QPlainTextEdit
16 {
17  Q_OBJECT
18 public:
19  explicit FollowStreamText(QWidget *parent = 0);
20 
21 protected:
22  void mouseMoveEvent(QMouseEvent *event);
23  void mousePressEvent(QMouseEvent *event);
24  void leaveEvent(QEvent *event);
25 
26 signals:
27  // Perhaps this is not descriptive enough. We should add more words.
28  void mouseMovedToTextCursorPosition(int);
29  void mouseClickedOnTextCursorPosition(int);
30 
31 public slots:
32 
33 };
34 
35 #endif // FOLLOW_STREAM_TEXT_H
36 
37 /*
38  * Editor modelines
39  *
40  * Local Variables:
41  * c-basic-offset: 4
42  * tab-width: 8
43  * indent-tabs-mode: nil
44  * End:
45  *
46  * ex: set shiftwidth=4 tabstop=8 expandtab:
47  * :indentSize=4:tabSize=8:noTabs=true:
48  */
Definition: follow_stream_text.h:15