forked from blue/squawk
message bubbles, avatar rounding, roster adjusments
This commit is contained in:
parent
9ac0ca10f3
commit
8a2658e4fc
7 changed files with 158 additions and 49 deletions
|
@ -39,7 +39,11 @@ Squawk::Squawk(QWidget *parent) :
|
|||
m_ui->setupUi(this);
|
||||
m_ui->roster->setModel(&rosterModel);
|
||||
m_ui->roster->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
m_ui->roster->setColumnWidth(1, 30);
|
||||
if (QApplication::style()->styleHint(QStyle::SH_ScrollBar_Transient) == 1) {
|
||||
m_ui->roster->setColumnWidth(1, 52);
|
||||
} else {
|
||||
m_ui->roster->setColumnWidth(1, 26);
|
||||
}
|
||||
m_ui->roster->setIconSize(QSize(20, 20));
|
||||
m_ui->roster->header()->setStretchLastSection(false);
|
||||
m_ui->roster->header()->setSectionResizeMode(0, QHeaderView::Stretch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue