The main status bar of the application.
More...
#include <main_status_bar.h>
|
|
void | showExpertInfo () |
| | Signal emitted to show the expert info dialog.
|
|
void | editCaptureComment () |
| | Signal emitted to edit the capture comment.
|
|
void | stopLoading () |
| | Signal emitted to stop the loading process.
|
|
| | 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.
|
| void | setFieldStatusSupplement (const QString &supplement, bool include_selected_field=true) |
| | Optional supplement for STATUS_CTX_FIELD, formatted by the caller.
|
The main status bar of the application.
◆ StatusContext
Context identifiers for status bar messages.
| Enumerator |
|---|
| STATUS_CTX_MAIN | Main context.
|
| STATUS_CTX_FILE | File context.
|
| STATUS_CTX_FIELD | Field context.
|
| STATUS_CTX_BYTE | Byte context.
|
| STATUS_CTX_FILTER | Filter context.
|
| STATUS_CTX_PROGRESS | Progress context.
|
| STATUS_CTX_TEMPORARY | Temporary context.
|
◆ MainStatusBar()
| MainStatusBar::MainStatusBar |
( |
QWidget * | parent = 0 | ) |
|
|
explicit |
Constructs a new MainStatusBar.
- Parameters
-
| parent | The parent widget, defaults to 0. |
◆ captureEventHandler
Handles a capture event.
- Parameters
-
| ev | The capture event to process. |
◆ changeEvent()
| void MainStatusBar::changeEvent |
( |
QEvent * | event | ) |
|
|
overrideprotectedvirtual |
Handles state change events.
- Parameters
-
| event | The event to handle. |
◆ highlightedFieldChanged
Handles a change in the highlighted field.
- Parameters
-
| finfo | Pointer to the highlighted field information. |
◆ popGenericStatus()
Pops a generic status message.
- Parameters
-
| status | The status context to pop. |
◆ pushGenericStatus()
| void MainStatusBar::pushGenericStatus |
( |
StatusContext | status, |
|
|
const QString & | message, |
|
|
const QString & | messagetip = QString() ) |
|
protected |
Pushes a generic status message.
- Parameters
-
| status | The status context. |
| message | The message text. |
| messagetip | Optional tooltip for the message. |
◆ selectedFieldChanged
Handles a change in the selected field.
- Parameters
-
| finfo | Pointer to the new field information. |
◆ setCaptureFile
Sets the active capture file.
- Parameters
-
| cf | Pointer to the capture file. |
◆ setFieldStatusSupplement()
| void MainStatusBar::setFieldStatusSupplement |
( |
const QString & | supplement, |
|
|
bool | include_selected_field = true ) |
Optional supplement for STATUS_CTX_FIELD, formatted by the caller.
When include_selected_field is true and a field is selected, the selected-field text is appended after supplement.
◆ setFileName()
Sets the file name to display.
- Parameters
-
◆ showCaptureStatistics()
| void MainStatusBar::showCaptureStatistics |
( |
| ) |
|
|
protectedvirtual |
◆ updateCaptureFixedStatistics
| void MainStatusBar::updateCaptureFixedStatistics |
( |
capture_session * | cap_session | ) |
|
|
slot |
Updates fixed capture statistics.
- Parameters
-
| cap_session | Pointer to the capture session. |
◆ updateCaptureStatistics
| void MainStatusBar::updateCaptureStatistics |
( |
capture_session * | cap_session | ) |
|
|
slot |
Updates the capture statistics.
- Parameters
-
| cap_session | Pointer to the capture session. |
◆ cap_file_
Pointer to the active capture file.
◆ cs_count_
| uint64_t MainStatusBar::cs_count_ |
|
protected |
Count of captured statistics.
◆ cs_fixed_
| bool MainStatusBar::cs_fixed_ |
|
protected |
Flag indicating if capture statistics are fixed.
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/main_status_bar.h
- /builds/wireshark/wireshark/ui/qt/main_status_bar.cpp