Merge pull request #149 from diizy/stable-0.4

Final UI updates
This commit is contained in:
Tobias Doerffel
2014-01-25 11:17:03 -08:00
57 changed files with 13 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 );

View File

@@ -141,7 +141,7 @@ void visualizationWidget::paintEvent( QPaintEvent * )
// and set color according to that...
if( max_level * master_output < 0.9 )
{
p.setPen( QColor( 128, 224, 128 ) );
p.setPen( QColor( 71, 253, 133 ) );
}
else if( max_level * master_output < 1.0 )
{