mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
1fdd6d6447
Added background color for RTT stats graph Moved statistics pages to statistics folder git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
#pragma once
|
|
|
|
#include <retroshare/rsturtle.h>
|
|
#include <retroshare/rstypes.h>
|
|
#include "ui_TurtleRouterDialog.h"
|
|
#include "RsAutoUpdatePage.h"
|
|
|
|
|
|
class TurtleRouterDialog: public RsAutoUpdatePage, public Ui::TurtleRouterDialogForm
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TurtleRouterDialog(QWidget *parent = NULL) ;
|
|
~TurtleRouterDialog();
|
|
|
|
// Cache for peer names.
|
|
static QString getPeerName(const RsPeerId &peer_id) ;
|
|
|
|
private:
|
|
void updateTunnelRequests( const std::vector<std::vector<std::basic_string<char> > >&,
|
|
const std::vector<std::vector<std::basic_string<char> > >&,
|
|
const std::vector<TurtleRequestDisplayInfo >&,
|
|
const std::vector<TurtleRequestDisplayInfo >&) ;
|
|
|
|
void processSettings(bool bLoad);
|
|
bool m_bProcessSettings;
|
|
|
|
virtual void updateDisplay() ;
|
|
QTreeWidgetItem *findParentHashItem(const std::string& hash) ;
|
|
|
|
std::map<std::string,QTreeWidgetItem*> top_level_hashes ;
|
|
QTreeWidgetItem *top_level_unknown_hashes ;
|
|
QTreeWidgetItem *top_level_s_requests ;
|
|
QTreeWidgetItem *top_level_t_requests ;
|
|
|
|
} ;
|