2015-07-12 00:04:18 -04:00
|
|
|
#include "ui_BandwidthStatsWidget.h"
|
|
|
|
#include "BWGraph.h"
|
|
|
|
|
|
|
|
class BandwidthStatsWidget: public QWidget
|
|
|
|
{
|
2015-07-12 23:04:36 -04:00
|
|
|
Q_OBJECT
|
|
|
|
|
2015-07-12 00:04:18 -04:00
|
|
|
public:
|
|
|
|
BandwidthStatsWidget(QWidget *parent) ;
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void updateFriendSelection(int n);
|
|
|
|
void updateServiceSelection(int n);
|
2015-07-12 23:04:36 -04:00
|
|
|
void updateComboBoxes() ;
|
|
|
|
void updateUpDownSelection(int n);
|
|
|
|
void updateUnitSelection(int n);
|
2016-01-16 11:30:15 -05:00
|
|
|
void toggleLogScale(bool b);
|
|
|
|
|
2015-07-12 00:04:18 -04:00
|
|
|
private:
|
|
|
|
Ui::BwStatsWidget ui;
|
2015-07-12 23:04:36 -04:00
|
|
|
|
|
|
|
QTimer *mTimer ;
|
2015-07-12 00:04:18 -04:00
|
|
|
};
|