A custom plain text edit widget for displaying followed stream data.
Definition follow_stream_text.h:19
bool isTruncated() const
Checks if the displayed text was truncated due to length limits.
Definition follow_stream_text.h:32
void addDeltaTime(double delta)
Adds a delta time metadata string to the display.
Definition follow_stream_text.cpp:103
void leaveEvent(QEvent *event)
Handles events when the mouse leaves the widget.
Definition follow_stream_text.cpp:146
void mouseClickedOnPacket(int packet_num)
Signal emitted when text belonging to a specific packet is clicked.
void clear()
Clears the text display and internal mapping.
Definition follow_stream_text.cpp:152
void mouseMovedToPacket(int packet_num)
Signal emitted when the mouse hovers over text belonging to a specific packet.
void mouseMoveEvent(QMouseEvent *event)
Handles mouse move events to track packet selection.
Definition follow_stream_text.cpp:129
int currentPacket() const
Retrieves the packet number corresponding to the current cursor position.
Definition follow_stream_text.cpp:159
void addText(QString text, bool is_from_server, uint32_t packet_num, bool colorize, bool marked)
Adds a segment of text to the display.
Definition follow_stream_text.cpp:59
void mousePressEvent(QMouseEvent *event)
Handles mouse press events to select specific packets.
Definition follow_stream_text.cpp:140