Fexed Icon size of the group tree

* Fixed icon size of the group tree to display icon complete.
Added for channel adminstrator clickable  to contact easy.
* Format Channel Description when contains links or emote
* Added setting for disable Emoteicon
This commit is contained in:
defnax 2018-12-25 19:14:48 +01:00
parent 590f5f6944
commit e7085eeb75
6 changed files with 54 additions and 7 deletions

View file

@ -143,7 +143,7 @@ GroupTreeWidget::GroupTreeWidget(QWidget *parent) :
/* Initialize display button */
initDisplayMenu(ui->displayButton);
ui->treeWidget->setIconSize(QSize(S*1.6,S*1.6));
ui->treeWidget->setIconSize(QSize(S*1.8,S*1.8));
}
GroupTreeWidget::~GroupTreeWidget()
@ -405,7 +405,7 @@ QTreeWidgetItem *GroupTreeWidget::addCategoryItem(const QString &name, const QIc
int S = QFontMetricsF(font).height();
item->setSizeHint(COLUMN_NAME, QSize(S*1.1, S*1.1));
item->setSizeHint(COLUMN_NAME, QSize(S*1.9, S*1.9));
item->setForeground(COLUMN_NAME, QBrush(textColorCategory()));
nameLabel->setTextColor(textColorCategory());
item->setData(COLUMN_DATA, ROLE_COLOR, GROUPTREEWIDGET_COLOR_CATEGORY);