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