diff options
Diffstat (limited to 'attic/muse2-oom/muse2/muse/master/tscale.h')
-rw-r--r-- | attic/muse2-oom/muse2/muse/master/tscale.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/attic/muse2-oom/muse2/muse/master/tscale.h b/attic/muse2-oom/muse2/muse/master/tscale.h new file mode 100644 index 00000000..35fa39f2 --- /dev/null +++ b/attic/muse2-oom/muse2/muse/master/tscale.h @@ -0,0 +1,35 @@ +//========================================================= +// MusE +// Linux Music Editor +// $Id: tscale.h,v 1.1.1.1 2003/10/27 18:52:36 wschweer Exp $ +// (C) Copyright 1999 Werner Schweer (ws@seh.de) +//========================================================= + +#ifndef __TSCALE_H__ +#define __TSCALE_H__ + +#include "view.h" + +//--------------------------------------------------------- +// Tscale +//--------------------------------------------------------- + +class TScale : public View { + double curTempo; + Q_OBJECT + + virtual void viewMouseMoveEvent(QMouseEvent* event); + virtual void leaveEvent(QEvent*e); + + protected: + virtual void pdraw(QPainter&, const QRect&); + + signals: + void tempoChanged(int); + + public: + TScale(QWidget*, int); + }; + +#endif + |