#include <vidalia.h>
#include <bandwidthevent.h>
#include "bwgraph.h"
Go to the source code of this file.
Defines | |
#define | BWGRAPH_LINE_SEND (1u<<0) |
#define | BWGRAPH_LINE_RECV (1u<<1) |
#define | SETTING_FILTER "LineFilter" |
#define | SETTING_OPACITY "Opacity" |
#define | SETTING_ALWAYS_ON_TOP "AlwaysOnTop" |
#define | SETTING_STYLE "GraphStyle" |
#define | DEFAULT_FILTER (BWGRAPH_LINE_SEND|BWGRAPH_LINE_RECV) |
#define | DEFAULT_ALWAYS_ON_TOP false |
#define | DEFAULT_OPACITY 100 |
#define | DEFAULT_STYLE GraphFrame::AreaGraph |
#define | ADD_TO_FILTER(f, v, b) (f = ((b) ? ((f) | (v)) : ((f) & ~(v)))) |
#define | DATETIME_FMT "MMM dd hh:mm:ss" |
#define | IMG_AREA_GRAPH ":/images/16x16/graph-area.png" |
#define | IMG_LINE_GRAPH ":/images/16x16/graph-line.png" |
#define ADD_TO_FILTER | ( | f, | |||
v, | |||||
b | ) | (f = ((b) ? ((f) | (v)) : ((f) & ~(v)))) |
Definition at line 32 of file bwgraph.cpp.
Referenced by BandwidthGraph::saveChanges(), and MessageLog::saveSettings().
#define BWGRAPH_LINE_RECV (1u<<1) |
Definition at line 22 of file bwgraph.cpp.
Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().
#define BWGRAPH_LINE_SEND (1u<<0) |
Definition at line 21 of file bwgraph.cpp.
Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().
#define DATETIME_FMT "MMM dd hh:mm:ss" |
Definition at line 35 of file bwgraph.cpp.
Referenced by BandwidthGraph::reset(), LogTreeItem::setTimestamp(), and LogTreeItem::timestamp().
#define DEFAULT_ALWAYS_ON_TOP false |
#define DEFAULT_FILTER (BWGRAPH_LINE_SEND|BWGRAPH_LINE_RECV) |
#define DEFAULT_OPACITY 100 |
#define DEFAULT_STYLE GraphFrame::AreaGraph |
#define IMG_AREA_GRAPH ":/images/16x16/graph-area.png" |
Definition at line 38 of file bwgraph.cpp.
#define IMG_LINE_GRAPH ":/images/16x16/graph-line.png" |
Definition at line 39 of file bwgraph.cpp.
#define SETTING_ALWAYS_ON_TOP "AlwaysOnTop" |
Definition at line 25 of file bwgraph.cpp.
Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().
#define SETTING_FILTER "LineFilter" |
Definition at line 23 of file bwgraph.cpp.
Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().
#define SETTING_OPACITY "Opacity" |
Definition at line 24 of file bwgraph.cpp.
Referenced by BandwidthGraph::loadSettings(), and BandwidthGraph::saveChanges().
#define SETTING_STYLE "GraphStyle" |
Definition at line 26 of file bwgraph.cpp.
Referenced by VidaliaSettings::getInterfaceStyle(), BandwidthGraph::loadSettings(), BandwidthGraph::saveChanges(), VidaliaSettings::setInterfaceStyle(), and VidaliaSettings::VidaliaSettings().