Browse Source

Merge branch 'pr1275'

Conflicts:
	src/widget/form/genericchatform.cpp
pull/1332/head
Dubslow 11 years ago
parent
commit
75a0e8ac2e
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA
  1. 15
      src/widget/form/genericchatform.cpp

15
src/widget/form/genericchatform.cpp

@ -52,16 +52,15 @@ GenericChatForm::GenericChatForm(QWidget *parent) @@ -52,16 +52,15 @@ GenericChatForm::GenericChatForm(QWidget *parent)
nameLabel->setTextFormat(Qt::PlainText);
avatar = new MaskablePixmapWidget(this, QSize(40,40), ":/img/avatar_mask.png");
QHBoxLayout *headLayout = new QHBoxLayout(),
*mainFootLayout = new QHBoxLayout();
QHBoxLayout *mainFootLayout = new QHBoxLayout(),
*headLayout = new QHBoxLayout();
QVBoxLayout *mainLayout = new QVBoxLayout(),
*footButtonsSmall = new QVBoxLayout(),
*micButtonsLayout = new QVBoxLayout();
QGridLayout *buttonsLayout = new QGridLayout();
headTextLayout = new QVBoxLayout();
headTextLayout = new QVBoxLayout();
QGridLayout *buttonsLayout = new QGridLayout();
chatWidget = new ChatLog(this);
chatWidget->setBusyNotification(ChatMessage::createBusyNotification());
@ -144,10 +143,10 @@ GenericChatForm::GenericChatForm(QWidget *parent) @@ -144,10 +143,10 @@ GenericChatForm::GenericChatForm(QWidget *parent)
buttonsLayout->setVerticalSpacing(0);
buttonsLayout->setHorizontalSpacing(4);
headLayout->addWidget(avatar, Qt::AlignTop | Qt::AlignLeft);
headLayout->addWidget(avatar);
headLayout->addSpacing(5);
headLayout->addLayout(headTextLayout, Qt::AlignTop | Qt::AlignAbsolute);
headLayout->addLayout(buttonsLayout, Qt::AlignTop | Qt::AlignRight);
headLayout->addLayout(headTextLayout);
headLayout->addLayout(buttonsLayout);
headWidget->setLayout(headLayout);

Loading…
Cancel
Save