1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge branch 'pr611'

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-11-03 23:15:31 +01:00
commit 9c8e41196b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
3 changed files with 17 additions and 6 deletions

View File

@ -397,7 +397,7 @@ QSplitter:handle{
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<layout class="QHBoxLayout" name="myProfile">
<property name="spacing">
<number>0</number>
</property>
@ -1034,7 +1034,7 @@ QSplitter:handle{
<x>0</x>
<y>0</y>
<width>284</width>
<height>401</height>
<height>399</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5"/>
@ -1757,7 +1757,7 @@ QSplitter:handle{
<x>0</x>
<y>0</y>
<width>775</width>
<height>19</height>
<height>21</height>
</rect>
</property>
</widget>

View File

@ -121,8 +121,8 @@ void Widget::init()
profilePicture = new MaskablePixmapWidget(this, QSize(40, 40), ":/img/avatar_mask.png");
profilePicture->setPixmap(QPixmap(":/img/contact_dark.png"));
profilePicture->setClickable(true);
ui->horizontalLayout_3->insertWidget(0, profilePicture);
ui->horizontalLayout_3->insertSpacing(1, 7);
ui->myProfile->insertWidget(0, profilePicture);
ui->myProfile->insertSpacing(1, 7);
ui->mainContent->setLayout(new QVBoxLayout());
ui->mainHead->setLayout(new QVBoxLayout());
@ -140,6 +140,8 @@ void Widget::init()
ui->mainHead->setStyleSheet(Style::getStylesheet(":ui/settings/mainHead.css"));
ui->mainContent->setStyleSheet(Style::getStylesheet(":ui/settings/mainContent.css"));
ui->statusHead->setStyleSheet(Style::getStylesheet(":/ui/window/statusPanel.css"));
contactListWidget = new FriendListWidget();
ui->friendList->setWidget(contactListWidget);
ui->friendList->setLayoutDirection(Qt::RightToLeft);

View File

@ -1,3 +1,12 @@
QLineEdit
{
background: none;
background-color: @mediumGrey;
color: white;
border: 0px;
border-radius: 6px;
}
#statusPanel
{
background-color: @darkGrey;