mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
style for qlineedit in status panel
This commit is contained in:
parent
2ac1a33cb5
commit
a3b95e332e
|
@ -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>
|
||||
|
|
|
@ -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());
|
||||
|
@ -139,6 +139,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);
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
#statusPanel
|
||||
QLineEdit
|
||||
{
|
||||
background: none;
|
||||
background-color: @darkGrey;
|
||||
color: #fff;
|
||||
border: 0px solid gray;
|
||||
}
|
||||
|
||||
#statusPanel
|
||||
{
|
||||
background-color: @darkGrey;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user