From de69368ebd03ccdaa012cbee3fe89ce2b3429054 Mon Sep 17 00:00:00 2001 From: cora32 Date: Sun, 22 Feb 2015 16:14:44 +0300 Subject: [PATCH] IRC-widget opacity fix. --- nesca_3.cpp | 1 + nesca_3.ui | 261 ++++++++++++++-------------------------------------- 2 files changed, 72 insertions(+), 190 deletions(-) diff --git a/nesca_3.cpp b/nesca_3.cpp index ca565cd..236a3eb 100644 --- a/nesca_3.cpp +++ b/nesca_3.cpp @@ -1299,6 +1299,7 @@ void nesca_3::ChangeDispalyMode() ui->JobModeBut->setStyleSheet("color: rgb(216, 216, 216);background-color: rgba(2, 2, 2, 0);border: 1px solid rgba(255, 255, 255, 40);"); ui->IRCModeBut->setStyleSheet("background-color: rgba(2, 2, 2, 0);border: 1px solid rgba(0, 214, 0, 40);color: rgb(0, 214, 0);"); ui->widgetJOB->setGeometry(QRect(500, 44, 500, 730)); + ui->widgetIRC->setStyleSheet("background-color:qlineargradient(spread:pad, x1:0.541, y1:0.500364, x2:0.54, y2:0, stop:0 rgba(16, 16, 16, 255), stop:1 rgba(0, 0, 0, 255));"); ui->widgetIRC->setGeometry(QRect(1, 44, 498, 730)); ui->shoutBox->setFocus(); QWidget::activateWindow(); diff --git a/nesca_3.ui b/nesca_3.ui index c88ef91..1a30e30 100644 --- a/nesca_3.ui +++ b/nesca_3.ui @@ -57,196 +57,6 @@ 800 - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - - - - 16 - 16 - 16 - - - - - 0 - 0 - 0 - - - - - - - - Qt::NoFocus @@ -3230,6 +3040,70 @@ background-color: #000000; 730 + + + + + + + 49 + 49 + 49 + + + + + + + 0 + 0 + 0 + + + + + + + + + 49 + 49 + 49 + + + + + + + 0 + 0 + 0 + + + + + + + + + 0 + 0 + 0 + + + + + + + 0 + 0 + 0 + + + + + + background-color:qlineargradient(spread:pad, x1:0.541, y1:0.500364, x2:0.54, y2:0, stop:0 rgba(16, 16, 16, 255), stop:1 rgba(0, 0, 0, 255)); @@ -3982,6 +3856,13 @@ color: rgb(71, 71, 71); :IRC raw + widget + widgetJOB + widgetIRC + IRCModeChangerBut + IRCModeBut + JobModeBut + DataflowModeBut