IRC-widget opacity fix.

This commit is contained in:
cora32 2015-02-22 16:14:44 +03:00
parent 5196347746
commit de69368ebd
2 changed files with 72 additions and 190 deletions

View File

@ -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->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->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->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->widgetIRC->setGeometry(QRect(1, 44, 498, 730));
ui->shoutBox->setFocus(); ui->shoutBox->setFocus();
QWidget::activateWindow(); QWidget::activateWindow();

View File

@ -57,196 +57,6 @@
<height>800</height> <height>800</height>
</rect> </rect>
</property> </property>
<property name="palette">
<palette>
<active>
<colorrole role="Button">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Button">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Button">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="LinearGradientPattern">
<gradient startx="0.541000000000000" starty="0.500364000000000" endx="0.540000000000000" endy="0.000000000000000" type="LinearGradient" spread="PadSpread" coordinatemode="ObjectBoundingMode">
<gradientstop position="0.000000000000000">
<color alpha="255">
<red>16</red>
<green>16</green>
<blue>16</blue>
</color>
</gradientstop>
<gradientstop position="1.000000000000000">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</gradientstop>
</gradient>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="focusPolicy"> <property name="focusPolicy">
<enum>Qt::NoFocus</enum> <enum>Qt::NoFocus</enum>
</property> </property>
@ -3230,6 +3040,70 @@ background-color: #000000;</string>
<height>730</height> <height>730</height>
</rect> </rect>
</property> </property>
<property name="palette">
<palette>
<active>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>49</red>
<green>49</green>
<blue>49</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>49</red>
<green>49</green>
<blue>49</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="0">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">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));</string> <string notr="true">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));</string>
</property> </property>
@ -3982,6 +3856,13 @@ color: rgb(71, 71, 71);</string>
<string>:IRC raw</string> <string>:IRC raw</string>
</property> </property>
</widget> </widget>
<zorder>widget</zorder>
<zorder>widgetJOB</zorder>
<zorder>widgetIRC</zorder>
<zorder>IRCModeChangerBut</zorder>
<zorder>IRCModeBut</zorder>
<zorder>JobModeBut</zorder>
<zorder>DataflowModeBut</zorder>
</widget> </widget>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>