Added new class StyledElidedLabel and used it for nick name and channel label.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7757 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-12-14 17:05:43 +00:00
parent 2036f379de
commit 78c71ab011
11 changed files with 186 additions and 53 deletions

View file

@ -29,6 +29,11 @@ StyledLabel::StyledLabel(QWidget *parent)
{
}
StyledLabel::StyledLabel(const QString &text, QWidget *parent)
: QLabel(text, parent)
{
}
void StyledLabel::setFontSizeFactor(int factor)
{
QFont f = font();