#pragma once #include #include #include "ui_TurtleRouterDialog.h" #include "RsAutoUpdatePage.h" class TurtleRouterDialog: public RsAutoUpdatePage, public Ui::TurtleRouterDialogForm { public: TurtleRouterDialog(QWidget *parent = NULL) ; ~TurtleRouterDialog(); // Cache for peer names. static QString getPeerName(const std::string& peer_id) ; private: void updateTunnelRequests( const std::vector > >&, const std::vector > >&, const std::vector&, const std::vector&) ; void processSettings(bool bLoad); bool m_bProcessSettings; virtual void updateDisplay() ; QTreeWidgetItem *findParentHashItem(const std::string& hash) ; std::map top_level_hashes ; QTreeWidgetItem *top_level_unknown_hashes ; QTreeWidgetItem *top_level_s_requests ; QTreeWidgetItem *top_level_t_requests ; } ;