|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
The main status bar of the application. More...
#include <main_status_bar.h>
Public Slots | |
| void | setCaptureFile (capture_file *cf) |
| Sets the active capture file. | |
| void | selectedFieldChanged (FieldInformation *finfo) |
| Handles a change in the selected field. | |
| void | highlightedFieldChanged (FieldInformation *finfo) |
| Handles a change in the highlighted field. | |
| void | selectedFrameChanged (QList< int >) |
| Handles a change in the selected frame. | |
| void | updateCaptureStatistics (capture_session *cap_session) |
| Updates the capture statistics. | |
| void | updateCaptureFixedStatistics (capture_session *cap_session) |
| Updates fixed capture statistics. | |
| void | captureEventHandler (CaptureEvent ev) |
| Handles a capture event. | |
Public Member Functions | |
| MainStatusBar (QWidget *parent=0) | |
| Constructs a new MainStatusBar. | |
| virtual | ~MainStatusBar () |
| Destroys the MainStatusBar. | |
| void | showExpert () |
| Shows the expert information dialog. | |
| void | captureFileClosing () |
| Handles the capture file closing event. | |
| void | expertUpdate () |
| Updates the expert information status. | |
| void | setFileName (CaptureFile &cf) |
| Sets the file name to display. | |
Protected Types | |
| enum | StatusContext { STATUS_CTX_MAIN , STATUS_CTX_FILE , STATUS_CTX_FIELD , STATUS_CTX_BYTE , STATUS_CTX_FILTER , STATUS_CTX_PROGRESS , STATUS_CTX_TEMPORARY } |
| Context identifiers for status bar messages. More... | |
Protected Member Functions | |
| virtual void | changeEvent (QEvent *event) |
| Handles state change events. | |
| virtual void | showCaptureStatistics () |
| Displays the capture statistics. | |
| void | pushGenericStatus (StatusContext status, const QString &message, const QString &messagetip=QString()) |
| Pushes a generic status message. | |
| void | popGenericStatus (StatusContext status) |
| Pops a generic status message. | |
Protected Attributes | |
| capture_file * | cap_file_ |
| bool | cs_fixed_ |
| uint64_t | cs_count_ |
The main status bar of the application.
|
protected |
|
explicit |
Constructs a new MainStatusBar.
| parent | The parent widget, defaults to 0. |
|
slot |
Handles a capture event.
| ev | The capture event to process. |
|
protectedvirtual |
Handles state change events.
| event | The event to handle. |
|
slot |
Handles a change in the highlighted field.
| finfo | Pointer to the highlighted field information. |
|
protected |
Pops a generic status message.
| status | The status context to pop. |
|
protected |
Pushes a generic status message.
| status | The status context. |
| message | The message text. |
| messagetip | Optional tooltip for the message. |
|
slot |
Handles a change in the selected field.
| finfo | Pointer to the new field information. |
|
slot |
Sets the active capture file.
| cf | Pointer to the capture file. |
| void MainStatusBar::setFileName | ( | CaptureFile & | cf | ) |
Sets the file name to display.
| cf | The capture file. |
|
protectedvirtual |
Displays the capture statistics.
Reimplemented in StratosharkMainStatusBar.
|
slot |
Updates fixed capture statistics.
| cap_session | Pointer to the capture session. |
|
slot |
Updates the capture statistics.
| cap_session | Pointer to the capture session. |
|
protected |
Pointer to the active capture file.
|
protected |
Count of captured statistics.
|
protected |
Flag indicating if capture statistics are fixed.