Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

jezabelmeterwidget.h

00001 /***************************************************************************
00002                           qvumeter.h  -  description
00003                              -------------------
00004     begin                : Mon Feb 18 2002
00005     copyright            : (C) 2002 by Ken McMillan
00006     email                : mcmillan@cadence.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef JEZABELMETERWIDGET_H
00019 #define JEZABELMETERWIDGET_H
00020 
00021 #include <qwidget.h>
00022 #include <qpixmap.h>
00023 
00024 /* This is used internally by JezabelMeter. */
00025 
00026 class JezabelMeterWidget : public QWidget  {
00027    Q_OBJECT
00028 public:
00029   JezabelMeterWidget(QWidget* parent=0, const char *name = 0, int width=15, int height=100);
00030   void sVU(float level, float peak);
00031   ~JezabelMeterWidget();
00032 protected:
00033   virtual void paintEvent( QPaintEvent*);
00034 private:
00035   QSize meterSize; 
00036   QPixmap* _buffer;
00037   int oldLevel;
00038   int oldPeak;
00039   float levelState;
00040 };
00041 
00042 #endif

Generated at Sun Jan 18 20:51:22 2004 for Jezabel by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001