mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-02 21:23:08 -04:00
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:
parent
2036f379de
commit
78c71ab011
11 changed files with 186 additions and 53 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue