#include <StatsPage.hpp>
Public Member Functions | |
| StatsPage () | |
| void | updateStats (uint64_t allowed, uint64_t denied, uint64_t total) |
Private Member Functions | |
| void | buildGrid () |
Private Attributes | |
| Gtk::Grid | m_grid |
| Gtk::Label | m_allowedLabel |
| Gtk::Label | m_deniedLabel |
| Gtk::Label | m_totalLabel |
| Gtk::Label | m_allowedVal { "0" } |
| Gtk::Label | m_deniedVal { "0" } |
| Gtk::Label | m_totalVal { "0" } |
Definition at line 9 of file StatsPage.hpp.
| StatsPage::StatsPage | ( | ) |
Definition at line 9 of file StatsPage.cpp.
References _, buildGrid(), and m_grid.
|
private |
Definition at line 25 of file StatsPage.cpp.
References _, m_allowedLabel, m_allowedVal, m_deniedLabel, m_deniedVal, m_grid, m_totalLabel, and m_totalVal.
Referenced by StatsPage().
| void StatsPage::updateStats | ( | uint64_t | allowed, |
| uint64_t | denied, | ||
| uint64_t | total ) |
Definition at line 50 of file StatsPage.cpp.
References m_allowedVal, m_deniedVal, and m_totalVal.
Referenced by MainWindow::onDaemonAlert(), MainWindow::onNewConnection(), and MainWindow::onVerdict().
|
private |
Definition at line 18 of file StatsPage.hpp.
Referenced by buildGrid().
|
private |
Definition at line 21 of file StatsPage.hpp.
Referenced by buildGrid(), and updateStats().
|
private |
Definition at line 19 of file StatsPage.hpp.
Referenced by buildGrid().
|
private |
Definition at line 22 of file StatsPage.hpp.
Referenced by buildGrid(), and updateStats().
|
private |
Definition at line 17 of file StatsPage.hpp.
Referenced by buildGrid(), and StatsPage().
|
private |
Definition at line 20 of file StatsPage.hpp.
Referenced by buildGrid().
|
private |
Definition at line 23 of file StatsPage.hpp.
Referenced by buildGrid(), and updateStats().