diff options
Diffstat (limited to 'muse2/muse/widgets/velocity.h')
-rw-r--r-- | muse2/muse/widgets/velocity.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/muse2/muse/widgets/velocity.h b/muse2/muse/widgets/velocity.h new file mode 100644 index 00000000..6d2ca60a --- /dev/null +++ b/muse2/muse/widgets/velocity.h @@ -0,0 +1,36 @@ +//========================================================= +// MusE +// Linux Music Editor +// $Id: velocity.h,v 1.1.1.1 2003/10/27 18:54:51 wschweer Exp $ +// (C) Copyright 2001 Werner Schweer (ws@seh.de) +//========================================================= + +#ifndef __VELOCITY_H__ +#define __VELOCITY_H__ + +#include "velocitybase.h" + +//--------------------------------------------------------- +// Velocity +//--------------------------------------------------------- + +class Velocity : public VelocityBase { + int _range; + int _rateVal; + int _offsetVal; + + Q_OBJECT + + protected slots: + void accept(); + + public: + Velocity(QWidget* parent, const char* name = 0); + void setRange(int id); + int range() const { return _range; } + int rateVal() const { return _rateVal; } + int offsetVal() const { return _offsetVal; } + }; + +#endif + |