mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-28 00:45:34 -04:00
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:
parent
90aac52257
commit
941e59f6e9
5 changed files with 314 additions and 8 deletions
27
retroshare-gui/src/gui/TrustView.h
Normal file
27
retroshare-gui/src/gui/TrustView.h
Normal 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 ;
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue