Implemented a big trust table where people can see who trusts who, and who is trusted by who. This makes trust discrepencies really easy to catch

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@805 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2008-11-15 14:29:34 +00:00
parent 90aac52257
commit 941e59f6e9
5 changed files with 314 additions and 8 deletions

View file

@ -0,0 +1,27 @@
#include "ui_TrustView.h"
class QWheelEvent ;
class TrustView: public QWidget, public Ui::TrustView
{
Q_OBJECT
public:
TrustView() ;
protected:
virtual void wheelEvent(QWheelEvent *) ;
public slots:
void update() ;
void updateZoom(int) ;
void selectCell(int,int) ;
private:
void getCellSize(int z,int& cell_width,int& cell_height) const ;
int getRowColId(const std::string& name) ;
static const int _base_cell_width = 60 ;
static const int _base_cell_height = 30 ;
};