#pragma once
#include <tqwidget.h>

class LevelMeter : public TQWidget
{
public:
    explicit LevelMeter( TQWidget *parent = 0 );

    void    setLevel( float level );  // 0.0 – 1.0, fast attack / slow decay
    TQSize  sizeHint() const;

protected:
    void paintEvent( TQPaintEvent * );

private:
    float m_level;
};
