]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
setAlpha( 255 ); for drawing PE_FrameLineEdit in order to avoid transparent line...
authorsln <sln@opencascade.com>
Tue, 16 Sep 2008 10:36:06 +0000 (10:36 +0000)
committersln <sln@opencascade.com>
Tue, 16 Sep 2008 10:36:06 +0000 (10:36 +0000)
src/Style/Style_Salome.cxx

index 63568e4c5e72050698a77f6821b78954e078f628..d8b8c44c883126d87e44911aab9b831feb9a923e 100644 (file)
@@ -1612,8 +1612,10 @@ void Style_Salome::drawPrimitive( PrimitiveElement pe, const QStyleOption* opt,
         if ( hover )
           drawHoverRect(p, opt->rect, opt->palette.color( QPalette::Window ), aRad, Style_Tools::All, true);
         else {
+          QColor light = opt->palette.color( QPalette::Base );
+          light.setAlpha( 255 );
           Style_Tools::shadowRect( p, opt->rect, aRad, LINE_GR_MARGIN, SHADOW,
-                                  Style_Tools::All, opt->palette.color( QPalette::Base ), // getColor( Style_Model::fld_light_clr ),
+                                  Style_Tools::All, light, // getColor( Style_Model::fld_light_clr ),
                                    getColor( Style_Model::fld_dark_clr ), aBrdTopCol, aBrdBotCol,
                                    getBoolValue( Style_Model::all_antialized ), false );
         }