Added a darker background to the TabWidget's tab bar.

This commit is contained in:
Cyrille Bollu
2016-05-13 14:04:50 +02:00
parent 179008faa4
commit e124afabbf

View File

@@ -224,7 +224,7 @@ void TabWidget::paintEvent( QPaintEvent * pe )
p.setPen( QColor( 0, 0, 0 ) );
p.drawRect( 1, 1, width() - 3, height() - 3 );
p.drawLine( 2, m_tabheight + 2, width() - 3, m_tabheight + 2);
p.fillRect( 2, 0, width() - 3, m_tabheight + 2, bg_color.color().darker( 150 ) );
if( ! m_caption.isEmpty() )
{