2019-08-08 20:43:30 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <LibCore/CTimer.h>
|
|
|
|
|
#include <LibGUI/GWidget.h>
|
|
|
|
|
|
|
|
|
|
class GTableView;
|
|
|
|
|
|
|
|
|
|
class NetworkStatisticsWidget final : public GWidget {
|
|
|
|
|
C_OBJECT(NetworkStatisticsWidget)
|
|
|
|
|
public:
|
|
|
|
|
virtual ~NetworkStatisticsWidget() override;
|
|
|
|
|
|
|
|
|
|
private:
|
2019-09-21 18:17:23 +02:00
|
|
|
explicit NetworkStatisticsWidget(GWidget* parent = nullptr);
|
2019-08-08 20:43:30 +02:00
|
|
|
void update_models();
|
|
|
|
|
|
2019-09-22 00:31:54 +02:00
|
|
|
RefPtr<GTableView> m_adapter_table_view;
|
|
|
|
|
RefPtr<GTableView> m_socket_table_view;
|
|
|
|
|
RefPtr<CTimer> m_update_timer;
|
2019-08-08 20:43:30 +02:00
|
|
|
};
|