fixed a few icons and sizeHint functions. Removed unused SFListDelegate files from compilation

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-06-29 16:08:17 +00:00
parent 18df09e032
commit ebc8bb072c
38 changed files with 266 additions and 227 deletions

View file

@ -106,7 +106,13 @@ bool AppearancePage::save(QString &errmsg)
break;
case 3:
Settings->setToolButtonSize(32);
}
break;
case 4:
Settings->setToolButtonSize(64);
break;
case 5:
Settings->setToolButtonSize(128);
}
switch (ui.cmboListItemSize->currentIndex())
{
case 0:
@ -121,7 +127,13 @@ bool AppearancePage::save(QString &errmsg)
break;
case 3:
Settings->setListItemIconSize(32);
}
break;
case 4:
Settings->setListItemIconSize(64);
break;
case 5:
Settings->setListItemIconSize(128);
}
/* Set to new style */
Rshare::setStyle(ui.cmboStyle->currentText());
@ -183,7 +195,13 @@ void AppearancePage::load()
break;
case 32:
ui.cmboTollButtonsSize->setCurrentIndex(3);
}
break;
case 64:
ui.cmboTollButtonsSize->setCurrentIndex(4);
break;
case 128:
ui.cmboTollButtonsSize->setCurrentIndex(5);
}
switch (Settings->getListItemIconSize())
{
case 8:
@ -198,7 +216,13 @@ void AppearancePage::load()
break;
case 32:
ui.cmboListItemSize->setCurrentIndex(3);
}
break;
case 64:
ui.cmboListItemSize->setCurrentIndex(4);
break;
case 128:
ui.cmboListItemSize->setCurrentIndex(5);
}
ui.checkBoxStatusCompactMode->setChecked(Settings->valueFromGroup("StatusBar", "CompactMode", QVariant(false)).toBool());
ui.checkBoxHideSoundStatus->setChecked(Settings->valueFromGroup("StatusBar", "HideSound", QVariant(false)).toBool());