Semi-transparent overlay widget displayed during application startup while Wireshark's protocol and plugin registration is in progress.
More...
#include <splash_overlay.h>
|
| | SplashOverlay (QWidget *parent=0) |
| | Constructs the SplashOverlay and begins tracking registration progress.
|
| |
|
| ~SplashOverlay () |
| | Destroys the SplashOverlay and releases animation resources.
|
| |
|
void | fadeOut () |
| | Starts a fade-out animation; the widget is hidden when the animation completes.
|
| |
|
| void | paintEvent (QPaintEvent *event) override |
| | Renders the overlay background, progress bar, and status text.
|
| |
|
| void | splash_update (register_action_e action, const char *message, void *dummy) |
| | C-linkage callback registered with the Wireshark registration framework.
|
| |
Semi-transparent overlay widget displayed during application startup while Wireshark's protocol and plugin registration is in progress.
Progress text is updated via the C-linkage splash_update() callback, which is declared a friend so it can call the private splashUpdate() method.
◆ SplashOverlay()
| SplashOverlay::SplashOverlay |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs the SplashOverlay and begins tracking registration progress.
- Parameters
-
| parent | Optional parent widget; the overlay sizes itself to fill the parent. |
◆ paintEvent()
| void SplashOverlay::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
Renders the overlay background, progress bar, and status text.
- Parameters
-
| event | The paint event (unused; the full widget area is always repainted). |
◆ splash_update
C-linkage callback registered with the Wireshark registration framework.
Forwards calls to SplashOverlay::instance_->splashUpdate().
- Parameters
-
| action | Current registration action. |
| message | Status message from the registration framework. |
| dummy | Unused user-data pointer. |
This function is called to update the state of the splash overlay, which could be used to display different actions or messages to the user.
- Parameters
-
| action | The type of action to perform on the splash overlay. |
| message | A string message to display along with the action. |
| dummy | A dummy parameter that is not used and can be ignored. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/splash_overlay.h
- /builds/wireshark/wireshark/ui/qt/widgets/splash_overlay.cpp