Network status indicator widget for status bar. More...
#include <NetStatusStatusBarIconWidget.h>
Public Member Functions | |
NetStatusStatusBarIconWidget (QWidget *parent=nullptr) | |
Constructs the network status widget. | |
void | processingStatus (NetWorkState type) |
Updates the displayed network status. | |
bool | iconEvents (IconEvent *icons) override |
Handles icon-related events. | |
![]() | |
StaticStatusBarIconWidget (QString name, QWidget *parent=nullptr) | |
Construct a new Static Status Bar Icon Widget object. | |
QPixmap | icon () |
get the icons | |
void | setIcon (const QPixmap &map) |
Set the Icon object. | |
void | adjustSelfHeight (int height) override |
adjust the icons size | |
![]() | |
StatusBarIconWidget (QString labeled_name, QWidget *parent=nullptr) | |
Constructs a StatusBarIconWidget. | |
virtual | ~StatusBarIconWidget ()=default |
Destroys the StatusBarIconWidget. | |
QString | labeledName () const |
Returns the labeled name of this icon. | |
bool | processIconsEvent (IconEvent *icons) |
Handles an IconEvent. | |
Network status indicator widget for status bar.
Shows current network connectivity status and handles related events.
|
explicit |
Constructs the network status widget.
parent | Parent widget (optional) |
|
overridevirtual |
Handles icon-related events.
icons | Event to process |
Reimplemented from StatusBarIconWidget.
void NetStatusStatusBarIconWidget::processingStatus | ( | NetWorkState | type | ) |
Updates the displayed network status.
type | New network state to display |