improved layout of server (network) and transfer config pages. Removed some useless options (enable turtle), and added some tooltips

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-05-16 13:59:26 +00:00
parent 989ca378d7
commit bcf0c9a9ed
6 changed files with 173 additions and 243 deletions

View file

@ -51,13 +51,19 @@ TransferPage::TransferPage(QWidget * parent, Qt::WindowFlags flags)
QObject::connect(ui._minPrioritized_SB,SIGNAL(valueChanged(int)),this,SLOT(updateMinPrioritized(int))) ;
QObject::connect(ui._defaultStrategy_CB,SIGNAL(activated(int)),this,SLOT(updateDefaultStrategy(int))) ;
QObject::connect(ui._diskSpaceLimit_SB,SIGNAL(valueChanged(int)),this,SLOT(updateDiskSizeLimit(int))) ;
QObject::connect(ui._max_tr_up_per_sec_SB, SIGNAL( valueChanged( int ) ), this, SLOT( updateMaxTRUpRate(int) ) );
ui._max_tr_up_per_sec_SB->setValue(rsTurtle->getMaxTRForwardRate()) ;
/* Hide platform specific features */
#ifdef Q_WS_WIN
#endif
}
void TransferPage::updateMaxTRUpRate(int b)
{
rsTurtle->setMaxTRForwardRate(b) ;
}
void TransferPage::updateDefaultStrategy(int i)
{
switch(i)