mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
ee5dcd1a8c
- removed VOIP code from main executable. Moved it into VOIP plugin (c.f next commit) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4963 b45a01b8-16f6-495d-af2f-9b41ad6348cc
33 lines
674 B
C++
33 lines
674 B
C++
#include "ui_TrustView.h"
|
|
#include <retroshare-gui/RsAutoUpdatePage.h>
|
|
|
|
class QWheelEvent ;
|
|
class QShowEvent ;
|
|
|
|
class TrustView: public RsAutoUpdatePage, public Ui::TrustView
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TrustView() ;
|
|
|
|
protected:
|
|
virtual void wheelEvent(QWheelEvent *) ;
|
|
virtual void showEvent(QShowEvent *) ;
|
|
|
|
virtual void updateDisplay() ;
|
|
public slots:
|
|
void update() ;
|
|
void updateZoom(int) ;
|
|
void selectCell(int,int) ;
|
|
void hideShowPeers(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 ;
|
|
};
|
|
|