Graphics tweaks here and there. Lots of palette adjustments, rest of the most important icons done. CPULoad widget fix to allow transparent background without glitching.

This commit is contained in:
Vesa
2014-01-25 17:38:56 +02:00
parent 84926cae4c
commit 8a508eff27
52 changed files with 8 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ cpuloadWidget::cpuloadWidget( QWidget * _parent ) :
setFixedSize( m_background.width(), m_background.height() );
m_temp = QPixmap( width(), height() );
connect( &m_updateTimer, SIGNAL( timeout() ),
this, SLOT( updateCpuLoad() ) );
@@ -66,7 +67,8 @@ void cpuloadWidget::paintEvent( QPaintEvent * )
if( m_changed == true )
{
m_changed = false;
m_temp.fill( QColor(0,0,0,0) );
QPainter p( &m_temp );
p.drawPixmap( 0, 0, m_background );